Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / transformations / text_plain__longToIpv4.inc.php
bloba6d31aad4c4eeb688ac7d25b8374c1d0c0a469b8
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 */
7 function PMA_transformation_text_plain__longToIpv4_info() {
8 return array(
9 'info' => __('Converts an (IPv4) Internet network address into a string in Internet standard dotted format.'),
13 /**
14 * returns IPv4 address
16 * @see http://php.net/long2ip
18 function PMA_transformation_text_plain__longToIpv4($buffer, $options = array(), $meta = '')
20 if ($buffer < 0 || $buffer > 4294967295) {
21 return $buffer;
24 return long2ip($buffer);