3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new \SplFixedArray(2); $arr[0] = 'raoul'; $ser = serialize($arr); $unser = unserialize($ser); var_dump($unser, $unser[0]);
Output for git.master

Process exited with code 139.
Output for git.master_jit, rfc.property-hooks
object(SplFixedArray)#2 (2) { [0]=> string(5) "raoul" [1]=> NULL } string(5) "raoul"

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:
193.49 ms | 406 KiB | 5 Q