3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_fixed_array = New SplFixedArray(3); $test_fixed_array[0] = 0; $test_fixed_array[1] = 1; $test_fixed_array[2] = 2; $ser = serialize($test_fixed_array); $test_fixed_array_recover = unserialize($ser); var_dump($test_fixed_array_recover); var_dump($ser);
Output for git.master

Process exited with code 139.
Output for git.master_jit, rfc.property-hooks
object(SplFixedArray)#2 (3) { [0]=> int(0) [1]=> int(1) [2]=> int(2) } string(49) "O:13:"SplFixedArray":3:{i:0;i:0;i:1;i:1;i:2;i:2;}"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.1 ms | 401 KiB | 8 Q