3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test() { echo "this is a test function\n"; } function testParam($param = "test with param") { echo "this is a test function.. " . $param . "\n"; } test(); testParam(); testParam('Good test');
based on Kvm9p
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
this is a test function this is a test function.. test with param this is a test function.. Good test