3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function get_foo($argument = 'default') { return "I got argument " . $argument; } print get_foo(); print get_foo("foo"); print get_foo($bar = 'watttt');
based on 1u10u
Output for 4.3.0 - 7.2.0
I got argument defaultI got argument fooI got argument watttt