3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on NIcn9
Output for 5.6.0 - 7.3.0alpha1
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;}"