3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class c { public $i; }; $a = aray(new c,new c, new c); $a[0]->i = 1; $a[0]->i = 2; $a[0]->i = 3; $b = $a; var_dump($b);
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function aray() in /in/ND4Sl:4 Stack trace: #0 {main} thrown in /in/ND4Sl on line 4
Process exited with code 255.
Output for 5.3.21 - 5.6.21
Fatal error: Call to undefined function aray() in /in/ND4Sl on line 4
Process exited with code 255.