3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { function foofoo($bar = null) { $Bar = new Bar(); $Bar->barbar($bar); } } class Bar { function barbar($bar = 'bar') { var_dump($bar); } } $foo = new Foo(); $foo->foofoo();
Output for 4.3.0 - 7.1.0
NULL