3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); $counter = 0; for ($i=0; $i < 1000000; $i++) { $counter++; } echo 'Executime: ' . round(microtime(true) - $start, 4) . ' seconds.';

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)
7.4.10.0090.03514.45
7.4.00.0060.03914.92
7.3.130.0060.04214.84
7.3.120.0000.04715.09
7.3.110.0070.03014.96
7.3.100.0130.02314.84
7.3.90.0130.03214.64
7.3.80.0000.03415.13
7.3.70.0100.02714.73
7.3.60.0100.02914.83
7.3.50.0070.02714.80
7.3.40.0060.02314.92
7.3.30.0040.02814.88
7.3.20.0070.03216.67
7.3.10.0030.03216.69
7.3.00.0070.03016.80
7.2.260.0030.04715.07
7.2.250.0070.03415.27
7.2.240.0030.03014.97
7.2.230.0100.03015.04
7.2.220.0090.02515.14
7.2.210.0000.03714.98
7.2.200.0030.03514.86
7.2.190.0000.03715.02
7.2.180.0070.02515.24
7.2.170.0030.02715.07
7.2.160.0130.02314.96
7.2.150.0070.02617.06
7.2.140.0040.02817.03
7.2.130.0020.03316.98
7.2.120.0070.03516.87
7.2.110.0070.02816.94
7.2.100.0080.03016.96
7.2.90.0110.02516.94
7.2.80.0060.03117.07
7.2.70.0060.02716.91
7.2.60.0030.03416.88
7.2.50.0080.02916.75
7.2.40.0030.03316.87
7.2.30.0050.03417.05
7.2.20.0100.02617.03
7.2.10.0030.03616.93
7.2.00.0030.03217.74
7.1.330.0030.04815.56
7.1.320.0060.05215.77
7.1.310.0130.03916.04
7.1.300.0100.04215.64
7.1.290.0070.04515.75
7.1.280.0000.04715.94
7.1.270.0040.04315.45
7.1.260.0030.04615.84
7.1.250.0020.04815.73
7.1.240.0030.05415.84
7.1.230.0030.04615.68
7.1.220.0030.04715.89
7.1.210.0030.04715.63
7.1.200.0070.04515.42
7.1.190.0100.04415.91
7.1.180.0000.05115.90
7.1.170.0030.04415.79
7.1.160.0070.04615.75
7.1.150.0000.05515.69
7.1.140.0070.04515.87
7.1.130.0070.04915.77
7.1.120.0030.05016.00
7.1.110.0000.04615.69
7.1.100.0030.05115.96
7.1.90.0030.04515.66
7.1.80.0070.04215.93
7.1.70.0050.03716.62
7.1.60.0080.04217.73
7.1.50.0090.03916.15
7.1.40.0030.04615.50
7.1.30.0070.04615.77
7.1.20.0090.04415.69
7.1.10.0030.04615.81
7.1.00.0050.08319.03
7.0.330.0000.05315.47
7.0.320.0030.05315.27
7.0.310.0030.04815.24
7.0.300.0030.05115.42
7.0.290.0100.04915.54
7.0.280.0100.04315.53
7.0.270.0000.04715.45
7.0.260.0040.04215.47
7.0.250.0030.05915.43
7.0.240.0100.04215.56
7.0.230.0070.04415.37
7.0.220.0030.05415.63
7.0.210.0100.04415.40
7.0.200.0020.03816.13
7.0.190.0070.04615.45
7.0.180.0030.04915.53
7.0.170.0060.04615.58
7.0.160.0030.05115.19
7.0.150.0030.05215.52
7.0.140.0060.04515.26
7.0.130.0100.03915.59
7.0.120.0070.04315.35
7.0.110.0070.04315.41
7.0.100.0060.04815.46
7.0.90.0000.04815.17
7.0.80.0000.05315.44
7.0.70.0020.07218.67
7.0.60.0070.05018.66
7.0.50.0030.05318.75
7.0.40.0000.05016.79
7.0.30.0030.05816.81
7.0.20.0000.06416.86
7.0.10.0020.05716.85
7.0.00.0070.05716.83
5.6.400.0070.10913.98
5.6.390.0070.11014.18
5.6.380.0070.10914.49
5.6.370.0030.10814.63
5.6.360.0070.10614.27
5.6.350.0000.11314.16
5.6.340.0070.11014.51
5.6.330.0160.09414.30
5.6.320.0070.09914.47
5.6.310.0070.10814.51
5.6.300.0030.10214.41
5.6.290.0100.11414.23
5.6.280.0030.11314.39
5.6.270.0070.10214.61
5.6.260.0030.10914.22
5.6.250.0000.10614.42
5.6.240.0070.11314.22
5.6.230.0000.10914.19
5.6.220.0050.08617.50
5.6.210.0030.08717.44
5.6.200.0050.08817.65
5.6.190.0020.09517.67
5.6.180.0050.08817.69
5.6.170.0020.08717.59
5.6.160.0030.09617.60
5.6.150.0000.09417.75
5.6.140.0080.11317.62
5.6.130.0030.09617.76
5.6.120.0050.13217.60
5.6.110.0050.11717.74
5.6.100.0070.10717.57
5.6.90.0050.09117.53
5.6.80.0030.09417.30
5.6.70.0030.09217.29
5.6.60.0020.12317.49
5.6.50.0080.10417.30
5.6.40.0030.09717.38
5.6.30.0030.09017.45
5.6.20.0030.09617.31
5.6.10.0050.13017.37
5.6.00.0070.12917.33
5.5.380.0030.11714.25
5.5.370.0100.11414.36
5.5.360.0020.11417.19
5.5.350.0050.08717.31
5.5.340.0020.10717.58
5.5.330.0000.09117.67
5.5.320.0120.08617.51
5.5.310.0030.08617.64
5.5.300.0050.07917.54
5.5.290.0100.11717.43
5.5.280.0070.12817.64
5.5.270.0050.12117.65
5.5.260.0020.12617.28
5.5.250.0070.11317.51
5.5.240.0050.09217.19
5.5.230.0080.12317.17
5.5.220.0080.11916.98
5.5.210.0080.11417.19
5.5.200.0030.11617.22
5.5.190.0030.12217.03
5.5.180.0050.11516.94
5.5.170.0070.10014.28
5.5.160.0070.11317.07
5.5.150.0070.12017.23
5.5.140.0020.10517.20
5.5.130.0050.13117.18
5.5.120.0020.12117.24
5.5.110.0080.12016.96
5.5.100.0050.11516.91
5.5.90.0070.11617.02
5.5.80.0050.11817.09
5.5.70.0050.10817.02
5.5.60.0050.12116.99
5.5.50.0070.11217.19
5.5.40.0050.12517.03
5.5.30.0100.11016.99
5.5.20.0020.10917.06
5.5.10.0080.11317.12
5.5.00.0060.10717.18

preferences:
35.86 ms | 401 KiB | 5 Q