3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace HHVM\UserDocumentation\Inconsistencies\Intro\Examples\LVP; class Foo { function bar($baz) { $baz = 'herpderp'; // Always outputs array('herpderp') var_dump(func_get_args()); } } $f = new Foo(); $f->bar('blah');

preferences:
40.87 ms | 402 KiB | 5 Q