3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class a { function __construct($a, $b) {var_dump(func_get_args());} } class b extends a {} new b(1, 2);
Output for 5.0.0 - 7.1.0
array(2) { [0]=> int(1) [1]=> int(2) }
Output for 4.3.0 - 4.4.9