3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = new \SplFixedArray(10); $refl = new \ReflectionObject($obj); $props = $refl->getProperties(); print 'props'; foreach($props as $prop) print 'name: ' . $prop->name;
Output for 5.3.0 - 5.3.29, 5.4.1 - 7.1.0
props
Output for 5.4.0

Process exited with code 139.
Output for 5.0.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 3 Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 4 Fatal error: Class 'SplFixedArray' not found in /in/eQkeE on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 3 Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 4 Fatal error: Cannot instantiate non-existent class: splfixedarray in /in/eQkeE on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 3 Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/eQkeE on line 4 Fatal error: Cannot instantiate non-existent class: splfixedarray in /in/eQkeE on line 3