3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color=array('green','yellow','blue'); ?>

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)
8.3.60.0070.00718.43
8.3.50.0070.00921.95
8.3.40.0120.00318.71
8.3.30.0130.00018.93
8.3.20.0040.00420.16
8.3.10.0000.00923.66
8.3.00.0070.00019.05
8.2.180.0070.00718.04
8.2.170.0120.00322.96
8.2.160.0130.00720.35
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0140.00420.86
8.2.110.0070.01022.25
8.2.100.0040.00817.72
8.2.90.0040.00419.14
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0090.00317.93
8.2.50.0030.00618.07
8.2.40.0080.00019.72
8.2.30.0040.00418.04
8.2.20.0000.00717.66
8.2.10.0000.00718.05
8.2.00.0050.00217.52
8.1.280.0030.01025.92
8.1.270.0050.00323.96
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00323.91
8.1.230.0040.00819.17
8.1.220.0090.00017.74
8.1.210.0000.00818.77
8.1.200.0110.00017.11
8.1.190.0080.00017.10
8.1.180.0090.00018.10
8.1.170.0040.00418.70
8.1.160.0050.00221.91
8.1.150.0060.00318.53
8.1.140.0000.00817.42
8.1.130.0080.00017.73
8.1.120.0030.00317.35
8.1.110.0070.00017.35
8.1.100.0000.00717.41
8.1.90.0040.00417.37
8.1.80.0000.00717.40
8.1.70.0030.00317.30
8.1.60.0080.00017.42
8.1.50.0040.00417.40
8.1.40.0040.00417.47
8.1.30.0000.00717.60
8.1.20.0000.00817.57
8.1.10.0000.00817.45
8.1.00.0030.00617.28
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0000.00718.42
8.0.270.0000.00717.06
8.0.260.0060.00017.23
8.0.250.0040.00416.86
8.0.240.0030.00716.84
8.0.230.0030.00316.85
8.0.220.0040.00416.69
8.0.210.0080.00016.73
8.0.200.0050.00216.92
8.0.190.0000.00716.94
8.0.180.0000.00716.82
8.0.170.0050.00316.86
8.0.160.0000.00716.91
8.0.150.0050.00316.67
8.0.140.0030.00516.79
8.0.130.0000.00613.34
8.0.120.0000.00816.76
8.0.110.0000.00716.71
8.0.100.0040.00416.77
8.0.90.0030.00316.71
8.0.80.0060.00916.77
8.0.70.0080.00016.72
8.0.60.0000.00716.73
8.0.50.0030.00516.65
8.0.30.0100.00916.97
8.0.20.0110.00817.40
8.0.10.0030.00516.82
8.0.00.0060.01116.70
7.4.330.0030.00315.01
7.4.320.0030.00316.48
7.4.300.0000.00616.43
7.4.290.0000.00716.47
7.4.280.0000.00716.42
7.4.270.0030.00316.42
7.4.260.0000.00816.43
7.4.250.0000.00716.54
7.4.240.0050.00216.51
7.4.230.0030.00316.46
7.4.220.0030.01416.59
7.4.210.0040.01016.45
7.4.200.0020.00516.33
7.4.190.0000.00716.57
7.4.160.0130.00316.27
7.4.150.0100.00717.40
7.4.140.0130.00817.86
7.4.130.0090.00716.40
7.4.120.0060.01416.35
7.4.110.0030.01416.54
7.4.100.0120.00616.39
7.4.90.0130.00316.49
7.4.80.0080.00819.39
7.4.70.0070.01316.41
7.4.60.0130.00416.35
7.4.50.0080.00016.38
7.4.40.0070.01016.47
7.4.30.0080.00816.22
7.4.00.0110.00314.95
7.3.330.0000.00512.87
7.3.320.0000.00513.06
7.3.310.0030.00316.13
7.3.300.0030.00316.18
7.3.290.0030.01416.18
7.3.280.0100.00916.15
7.3.270.0100.00717.40
7.3.260.0080.00816.23
7.3.250.0100.00916.21
7.3.240.0170.00016.07
7.3.230.0130.00316.39
7.3.210.0130.01016.11
7.3.200.0070.01016.08
7.3.190.0110.00716.07
7.3.180.0120.01016.08
7.3.170.0100.00716.27
7.3.160.0150.00016.19
7.3.120.0000.01214.79
7.2.330.0100.01016.44
7.2.320.0130.00416.23
7.2.310.0060.01616.60
7.2.300.0130.01016.47
7.2.290.0020.01416.32
7.2.60.0030.01316.29
7.2.00.0000.01319.15
7.1.200.0080.00615.29
7.1.100.0090.00917.61
7.1.70.0060.00316.96
7.1.60.0100.01319.46
7.1.50.0040.01816.76
7.1.00.0100.07022.33
7.0.200.3230.00716.33
7.0.140.0000.07721.95
7.0.60.0100.06721.71
7.0.50.0030.04017.78
7.0.40.0030.08020.02
7.0.30.0300.09020.12
7.0.20.0330.05020.00
7.0.10.0200.04320.35
7.0.00.0070.07320.30
5.6.280.0000.07720.98
5.6.210.0200.06720.55
5.6.200.0070.04318.22
5.6.190.0130.07020.43
5.6.180.4100.04020.37
5.6.170.0270.07720.41
5.6.160.0100.05320.41
5.6.150.0070.08018.18
5.6.140.0170.07318.16
5.6.130.0100.06318.15
5.6.120.0000.04320.89
5.6.110.0070.03720.97
5.6.100.0070.04721.07
5.6.90.0130.07721.02
5.6.80.0000.04020.37
5.5.350.0270.07720.46
5.5.340.0070.08318.02
5.5.330.0100.05320.19
5.5.320.0030.07720.17
5.5.310.0300.06320.18
5.5.300.0000.04717.87
5.5.290.0070.04317.90
5.5.280.0030.05720.88
5.5.270.0130.08020.79
5.5.260.0000.04720.75
5.5.250.0270.07020.45
5.5.240.0000.06720.07
5.4.450.0670.06719.61
5.4.440.0870.06019.45
5.4.430.0800.05719.31
5.4.420.0630.00019.42
5.4.410.0100.06018.94
5.4.400.0230.06318.58
5.4.390.0400.05318.72
5.4.380.0270.04718.77
5.4.370.0130.03718.68
5.4.360.0030.04718.75
5.4.350.0030.03911.97
5.4.340.0060.03611.97
5.4.320.0040.03712.45
5.4.310.0060.03712.45
5.4.300.0070.03412.46
5.4.290.0110.04912.45
5.4.280.0060.03712.35
5.4.270.0050.03812.34
5.4.260.0090.04812.34
5.4.250.0080.04812.34
5.4.240.0060.04312.35
5.4.230.0060.04212.34
5.4.220.0060.04512.34
5.4.210.0080.04512.34
5.4.200.0050.04812.34
5.4.190.0080.04212.33
5.4.180.0080.04012.33
5.4.170.0060.03812.35
5.4.160.0080.03512.34
5.4.150.0070.03512.34
5.4.140.0080.03812.02
5.4.130.0060.04012.01
5.4.120.0070.04311.97
5.4.110.0070.04611.96
5.4.100.0080.04211.96
5.4.90.0100.04211.97
5.4.80.0090.04411.96
5.4.70.0070.04611.96
5.4.60.0080.04911.96
5.4.50.0080.04511.96
5.4.40.0080.04211.95
5.4.30.0080.04011.95
5.4.20.0100.04111.95
5.4.10.0070.04011.95
5.4.00.0080.04111.44
5.3.290.0040.04012.80
5.3.280.0090.04112.71
5.3.270.0090.05112.72
5.3.260.0100.05112.72
5.3.250.0080.04212.72
5.3.240.0050.04612.72
5.3.230.0090.04412.71
5.3.220.0070.04412.68
5.3.210.0100.04212.68
5.3.200.0090.04312.68
5.3.190.0080.04212.68
5.3.180.0080.04712.67
5.3.170.0090.04512.67
5.3.160.0090.04212.67
5.3.150.0110.03912.67
5.3.140.0090.04112.66
5.3.130.0070.04412.66
5.3.120.0090.04712.66
5.3.110.0090.05312.66
5.3.100.0100.05312.12
5.3.90.0080.04712.08
5.3.80.0060.04312.08
5.3.70.0100.04512.07
5.3.60.0080.04212.06
5.3.50.0080.04212.00
5.3.40.0070.04312.00
5.3.30.0070.03511.94
5.3.20.0050.03811.72
5.3.10.0100.03311.69
5.3.00.0080.04211.68

preferences:
49.2 ms | 400 KiB | 5 Q