3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test() { foo(); } function foo() { echo 'testing...'.PHP_EOL; } test();
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
testing...
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/79X10 on line 9 testing...PHP_EOL