3v4l.org

run code in 300+ PHP versions simultaneously
<?hh // strict class Foo { public function __construct() { $args = func_get_args(); foreach ($args as $i => $j) { $this->$i = $j; } } } $foo = new Foo(["a" => "b"]); var_dump($foo);

This is an error 404

There are `0` results


preferences:
139.21 ms | 1399 KiB | 7 Q