3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = new SplFixedArray(10); for ( $i = 0, $max = 10; $i < $max; $line[$i++] = 0 ) ; var_dump($line);
Output for git.master, git.master_jit, rfc.property-hooks
object(SplFixedArray)#1 (10) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(0) [4]=> int(0) [5]=> int(0) [6]=> int(0) [7]=> int(0) [8]=> int(0) [9]=> int(0) }

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:
67.69 ms | 405 KiB | 9 Q