Files
phpmyadmin/libraries/transformations/text_plain__longToIpv4.inc.php
2009-08-22 11:22:50 +00:00

23 lines
385 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @package phpMyAdmin-Transformation
* @version $Id$
*/
/**
* returns IPv4 address
*
* @see http://php.net/long2ip
*/
function PMA_transformation_text_plain__longToIpv4($buffer, $options = array(), $meta = '')
{
if ($buffer < 0 || $buffer > 4294967295) {
return $buffer;
}
return long2ip($buffer);
}
?>