3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ramErrors = []; foreach (range(1,100) as $foo ) { $ramErrors[$foo] = ($ramErrors[$foo] ?? 0) + 1; }

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.0060.01318.18
8.3.50.0080.00618.08
8.3.40.0090.00618.62
8.3.30.0110.00418.45
8.3.20.0040.00419.10
8.3.10.0030.00721.77
8.3.00.0000.00823.54
8.2.180.0100.00618.38
8.2.170.0080.00822.96
8.2.160.0100.00319.50
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00622.26
8.2.120.0040.00426.35
8.2.110.0110.00719.27
8.2.100.0040.00717.71
8.2.90.0040.00417.97
8.2.80.0040.00417.97
8.2.70.0080.00017.93
8.2.60.0000.00718.05
8.2.50.0050.00318.10
8.2.40.0080.00019.44
8.2.30.0040.00419.30
8.2.20.0030.00618.05
8.2.10.0000.00718.18
8.2.00.0070.00019.34
8.1.280.0150.00625.92
8.1.270.0060.00320.29
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0040.00723.80
8.1.230.0000.01120.96
8.1.220.0040.00417.76
8.1.210.0040.00418.97
8.1.200.0000.00917.25
8.1.190.0060.00617.35
8.1.180.0050.00318.10
8.1.170.0090.00018.95
8.1.160.0000.00818.89
8.1.150.0000.00718.76
8.1.140.0050.00317.61
8.1.130.0040.00419.01
8.1.120.0050.00217.46
8.1.110.0000.00817.47
8.1.100.0080.00017.42
8.1.90.0040.00417.39
8.1.80.0000.00717.49
8.1.70.0070.00017.41
8.1.60.0000.00817.54
8.1.50.0050.00317.48
8.1.40.0040.00417.45
8.1.30.0040.00417.66
8.1.20.0040.00417.61
8.1.10.0000.00817.49
8.1.00.0020.00517.34
8.0.300.0040.00420.07
8.0.290.0070.00016.75
8.0.280.0040.00418.35
8.0.270.0000.00717.24
8.0.260.0070.00017.05
8.0.250.0030.00316.93
8.0.240.0030.00316.85
8.0.230.0040.00416.93
8.0.220.0000.00716.87
8.0.210.0030.00516.80
8.0.200.0060.00316.96
8.0.190.0040.00416.94
8.0.180.0030.00316.87
8.0.170.0060.00316.87
8.0.160.0030.00316.87
8.0.150.0000.00716.93
8.0.140.0040.00416.77
8.0.130.0070.00013.31
8.0.120.0040.00416.85
8.0.110.0000.00816.92
8.0.100.0000.00716.78
8.0.90.0000.00716.67
8.0.80.0090.00616.86
8.0.70.0050.00316.95
8.0.60.0030.00516.91
8.0.50.0000.00816.84
8.0.30.0090.00917.05
8.0.20.0100.01117.40
8.0.10.0080.00016.93
8.0.00.0060.01116.83
7.4.330.0000.00415.55
7.4.320.0070.00016.50
7.4.300.0030.00316.55
7.4.290.0080.00016.43
7.4.280.0040.00416.48
7.4.270.0040.00416.50
7.4.260.0000.00716.63
7.4.250.0070.00016.48
7.4.240.0040.00416.43
7.4.230.0000.00716.35
7.4.220.0080.00016.31
7.4.210.0090.00516.62
7.4.200.0000.00716.53
7.4.160.0080.01016.42
7.4.140.0090.00917.86
7.4.130.0140.00916.41
7.4.120.0120.00816.51
7.4.110.0130.00616.43
7.4.100.0120.00916.49
7.4.90.0120.00616.64
7.4.80.0100.00719.39
7.4.70.0140.00816.48
7.4.60.0060.01016.47
7.4.50.0030.01016.66
7.4.40.0130.01316.26
7.4.10.0030.01515.14
7.4.00.0030.01514.96
7.3.330.0000.00513.16
7.3.320.0000.00513.16
7.3.310.0000.00716.15
7.3.300.0030.00316.16
7.3.290.0030.00316.31
7.3.280.0060.01016.37
7.3.260.0110.00716.49
7.3.240.0110.00716.43
7.3.230.0060.00916.55
7.3.210.0060.01316.46
7.3.200.0030.01616.45
7.3.190.0130.00316.59
7.3.180.0000.01516.60
7.3.170.0100.00616.53
7.3.160.0100.01016.31
7.3.130.0000.01514.77
7.3.120.0100.00714.79
7.3.110.0060.01114.70
7.3.100.0060.00814.71
7.3.90.0030.01014.66
7.3.80.0070.00414.83
7.3.70.0070.00814.84
7.3.60.0000.01414.78
7.3.50.0060.00814.64
7.3.40.0050.00914.81
7.3.30.0050.00514.68
7.3.20.0050.00916.43
7.3.10.0050.00716.55
7.3.00.0030.00816.52
7.2.330.0100.00716.62
7.2.320.0070.01016.75
7.2.310.0130.01016.51
7.2.300.0170.00316.54
7.2.290.0030.02016.75
7.2.260.0060.01315.14
7.2.250.0050.01014.97
7.2.240.0080.01014.86
7.2.230.0040.01215.15
7.2.220.0060.00915.09
7.2.210.0080.00614.95
7.2.200.0050.00915.12
7.2.190.0030.00914.83
7.2.180.0050.00815.16
7.2.170.0040.00815.10
7.2.160.0110.00315.15
7.2.150.0060.00916.86
7.2.140.0030.01016.81
7.2.130.0030.00616.72
7.2.120.0100.00316.90
7.2.110.0090.00616.72
7.2.100.0000.01216.96
7.2.90.0070.01116.73
7.2.80.0080.00816.87
7.2.70.0090.01015.62
7.2.60.0040.01215.60
7.2.50.0780.00915.62
7.2.40.0600.00515.73
7.2.30.0530.01115.63
7.2.20.0620.00515.83
7.2.10.0520.00816.00
7.2.00.0520.01015.85
7.1.330.0060.00615.86
7.1.320.0050.00815.76
7.1.310.0030.01115.73
7.1.300.0050.00515.78
7.1.290.0040.00815.47
7.1.280.0030.01015.81
7.1.270.0050.00715.81
7.1.260.0070.00715.71
7.1.250.0000.00815.86
7.1.240.0090.00615.82
7.1.230.0060.00615.61
7.1.220.0030.01015.62
7.1.210.0100.00715.51
7.1.200.0070.00715.77
7.1.190.0040.01115.84
7.1.180.0060.00615.66
7.1.170.0650.00914.75
7.1.160.0600.00614.55
7.1.150.0650.00314.86
7.1.140.0670.00514.65
7.1.130.0820.01014.66
7.1.120.0550.00814.60
7.1.110.0640.00914.67
7.1.100.0520.00914.75
7.1.90.0810.00614.68
7.1.80.0850.00914.87
7.1.70.0720.01014.64
7.1.60.0770.01123.65
7.1.50.0940.01323.58
7.1.40.1220.00923.87
7.1.30.1200.01223.50
7.1.20.1260.01123.64
7.1.10.1190.00814.71
7.1.00.1010.00914.60
7.0.330.0040.01215.29
7.0.320.0090.00315.10
7.0.310.0000.01615.49
7.0.300.0070.00715.59
7.0.290.0060.00315.38
7.0.280.0090.00015.20
7.0.270.0030.01015.62
7.0.260.0040.01115.55
7.0.250.0030.01315.49
7.0.240.0030.01015.18
7.0.230.0070.00715.04
7.0.220.0060.00915.05
7.0.210.0070.00715.27
7.0.200.0070.00715.49
7.0.190.0070.00715.47
7.0.180.0040.01115.38
7.0.170.0040.00715.17
7.0.160.0060.00615.36
7.0.150.0080.00415.16
7.0.140.0090.00315.27
7.0.130.0070.01315.57
7.0.120.0100.00715.27
7.0.110.0090.00915.37
7.0.100.0100.00315.41
7.0.90.0070.00715.25
7.0.80.0090.00615.18
7.0.70.0130.00315.52
7.0.60.0030.01515.43
7.0.50.0100.00015.56
7.0.40.0070.00713.58
7.0.30.0030.00913.28
7.0.20.0100.00313.45
7.0.10.0030.01413.19
7.0.00.0160.00013.58
5.6.400.0070.00714.00
5.6.390.0060.00914.43
5.6.380.0120.00314.39
5.6.370.0060.00914.38
5.6.360.0100.00613.97
5.6.350.0060.00314.32
5.6.340.0060.00614.24
5.6.330.0060.00314.33
5.6.320.0040.00414.03
5.6.310.0040.00813.76
5.6.300.0070.00714.30
5.6.290.0040.01113.88
5.6.280.0040.01214.20
5.6.270.0030.01414.20
5.6.260.0030.00814.11
5.6.250.0070.00714.14
5.6.240.0040.00814.08
5.6.230.0060.01214.08
5.6.220.0060.01014.14
5.6.210.0070.01113.83
5.6.200.0000.00814.13
5.6.190.0040.00714.41
5.6.180.0030.00514.04
5.6.170.0030.00713.99
5.6.160.0120.00613.98
5.6.150.0100.00314.24
5.6.140.0090.00614.30
5.6.130.0030.01013.71
5.6.120.0060.01214.02
5.6.110.0070.00314.14
5.6.100.0090.00613.95
5.6.90.0070.00713.80
5.6.80.0070.00713.92
5.6.70.0030.01213.84
5.6.60.0070.00713.69
5.6.50.0060.00614.04
5.6.40.0120.00313.77
5.6.30.0030.00813.80
5.6.20.0040.00713.86
5.6.10.0100.00313.91
5.6.00.0120.00014.18

preferences:
66.2 ms | 400 KiB | 5 Q