Translation update done using Pootle.
[phpmyadmin/madhuracj.git] / libraries / transformations / text_plain__longToIpv4.inc.php
blob762d52324beba9c1d93ed35a5a6643d781c358fb
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()
9 return array(
10 'info' => __('Converts an (IPv4) Internet network address into a string in Internet standard dotted format.'),
14 /**
15 * returns IPv4 address
17 * @see http://php.net/long2ip
19 function PMA_transformation_text_plain__longToIpv4($buffer, $options = array(), $meta = '')
21 if ($buffer < 0 || $buffer > 4294967295) {
22 return $buffer;
25 return long2ip($buffer);