3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<10000; $i++) { echo $i.'\n'; }

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.0300.01016.38
8.3.50.0410.00822.06
8.3.40.0190.01218.34
8.3.30.0170.01018.78
8.3.20.0140.00020.09
8.3.10.0080.00823.71
8.3.00.0120.00321.01
8.2.180.0240.01716.75
8.2.170.0260.00422.96
8.2.160.0180.01120.44
8.2.150.0070.00724.18
8.2.140.0040.01124.66
8.2.130.0090.00626.16
8.2.120.0130.00320.73
8.2.110.0180.00020.86
8.2.100.0100.01017.72
8.2.90.0050.00517.83
8.2.80.0060.00917.97
8.2.70.0110.00617.63
8.2.60.0000.01317.79
8.2.50.0030.01318.07
8.2.40.0090.00319.82
8.2.30.0040.00818.16
8.2.20.0070.00417.71
8.2.10.0060.00618.13
8.2.00.0070.00417.75
8.1.280.0180.00625.92
8.1.270.0100.00322.23
8.1.260.0130.00026.35
8.1.250.0090.00628.09
8.1.240.0100.00622.52
8.1.230.0100.01020.89
8.1.220.0060.00617.74
8.1.210.0030.00718.79
8.1.200.0030.01017.21
8.1.190.0070.00317.35
8.1.180.0100.00018.10
8.1.170.0080.00318.29
8.1.160.0070.00721.94
8.1.150.0030.00718.58
8.1.140.0030.00717.50
8.1.130.0060.00317.95
8.1.120.0030.00717.47
8.1.110.0040.00717.38
8.1.100.0060.00617.40
8.1.90.0100.00017.45
8.1.80.0090.00317.45
8.1.70.0070.00317.39
8.1.60.0070.00417.55
8.1.50.0070.00317.50
8.1.40.0070.00417.57
8.1.30.0040.00717.54
8.1.20.0030.00917.57
8.1.10.0040.00717.58
8.1.00.0070.00317.50
8.0.300.0050.00519.82
8.0.290.0030.00716.63
8.0.280.0000.01018.44
8.0.270.0040.00717.20
8.0.260.0090.00017.18
8.0.250.0000.00916.95
8.0.240.0030.00616.86
8.0.230.0040.00816.79
8.0.220.0060.00316.72
8.0.210.0080.00316.80
8.0.200.0090.00016.87
8.0.190.0110.00016.85
8.0.180.0090.00316.82
8.0.170.0040.00816.91
8.0.160.0080.00416.74
8.0.150.0100.00016.84
8.0.140.0030.00916.80
8.0.130.0030.00613.27
8.0.120.0070.00416.77
8.0.110.0100.00016.72
8.0.100.0070.00316.62
8.0.90.0030.00716.71
8.0.80.0170.01616.83
8.0.70.0030.00916.74
8.0.60.0030.01016.77
8.0.50.0090.00316.77
8.0.30.0400.02317.11
8.0.20.0430.01817.40
8.0.10.0060.00616.81
8.0.00.0310.02216.70
7.4.330.0030.00615.13
7.4.320.0080.00316.33
7.4.300.0070.00716.31
7.4.290.0050.00516.37
7.4.280.0060.00616.47
7.4.270.0080.00416.42
7.4.260.0030.00616.38
7.4.250.0080.00316.29
7.4.240.0090.00216.29
7.4.230.0120.00016.33
7.4.220.0140.02516.36
7.4.210.0220.01516.58
7.4.200.0060.00316.07
7.4.160.0310.01816.54
7.4.150.0470.01617.40
7.4.140.0420.02017.86
7.4.130.0280.02216.47
7.4.120.0250.02216.42
7.4.110.0350.01416.35
7.4.100.0330.02716.46
7.4.90.0280.02216.39
7.4.80.0240.02519.39
7.4.70.0200.02416.62
7.4.60.0160.02516.49
7.4.50.0000.01216.30
7.4.40.0160.02616.40
7.4.30.0260.01916.62
7.4.00.0210.00314.83
7.3.330.0070.00413.18
7.3.320.0050.00313.01
7.3.310.0040.00716.13
7.3.300.0090.00016.25
7.3.290.0180.01616.27
7.3.280.0190.02116.25
7.3.270.0590.03017.40
7.3.260.0270.02616.37
7.3.250.0260.02616.41
7.3.240.0260.02316.22
7.3.230.0290.01616.43
7.3.210.0380.02316.43
7.3.200.0290.03219.39
7.3.190.0200.01716.13
7.3.180.0270.01516.32
7.3.170.0260.03416.34
7.3.160.0220.02616.44
7.3.120.0160.01014.87
7.2.330.0290.01916.54
7.2.320.0150.03016.34
7.2.310.0340.01116.62
7.2.300.0150.04916.69
7.2.290.0240.01716.39
7.1.70.0000.00916.95
7.1.60.0070.01117.23
7.1.50.0160.01317.07
7.0.200.0120.01516.68

preferences:
40.53 ms | 401 KiB | 5 Q