3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = new SplFixedArray(1); $a[0] = array(); array_push(&$a[0], 'test');
Output for 5.4.0 - 5.4.16
Fatal error: Call-time pass-by-reference has been removed in /in/hpvqM on line 5
Process exited with code 255.
Output for 5.3.28 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/KOf5G on line 5 Notice: Indirect modification of overloaded element of SplFixedArray has no effect in /in/KOf5G on line 5
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/hpvqM on line 5 Notice: Indirect modification of overloaded element of SplFixedArray has no effect in /in/hpvqM on line 5