3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $b = &$a; $a = array('yes'); $a[] = $a; var_dump($a);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.340.0060.03712.01
5.4.320.0100.03412.50
5.4.310.0070.04012.50
5.4.300.0050.04112.50
5.4.290.0050.04312.50
5.4.280.0110.04612.39
5.4.270.0080.04912.39
5.4.260.0090.04112.39
5.4.250.0070.04612.39
5.4.240.0130.05212.39
5.4.230.0070.03612.38
5.4.220.0030.03912.38
5.4.210.0050.03812.38
5.4.200.0080.04112.38
5.4.190.0100.04212.38
5.4.180.0070.05112.38
5.4.170.0100.04112.39
5.4.160.0100.04612.38
5.4.150.0060.04412.38
5.4.140.0100.04812.07
5.4.130.0050.04912.05
5.4.120.0060.03712.02
5.4.110.0060.05012.01
5.4.100.0100.04512.01
5.4.90.0090.06512.02
5.4.80.0090.04512.01
5.4.70.0100.03612.01
5.4.60.0040.04312.01
5.4.50.0120.03812.00
5.4.40.0060.04111.99
5.4.30.0060.03911.99
5.4.20.0060.03911.99
5.4.10.0110.05011.99
5.4.00.0080.04611.48
5.3.290.0050.04612.80
5.3.280.0090.03712.71
5.3.270.0060.04112.72
5.3.260.0050.04212.72
5.3.250.0120.04812.72
5.3.240.0140.05212.72
5.3.230.0090.04512.71
5.3.220.0070.04212.68
5.3.210.0050.04512.68
5.3.200.0080.05112.68
5.3.190.0070.04812.68
5.3.180.0090.05012.67
5.3.170.0050.05212.67
5.3.160.0060.04512.67
5.3.150.0110.04612.67
5.3.140.0090.04612.66
5.3.130.0080.04712.65
5.3.120.0080.04812.66
5.3.110.0100.04012.66
5.3.100.0070.03912.12
5.3.90.0080.04312.09
5.3.80.0080.04712.07
5.3.70.0100.05612.07
5.3.60.0090.04512.06
5.3.50.0110.04012.00
5.3.40.0120.04612.00
5.3.30.0150.04911.95
5.3.20.0080.05611.73
5.3.10.0090.04911.70
5.3.00.0120.05211.68
5.2.170.0070.0559.18
5.2.160.0060.0319.18
5.2.150.0060.0369.18
5.2.140.0050.0409.18
5.2.130.0040.0429.14
5.2.120.0070.0399.13
5.2.110.0110.0289.15
5.2.100.0070.0429.14
5.2.90.0090.0459.14
5.2.80.0070.0399.14
5.2.70.0090.0389.14
5.2.60.0060.0419.08
5.2.50.0050.0429.06
5.2.40.0120.0349.03
5.2.30.0060.0399.01
5.2.20.0060.0349.00
5.2.10.0050.0328.92
5.2.00.0070.0338.78
5.1.60.0020.0268.07
5.1.50.0050.0308.06
5.1.40.0040.0358.05
5.1.30.0070.0398.40
5.1.20.0050.0318.42
5.1.10.0030.0328.14
5.1.00.0090.0388.14
5.0.50.0030.0356.63
5.0.40.0030.0336.48
5.0.30.0060.0476.29
5.0.20.0080.0256.26
5.0.10.0060.0266.23
5.0.00.0070.0406.23
4.4.90.0130.0664.78
4.4.80.0040.0234.76
4.4.70.0040.0204.75
4.4.60.0020.0224.75
4.4.50.0010.0234.77
4.4.40.0030.0334.71
4.4.30.0050.0234.76
4.4.20.0060.0224.85
4.4.10.0100.0194.85
4.4.00.0040.0384.76
4.3.110.0040.0254.67
4.3.100.0060.0244.67
4.3.90.0110.0194.63
4.3.80.0030.0394.58
4.3.70.0060.0204.63
4.3.60.0020.0234.63
4.3.50.0030.0234.63
4.3.40.0040.0374.54
4.3.30.0020.0233.28
4.3.20.0070.0273.26
4.3.10.0130.0383.22
4.3.00.0200.0236.88

preferences:
144.88 ms | 1394 KiB | 7 Q