Do not output unescaped chars to generated configuration file.
[phpmyadmin/madhuracj.git] / libraries / transformations / text_plain__longToIpv4.inc.php
blob3c31686bc5d31c6b087d4aaedf8e66596d4b739f
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 * @version $Id: text_plain__dateformat.inc.php 10239 2007-04-01 09:51:41Z cybot_tm $
6 */
8 /**
9 * returns IPv4 address
11 * @see http://php.net/long2ip
13 function PMA_transformation_text_plain__longToIpv4($buffer, $options = array(), $meta = '')
15 if ($buffer < 0 || $buffer > 4294967295) {
16 return $buffer;
19 return long2ip($buffer);