3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('dsiplay_errors', 'On'); error_reporting(-1); echo 'realpath: '.realpath("/tmp/\0/tmp/")."\n";
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Warning: realpath() expects parameter 1 to be a valid path, string given in /in/0hHY7 on line 5 realpath:
Output for 5.3.4 - 5.3.29
realpath:
Output for 4.3.0 - 5.3.3
realpath: /tmp