3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $long = sprintf('%u', ip2long("128.0.0.1")); echo long2ip($long) . ", $long "\n";
Output for 5.4.0 - 5.5.1
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting ',' or ';' in /in/V8DHI on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting ',' or ';' in /in/V8DHI on line 3
Process exited with code 255.