3v4l.org

run code in 300+ PHP versions simultaneously
<?php $EyfsAreScores = [ 0 => 4, 2 => [0 => 0, 5 => 2, 11 => 1], 4 => [0 => 0, 7 => 2, 11 => 1], 6 => [0 => 0, 9 => 2, 11 => 1], 8 => [0 => 0, 7 => 4, 9 => 3, 15 => 2, 21 => 1], 10 => [0 => 0, 7 => 4, 11 => 3, 17 => 2, 21 => 1], 12 => [0 => 0, 7 => 4, 13 => 3, 19 => 2, 21 => 1], 14 => [0 => 0, 15 => 4, 17 => 3, 21 => 2, 27 => 1], 16 => [0 => 0, 15 => 4, 19 => 3, 23 => 2, 27 => 1], 18 => [0 => 0, 15 => 4, 21 => 3, 25 => 2, 27 => 1], 20 => [0 => 0, 21 => 4, 23 => 3, 31 => 2, 37 => 1], 22 => [0 => 0, 21 => 4, 25 => 3, 33 => 2, 37 => 1], 24 => [0 => 0, 21 => 4, 27 => 3, 35 => 2, 37 => 1], 26 => [0 => 0, 29 => 4, 33 => 3, 45 => 2, 51 => 1], 28 => [0 => 0, 29 => 4, 35 => 3, 49 => 2, 53 => 1], 30 => [0 => 0, 29 => 4, 39 => 3, 51 => 2, 55 => 1], 32 => [0 => 0, 39 => 4, 45 => 3, 55 => 2, 57 => 1], 34 => [0 => 0, 39 => 4, 55 => 3, 63 => 2, 67 => 1], 36 => [0 => 1, 53 => 4, 59 => 3, 69 => 2], 37 => [0 => 2, 63 => 4, 65 => 3], 38 => [0 => 3, 69 => 4] ]; for ($i = 2; $i < 37; $i = $i + 2) { $EyfsAreScores[$i-1] = $EyfsAreScores[$i]; } $EyfsStep = $EyfsAreScores[20]; var_dump($EyfsStep);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [0]=> int(0) [21]=> int(4) [23]=> int(3) [31]=> int(2) [37]=> int(1) }

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