3v4l.org

run code in 300+ PHP versions simultaneously
<?php // RULES: // 1. Do not edit anything before "for ($i = 0;" // 2. You are not allowed to use any more loops // OUTPUT: // Output should be a count from 100 to 1 // Eg. // 100 // 99 // .. // 2 // 1 for ($i = 0;$i < 100; ++$i) { echo 100 - $i . PHP_EOL; }

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.0100.00716.50
8.3.50.0060.00916.35
8.3.40.0110.00418.84
8.3.30.0110.00418.76
8.3.20.0000.00818.98
8.3.10.0080.00020.78
8.3.00.0030.00519.67
8.2.180.0100.01018.05
8.2.170.0090.00622.96
8.2.160.0070.00719.13
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00319.57
8.2.120.0050.00326.35
8.2.110.0090.00022.26
8.2.100.0060.00617.87
8.2.90.0000.00817.38
8.2.80.0060.00318.61
8.2.70.0040.00417.93
8.2.60.0000.00817.93
8.2.50.0080.00018.10
8.2.40.0020.00519.48
8.2.30.0040.00419.43
8.2.20.0000.00718.06
8.2.10.0030.00518.13
8.2.00.0030.00619.43
8.1.280.0110.00725.92
8.1.270.0080.00023.79
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0130.00723.88
8.1.230.0040.00819.16
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0090.00018.10
8.1.170.0040.00418.50
8.1.160.0040.00418.74
8.1.150.0070.00018.89
8.1.140.0000.00817.68
8.1.130.0030.00619.04
8.1.120.0040.00417.36
8.1.110.0000.01117.34
8.1.100.0000.00717.49
8.1.90.0040.00417.36
8.1.80.0040.00417.43
8.1.70.0070.00417.50
8.1.60.0000.00817.53
8.1.50.0000.00817.36
8.1.40.0040.00417.49
8.1.30.0050.00317.70
8.1.20.0000.00717.48
8.1.10.0060.00317.45
8.1.00.0080.00017.48
8.0.300.0000.00819.63
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0000.00817.36
8.0.260.0030.00317.18
8.0.250.0000.00717.02
8.0.240.0070.00016.98
8.0.230.0070.00016.91
8.0.220.0000.00816.91
8.0.210.0000.00816.92
8.0.200.0040.00416.96
8.0.190.0000.00816.84
8.0.180.0040.00416.97
8.0.170.0000.00816.94
8.0.160.0050.00316.89
8.0.150.0000.00816.93
8.0.140.0000.00716.74
8.0.130.0000.00613.30
8.0.120.0050.00316.75
8.0.110.0000.00816.88
8.0.100.0040.00416.77
8.0.90.0040.00416.83
8.0.80.0080.00716.85
8.0.70.0040.00416.95
8.0.60.0040.00416.84
8.0.50.0040.00416.69
8.0.30.0070.00917.04
8.0.20.0120.00817.40
8.0.10.0050.00316.92
8.0.00.0090.00916.85
7.4.330.0040.00015.55
7.4.320.0050.00216.53
7.4.300.0030.00316.44
7.4.290.0000.00716.43
7.4.280.0080.00016.53
7.4.270.0030.00516.36
7.4.260.0030.00516.43
7.4.250.0030.00316.51
7.4.240.0000.00716.36
7.4.230.0000.00716.34
7.4.220.0040.00416.64
7.4.210.0070.00916.52
7.4.200.0050.00316.42
7.4.160.0080.01116.42
7.4.140.0110.00917.86
7.4.130.0130.00716.31
7.4.120.0100.00816.40
7.4.110.0030.01416.32
7.4.100.0170.00016.35
7.4.90.0100.00716.48
7.4.80.0130.00519.39
7.4.70.0030.02016.45
7.4.60.0060.01616.22
7.4.50.0090.00616.36
7.4.40.0060.01216.39
7.4.00.0070.01114.64
7.3.330.0050.00013.19
7.3.320.0030.00313.19
7.3.310.0050.00316.17
7.3.300.0000.00716.23
7.3.290.0030.00316.12
7.3.280.0090.00616.26
7.3.260.0080.01116.49
7.3.240.0120.00716.46
7.3.230.0070.01016.27
7.3.210.0070.01016.37
7.3.200.0060.01116.51
7.3.190.0110.00616.44
7.3.180.0100.01016.23
7.3.170.0070.01416.34
7.3.160.0060.01116.36
7.2.330.0070.01116.87
7.2.320.0120.01216.48
7.2.310.0110.00716.32
7.2.300.0120.00916.66
7.2.290.0040.01416.78
7.2.60.1560.01114.73
7.2.50.1660.01215.25
7.2.40.1540.01215.48
7.2.30.1710.00815.27
7.2.20.2010.01015.33
7.2.10.1780.00915.64
7.2.00.1800.01415.22
7.1.200.0000.01415.64
7.1.170.1650.01013.73
7.1.160.1750.01216.92
7.1.150.1720.01416.93
7.1.140.1620.01217.07
7.1.130.1450.01017.02
7.1.120.1670.01116.88
7.1.110.1840.01016.40
7.1.100.1490.01416.03
7.1.90.1670.01016.05
7.1.80.1440.00616.21
7.1.70.1420.01215.05
7.1.60.1710.01533.38
7.1.50.2880.01332.99
7.1.40.1650.01532.60
7.1.30.2270.01332.62
7.1.20.2100.01132.64
7.1.10.1740.01614.65
7.1.00.2020.00914.75

preferences:
93.04 ms | 401 KiB | 5 Q