3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 0; $i < 10000; $i++){ echo $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.0280.00018.31
8.3.50.0270.01417.91
8.3.40.0230.01018.54
8.3.30.0180.01419.14
8.3.20.0160.00020.34
8.3.10.0030.01221.83
8.3.00.0130.00319.13
8.2.180.0310.01016.63
8.2.170.0280.00922.96
8.2.160.0210.01420.58
8.2.150.0150.01224.18
8.2.140.0080.00824.66
8.2.130.0160.00026.16
8.2.120.0140.00022.27
8.2.110.0170.00720.41
8.2.100.0240.00017.71
8.2.90.0080.00418.22
8.2.80.0080.00417.97
8.2.70.0080.00417.50
8.2.60.0040.01117.80
8.2.50.0080.00418.07
8.2.40.0060.00619.95
8.2.30.0090.00317.97
8.2.20.0000.01117.78
8.2.10.0080.00417.98
8.2.00.0130.00317.73
8.1.280.0250.00725.92
8.1.270.0130.00323.86
8.1.260.0080.00826.35
8.1.250.0060.01028.09
8.1.240.0140.00422.14
8.1.230.0110.01120.85
8.1.220.0070.00717.79
8.1.210.0120.00318.82
8.1.200.0120.00317.22
8.1.190.0040.00817.10
8.1.180.0060.00618.10
8.1.170.0130.00018.47
8.1.160.0060.00621.94
8.1.150.0070.00718.72
8.1.140.0070.00717.42
8.1.130.0110.00017.81
8.1.120.0070.00417.41
8.1.110.0040.00817.37
8.1.100.0060.00617.32
8.1.90.0000.01317.23
8.1.80.0090.00317.38
8.1.70.0120.00017.34
8.1.60.0060.00617.55
8.1.50.0080.00417.34
8.1.40.0090.00317.29
8.1.30.0100.00317.54
8.1.20.0070.00717.59
8.1.10.0040.00817.53
8.1.00.0040.00917.43
8.0.300.0110.00020.10
8.0.290.0000.01116.58
8.0.280.0040.00718.51
8.0.270.0050.00517.28
8.0.260.0070.00717.17
8.0.250.0000.01116.97
8.0.240.0000.01316.99
8.0.230.0070.00416.93
8.0.220.0070.00316.80
8.0.210.0110.00316.82
8.0.200.0100.00316.85
8.0.190.0040.00816.84
8.0.180.0000.01216.86
8.0.170.0090.00316.76
8.0.160.0040.00916.91
8.0.150.0070.00716.84
8.0.140.0100.00316.80
8.0.130.0030.00613.27
8.0.120.0080.00416.82
8.0.110.0040.00716.76
8.0.100.0080.00416.88
8.0.90.0040.00816.77
8.0.80.0190.01616.77
8.0.70.0110.00016.78
8.0.60.0040.00716.77
8.0.50.0080.00316.85
8.0.30.0500.02016.82
8.0.20.0390.02017.40
8.0.10.0110.00016.72
8.0.00.0360.02216.78
7.4.330.0000.01115.00
7.4.320.0030.01016.45
7.4.300.0070.00316.38
7.4.290.0080.00416.47
7.4.280.0040.00716.37
7.4.270.0120.00016.45
7.4.260.0060.00616.55
7.4.250.0100.00316.54
7.4.240.0080.00316.45
7.4.230.0050.00516.44
7.4.220.0170.02316.44
7.4.210.0100.02016.60
7.4.200.0040.00816.61
7.4.160.0290.02216.50
7.4.150.0370.02017.40
7.4.140.0340.01917.86
7.4.130.0310.02716.51
7.4.120.0330.01816.32
7.4.110.0370.01316.33
7.4.100.0360.02916.41
7.4.90.0420.00816.38
7.4.80.0250.03219.39
7.4.70.0230.02016.29
7.4.60.0290.01316.38
7.4.50.0000.00816.32
7.4.40.0270.01416.43
7.4.30.0300.01716.36
7.4.00.0140.01114.79
7.3.330.0030.00913.00
7.3.320.0060.00313.16
7.3.310.0060.00616.20
7.3.300.0070.00316.23
7.3.290.0100.02116.23
7.3.280.0210.02016.24
7.3.270.0460.02117.40
7.3.260.0270.02016.50
7.3.250.0410.01416.40
7.3.240.0320.02416.27
7.3.230.0410.01916.44
7.3.210.0380.03916.64
7.3.200.0230.02419.39
7.3.190.0210.03016.41
7.3.180.0210.02016.24
7.3.170.0260.01816.48
7.3.160.0260.02316.43
7.2.330.0390.02016.75
7.2.320.0210.01816.77
7.2.310.0270.01516.71
7.2.300.0210.01816.68
7.2.290.0220.02216.65
7.2.00.0120.00819.41
7.1.100.0710.00715.50
7.1.70.0060.00616.88
7.1.60.0190.01319.32
7.1.50.0140.01416.90
7.0.200.0370.00414.80

preferences:
31.97 ms | 400 KiB | 5 Q