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.0130.00618.28
8.3.50.0070.00717.98
8.3.40.0040.01118.71
8.3.30.0120.00318.71
8.3.20.0050.00319.09
8.3.10.0050.00320.86
8.3.00.0000.00819.79
8.2.180.0070.00718.17
8.2.170.0150.00022.96
8.2.160.0100.00719.09
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00020.84
8.2.110.0050.00520.43
8.2.100.0110.00017.89
8.2.90.0050.00317.63
8.2.80.0040.00418.70
8.2.70.0000.00818.04
8.2.60.0030.00517.93
8.2.50.0080.00018.10
8.2.40.0040.00419.38
8.2.30.0070.00019.51
8.2.20.0000.00817.95
8.2.10.0000.00717.87
8.2.00.0000.00819.35
8.1.280.0150.00025.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0070.00322.13
8.1.230.0000.01219.00
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0070.00317.35
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.66
8.1.160.0050.00318.81
8.1.150.0000.00718.92
8.1.140.0070.00017.64
8.1.130.0070.00318.98
8.1.120.0020.00517.35
8.1.110.0070.00317.33
8.1.100.0060.00317.34
8.1.90.0000.00717.36
8.1.80.0050.00317.34
8.1.70.0030.00617.33
8.1.60.0060.00317.61
8.1.50.0060.00317.52
8.1.40.0060.00317.57
8.1.30.0040.00417.54
8.1.20.0040.00417.58
8.1.10.0050.00317.43
8.1.00.0040.00417.43
8.0.300.0040.00419.62
8.0.290.0000.00816.75
8.0.280.0030.00318.43
8.0.270.0030.00317.25
8.0.260.0050.00318.35
8.0.250.0000.00716.96
8.0.240.0030.00316.97
8.0.230.0030.00316.85
8.0.220.0000.00716.93
8.0.210.0070.00016.91
8.0.200.0030.00316.95
8.0.190.0040.00416.95
8.0.180.0030.00616.97
8.0.170.0040.00416.92
8.0.160.0040.00416.80
8.0.150.0050.00516.87
8.0.140.0030.00316.74
8.0.130.0000.00613.33
8.0.120.0040.00416.89
8.0.110.0040.00416.88
8.0.100.0000.00816.85
8.0.90.0000.00716.83
8.0.80.0040.01116.82
8.0.70.0000.00716.85
8.0.60.0080.00016.65
8.0.50.0040.00416.67
8.0.30.0130.00816.90
8.0.20.0130.00617.40
8.0.10.0030.00316.79
8.0.00.0070.01016.82
7.4.330.0050.00015.55
7.4.320.0000.00816.52
7.4.300.0050.00216.54
7.4.290.0070.00016.53
7.4.280.0000.00816.57
7.4.270.0040.00416.61
7.4.260.0000.00816.37
7.4.250.0040.00416.52
7.4.240.0040.00416.46
7.4.230.0000.00716.54
7.4.220.0040.00416.52
7.4.210.0040.01116.55
7.4.200.0040.00416.54
7.4.160.0090.01016.47
7.4.140.0150.00617.86
7.4.130.0190.00716.48
7.4.120.0110.00916.46
7.4.110.0090.00916.46
7.4.100.0070.01016.33
7.4.90.0140.00416.58
7.4.80.0130.00419.39
7.4.70.0090.00916.61
7.4.60.0110.00616.36
7.4.50.0040.00816.65
7.4.40.0090.00916.48
7.4.00.0040.01414.69
7.3.330.0050.00013.14
7.3.320.0000.00712.98
7.3.310.0070.00016.36
7.3.300.0060.00016.06
7.3.290.0070.00016.12
7.3.280.0090.00816.28
7.3.260.0080.00916.37
7.3.240.0090.00816.38
7.3.230.0110.00716.41
7.3.210.0120.01216.51
7.3.200.0100.00716.29
7.3.190.0040.01316.38
7.3.180.0080.00816.50
7.3.170.0100.01316.27
7.3.160.0140.00416.39
7.2.330.0190.00016.70
7.2.320.0100.00916.44
7.2.310.0070.01116.73
7.2.300.0160.00616.69
7.2.290.0100.00716.55
7.2.60.1580.00814.95
7.2.50.1370.01015.03
7.2.40.1670.00915.28
7.2.30.1620.00915.16
7.2.20.1400.00915.40
7.2.10.1570.01015.60
7.2.00.1400.00915.29
7.1.200.0090.00315.55
7.1.170.1550.01013.86
7.1.160.1290.01116.89
7.1.150.1750.01416.70
7.1.140.1470.00916.89
7.1.130.1160.01116.86
7.1.120.1770.01316.84
7.1.110.1770.01516.18
7.1.100.1820.01316.03
7.1.90.1470.01116.48
7.1.80.1510.01416.19
7.1.70.2430.00915.23
7.1.60.1950.01633.13
7.1.50.1730.01232.66
7.1.40.1820.01532.60
7.1.30.2010.01632.75
7.1.20.1700.01632.81
7.1.10.1790.01214.94
7.1.00.1680.01414.75

preferences:
61.88 ms | 400 KiB | 5 Q