3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a['foo'][][][] = 'bar'; 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.350.0060.03811.98
5.4.340.0050.04111.98
5.4.320.0070.04012.47
5.4.310.0110.04112.46
5.4.300.0070.03812.47
5.4.290.0070.04312.46
5.4.280.0050.04512.36
5.4.270.0110.03812.36
5.4.260.0110.03512.36
5.4.250.0070.03712.36
5.4.240.0060.03712.36
5.4.230.0040.04012.35
5.4.220.0090.04812.35
5.4.210.0060.03712.35
5.4.200.0040.04212.35
5.4.190.0090.04212.34
5.4.180.0090.04112.35
5.4.170.0060.04212.36
5.4.160.0080.03612.36
5.4.150.0050.04012.35
5.4.140.0080.04012.04
5.4.130.0060.04112.02
5.4.120.0050.04011.98
5.4.110.0090.03811.98
5.4.100.0090.04311.98
5.4.90.0100.04911.98
5.4.80.0110.04811.98
5.4.70.0110.04611.98
5.4.60.0100.06011.98
5.4.50.0100.07111.97
5.4.40.0150.09311.96
5.4.30.0130.07711.96
5.4.20.0190.08411.96
5.4.10.0170.08411.96
5.4.00.0110.05711.46
5.3.290.0090.04512.80
5.3.280.0090.04312.71
5.3.270.0080.04712.73
5.3.260.0090.04312.72
5.3.250.0120.03712.72
5.3.240.0080.04012.72
5.3.230.0110.04312.71
5.3.220.0070.04212.68
5.3.210.0090.05512.68
5.3.200.0080.04012.68
5.3.190.0070.04612.68
5.3.180.0110.04112.67
5.3.170.0140.04712.67
5.3.160.0100.04112.67
5.3.150.0110.05312.67
5.3.140.0060.06112.66
5.3.130.0080.05712.66
5.3.120.0090.06112.66
5.3.110.0090.05412.65
5.3.100.0090.06012.12
5.3.90.0110.04112.09
5.3.80.0090.04112.08
5.3.70.0050.04512.08
5.3.60.0090.05512.07
5.3.50.0130.04912.00
5.3.40.0100.04112.00
5.3.30.0060.04811.95
5.3.20.0130.05111.73
5.3.10.0110.04911.70
5.3.00.0060.04011.69
5.2.170.0040.0339.18
5.2.160.0060.0339.19
5.2.150.0070.0329.18
5.2.140.0040.0369.18
5.2.130.0050.0359.14
5.2.120.0050.0379.14
5.2.110.0090.0339.15
5.2.100.0070.0319.14
5.2.90.0080.0399.14
5.2.80.0050.0429.14
5.2.70.0080.0389.14
5.2.60.0080.0409.10
5.2.50.0100.0379.06
5.2.40.0050.0389.04
5.2.30.0070.0359.01
5.2.20.0020.0329.01
5.2.10.0070.0298.94
5.2.00.0040.0348.78
5.1.60.0050.0328.07
5.1.50.0090.0268.07
5.1.40.0070.0298.05
5.1.30.0060.0328.39
5.1.20.0050.0338.42
5.1.10.0080.0318.14
5.1.00.0080.0328.15
5.0.50.0040.0326.62
5.0.40.0070.0256.48
5.0.30.0090.0376.29
5.0.20.0030.0266.27
5.0.10.0030.0296.24
5.0.00.0040.0366.23
4.4.90.0060.0194.78
4.4.80.0070.0344.75
4.4.70.0080.0224.76
4.4.60.0050.0194.75
4.4.50.0040.0214.77
4.4.40.0050.0314.71
4.4.30.0070.0144.76
4.4.20.0020.0204.84
4.4.10.0030.0174.85
4.4.00.0030.0294.76
4.3.110.0050.0154.67
4.3.100.0070.0134.67
4.3.90.0030.0194.64
4.3.80.0040.0284.59
4.3.70.0050.0174.63
4.3.60.0040.0194.63
4.3.50.0060.0184.63
4.3.40.0040.0294.54
4.3.30.0060.0203.29
4.3.20.0020.0213.26
4.3.10.0060.0273.22
4.3.00.0000.0236.77

preferences:
142.72 ms | 1394 KiB | 7 Q