3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 1;$i<=15000;$i++){ $i++; } die($i);

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.0140.00318.30
8.3.50.0150.00521.14
8.3.40.0110.00418.70
8.3.30.0000.01418.53
8.3.20.0080.00018.57
8.3.10.0040.00421.09
8.3.00.0050.00319.69
8.2.180.0090.00916.38
8.2.170.0140.00322.96
8.2.160.0070.00720.50
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00020.82
8.2.110.0030.00622.26
8.2.100.0060.00617.97
8.2.90.0040.00419.27
8.2.80.0040.00419.34
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0000.00718.22
8.2.30.0040.00421.10
8.2.20.0050.00217.63
8.2.10.0030.00517.74
8.2.00.0030.00517.81
8.1.280.0160.00325.92
8.1.270.0050.00323.99
8.1.260.0170.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00322.34
8.1.230.0070.00320.91
8.1.220.0040.00418.77
8.1.210.0000.00818.82
8.1.200.0030.00717.23
8.1.190.0000.00817.51
8.1.180.0000.00818.10
8.1.170.0040.00418.51
8.1.160.0040.00418.84
8.1.150.0000.00718.44
8.1.140.0040.00417.42
8.1.130.0040.00417.92
8.1.120.0070.00017.43
8.1.110.0000.00717.32
8.1.100.0000.00717.29
8.1.90.0000.00717.33
8.1.80.0040.00317.32
8.1.70.0030.00317.32
8.1.60.0000.00817.46
8.1.50.0030.00517.50
8.1.40.0020.00517.40
8.1.30.0040.00417.69
8.1.20.0040.00417.59
8.1.10.0040.00417.47
8.1.00.0040.00817.32
8.0.300.0040.00419.93
8.0.290.0040.00417.16
8.0.280.0000.00718.37
8.0.270.0050.00317.24
8.0.260.0000.00616.88
8.0.250.0030.00516.83
8.0.240.0050.00216.99
8.0.230.0000.00716.95
8.0.220.0040.00416.84
8.0.210.0030.00516.92
8.0.200.0050.00316.98
8.0.190.0030.00316.97
8.0.180.0050.00216.93
8.0.170.0050.00316.93
8.0.160.0070.00016.92
8.0.150.0040.00416.93
8.0.140.0040.00416.81
8.0.130.0080.00013.27
8.0.120.0030.00616.75
8.0.110.0000.00917.00
8.0.100.0000.00716.88
8.0.90.0040.00416.68
8.0.80.0070.00716.88
8.0.70.0040.00417.00
8.0.60.0050.00316.91
8.0.50.0000.00816.88
8.0.30.0120.00917.10
8.0.20.0110.00817.40
8.0.10.0050.00216.96
8.0.00.0120.00716.94
7.4.330.0050.00016.71
7.4.320.0030.00316.45
7.4.300.0040.00416.44
7.4.290.0030.00516.58
7.4.280.0000.00716.43
7.4.270.0030.00316.54
7.4.260.0030.00313.32
7.4.250.0000.00816.46
7.4.240.0000.00716.59
7.4.230.0000.00716.56
7.4.220.0140.00416.55
7.4.210.0080.00816.52
7.4.200.0000.00716.44
7.4.190.0040.00416.42
7.4.160.0080.00816.35
7.4.150.0030.01317.40
7.4.140.0110.00817.86
7.4.130.0070.01016.30
7.4.120.0120.00416.46
7.4.110.0130.00316.54
7.4.100.0150.00316.31
7.4.90.0090.00916.57
7.4.80.0120.00619.39
7.4.70.0070.01116.27
7.4.60.0190.00616.59
7.4.50.0060.00316.43
7.4.40.0070.01122.77
7.4.30.0060.01216.44
7.4.00.0000.01314.74
7.3.330.0000.00513.06
7.3.320.0000.00713.22
7.3.310.0070.00016.18
7.3.300.0030.00316.37
7.3.290.0080.01116.43
7.3.280.0050.01316.32
7.3.270.0140.00317.40
7.3.260.0080.01218.24
7.3.250.0080.01216.46
7.3.240.0160.00616.29
7.3.230.0130.00316.39
7.3.210.0180.00616.50
7.3.200.0100.00719.39
7.3.190.0070.01016.24
7.3.180.0060.01616.36
7.3.170.0030.01316.52
7.3.160.0090.00616.21
7.3.120.0060.00915.06
7.2.330.0090.00916.61
7.2.320.0150.01016.24
7.2.310.0090.01216.69
7.2.300.0140.00416.55
7.2.290.0090.00816.25
7.2.60.0000.00917.07
7.1.200.0060.00915.65

preferences:
35.91 ms | 401 KiB | 5 Q