3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace A\B\C; const E_ERROR = 45; function strlen($str) { return \strlen($str) - 1; } eho strlen('abx'); ?>
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected 'strlen' (T_STRING) in /in/X0Vv3 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/X0Vv3 on line 12
Process exited with code 255.