3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo check(); function check(&$ok) { return "of"; } ?>
Output for 7.1.0 - 7.3.0rc4
Fatal error: Uncaught ArgumentCountError: Too few arguments to function check(), 0 passed in /in/iFIjg on line 3 and exactly 1 expected in /in/iFIjg:5 Stack trace: #0 /in/iFIjg(3): check() #1 {main} thrown in /in/iFIjg on line 5
Process exited with code 255.
Output for 5.1.0 - 7.0.20
Warning: Missing argument 1 for check(), called in /in/iFIjg on line 3 and defined in /in/iFIjg on line 5 of
Output for 4.3.0 - 5.0.5
Warning: Missing argument 1 for check() in /in/iFIjg on line 5 of