3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=0; while(true){ usleep(5000); echo $i; $i++;/* processing data of doom*/ }

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.0150.01518.43
8.3.50.0230.00622.05
8.3.40.0220.00718.85
8.3.30.0240.00618.67
8.3.20.0250.01225.66
8.3.10.0260.00425.66
8.2.180.0140.01916.63
8.2.170.0260.00522.96
8.2.160.0060.02422.14
8.2.150.0170.01225.66
8.2.140.0210.00725.66
8.1.280.0260.00925.92
8.1.270.0190.01025.66
8.0.110.0120.00616.79
8.0.100.0180.00316.71
8.0.90.0110.00916.75
8.0.80.0210.01116.79
8.0.70.0130.00616.82
8.0.60.0110.00916.71
8.0.50.0170.00516.77
8.0.30.0170.01516.87
8.0.20.0190.01517.18
8.0.10.0210.00216.88
8.0.00.0190.01616.69
7.4.240.0180.00316.33
7.4.230.0140.00516.47
7.4.220.0490.00616.16
7.4.210.0240.01216.44
7.4.200.0120.00816.47
7.4.190.0140.00716.29
7.4.160.0270.01716.41
7.4.150.0240.01217.40
7.4.140.0340.02217.86
7.4.130.0320.01116.44
7.4.120.0270.00616.24
7.4.110.0240.01316.17
7.4.100.0180.01416.24
7.4.90.0180.02116.46
7.4.80.0240.02419.39
7.4.70.0200.01316.38
7.4.60.0230.01216.48
7.4.50.0080.00616.32
7.4.40.0140.01422.77
7.4.30.0260.01116.44
7.3.300.0070.01116.06
7.3.290.0220.02216.15
7.3.280.0210.01416.18
7.3.270.0330.00717.40
7.3.260.0300.02118.24
7.3.250.0290.01016.16
7.3.240.0200.01516.32
7.3.230.0250.02116.42
7.3.210.0300.01016.44
7.3.200.0280.01116.53
7.3.190.0210.02316.10
7.3.180.0160.01416.24
7.3.170.0100.02416.39
7.3.160.0140.01416.29
7.2.330.0250.01416.30
7.2.320.0140.02516.46
7.2.310.0260.01216.17
7.2.300.0210.01716.61
7.2.290.0330.00716.57
5.4.280.0230.09318.82
5.4.270.0670.06719.05
5.4.260.0370.04019.18
5.4.250.0630.07019.05
5.4.240.0670.07019.00
5.4.230.0230.08018.95
5.4.220.0670.06718.73
5.4.210.0230.05718.83
5.4.200.0130.06319.02
5.4.190.0300.10018.76
5.4.180.0500.07318.96
5.4.170.0600.07318.71
5.4.160.0370.04018.84
5.4.150.0600.07318.82
5.4.140.0300.08016.36
5.4.130.0730.07716.40
5.4.120.0630.07016.41
5.4.110.0230.05316.29
5.4.100.0500.04716.13
5.4.90.0700.06316.36
5.4.80.0530.09316.29
5.4.70.0600.07316.24
5.4.60.0330.07716.39
5.4.50.0500.03016.38
5.4.40.0170.08016.32
5.4.30.0600.05016.21
5.4.20.0300.06316.24
5.4.10.0300.06716.17
5.4.00.0230.07315.70
5.3.280.0330.08314.32
5.3.270.0470.03714.36
5.3.260.0230.05714.33
5.3.250.0600.07314.52
5.3.240.0270.08714.33
5.3.230.0600.07014.27
5.3.220.0730.06014.32
5.3.210.0600.07314.34
5.3.200.0570.07714.36
5.3.190.0630.08714.25
5.3.180.0570.07714.21
5.3.170.0770.09014.31
5.3.160.0300.09014.32
5.3.150.0170.08714.30
5.3.140.0400.03714.32
5.3.130.0300.08014.22
5.3.120.0230.06314.32
5.3.110.0270.08014.32
5.3.100.0270.08313.68
5.3.90.0370.07313.66
5.3.80.0170.08313.65
5.3.70.0230.06713.77
5.3.60.0670.06713.67
5.3.50.0130.08013.68
5.3.40.0530.06313.70
5.3.30.0230.06313.37
5.3.20.0670.11013.48
5.3.10.0670.12013.42
5.3.00.0330.07013.37

preferences:
31.92 ms | 401 KiB | 5 Q