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); file_put_contents("test.txt", $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) } Warning: file_put_contents(): open_basedir restriction in effect. File(test.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/NIcn9 on line 14 Warning: file_put_contents(test.txt): Failed to open stream: Operation not permitted in /in/NIcn9 on line 14

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:
35.65 ms | 401 KiB | 8 Q