3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class a { public function api() { } } class b extends a { public function api() { $argv = func_get_args(); return call_user_func_array( array( 'a', 'api' ), $argv ); } } $b = new b(); $b->api();