3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo1($stream = STDOUT) { //do nothing } echo "before\n"; foo1(); echo "after\n";
Output for 5.2.3 - 7.2.6
before after
Output for 4.3.0 - 5.2.2
before Notice: Use of undefined constant STDOUT - assumed 'STDOUT' in /in/TYTX0 on line 3 after