3v4l.org

run code in 300+ PHP versions simultaneously
<?php while (true) { echo 'OK!'; }

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.0310.00916.38
8.3.50.0340.00722.03
8.3.40.0340.00318.63
8.3.30.0270.00718.92
8.3.20.0140.00320.34
8.3.10.0140.00323.66
8.3.00.0130.00619.38
8.2.180.0340.00316.34
8.2.170.0350.00722.96
8.2.160.0290.00620.50
8.2.150.0070.01024.18
8.2.140.0130.00324.66
8.2.130.0270.01026.16
8.2.120.0140.00322.21
8.2.110.0140.01022.12
8.2.100.0250.00317.91
8.2.90.0090.00319.23
8.2.80.0070.00717.97
8.2.70.0100.00317.63
8.2.60.0130.00017.91
8.2.50.0160.00318.07
8.2.40.0090.00318.22
8.2.30.0030.00918.11
8.2.20.0040.00817.82
8.2.10.0100.00717.98
8.2.00.0130.00917.73
8.1.280.0230.01325.92
8.1.270.0150.00322.14
8.1.260.0120.00626.35
8.1.250.0040.01228.09
8.1.240.0170.00323.96
8.1.230.0200.00319.09
8.1.220.0090.00317.74
8.1.210.0070.00718.77
8.1.200.0070.00717.23
8.1.190.0060.00617.28
8.1.180.0100.00318.10
8.1.170.0080.00318.59
8.1.160.0040.00722.01
8.1.150.0040.01118.57
8.1.140.0090.00517.34
8.1.130.0090.00317.82
8.1.120.0070.00417.35
8.1.110.0040.00817.28
8.1.100.0040.00717.39
8.1.90.0060.00617.29
8.1.80.0000.01217.23
8.1.70.0070.00417.24
8.1.60.0030.01017.51
8.1.50.0030.01017.46
8.1.40.0030.00917.34
8.1.30.0060.00617.50
8.1.20.0120.00317.42
8.1.10.0100.00317.51
8.1.00.0070.00617.43
8.0.300.0070.00718.77
8.0.290.0100.00316.93
8.0.280.0070.00418.22
8.0.270.0080.00317.13
8.0.260.0070.00416.80
8.0.250.0100.00316.74
8.0.240.0110.00416.75
8.0.230.0070.00416.84
8.0.220.0090.00316.57
8.0.210.0060.00616.82
8.0.200.0030.00716.75
8.0.190.0070.00716.74
8.0.180.0110.00016.79
8.0.170.0100.00316.80
8.0.160.0090.00316.68
8.0.150.0070.00716.77
8.0.140.0090.00316.72
8.0.130.0090.00613.29
8.0.120.0100.00316.68
8.0.110.0130.00016.66
8.0.100.0090.00316.59
8.0.90.0080.00416.51
8.0.80.0130.02216.77
8.0.70.0060.00616.60
8.0.60.0080.00416.77
8.0.50.0060.00616.80
8.0.30.0500.01816.74
8.0.20.0350.02117.40
8.0.10.0040.00816.74
8.0.00.0480.02416.80
7.4.330.0090.00015.00
7.4.320.0100.00016.10
7.4.300.0040.00816.23
7.4.290.0130.00316.27
7.4.280.0130.00016.15
7.4.270.0070.00416.15
7.4.260.0090.00616.32
7.4.250.0090.00316.10
7.4.240.0060.00516.31
7.4.230.0060.00616.33
7.4.220.0390.02016.34
7.4.210.0220.01316.20
7.4.200.0040.00816.45
7.4.190.0030.00916.16
7.4.160.0290.03616.14
7.4.150.0330.01617.40
7.4.140.0520.02217.86
7.4.130.0420.02316.46
7.4.120.0510.02316.38
7.4.110.0470.02316.35
7.4.100.0470.02316.50
7.4.90.0420.01316.34
7.4.80.0330.01319.39
7.4.70.0260.01916.21
7.4.60.0380.00316.31
7.4.50.0140.00416.11
7.4.40.0100.02022.77
7.4.30.0320.02016.45
7.4.00.0140.02114.73
7.3.330.0050.00513.03
7.3.320.0070.00313.05
7.3.310.0060.00616.13
7.3.300.0040.00716.16
7.3.290.0210.01416.14
7.3.280.0160.03316.08
7.3.270.0350.02317.40
7.3.260.0420.01316.14
7.3.250.0500.02816.12
7.3.240.0410.01616.14
7.3.230.0480.01216.39
7.3.210.0310.02816.08
7.3.200.0310.02119.39
7.3.190.0230.03716.05
7.3.180.0310.03116.10
7.3.170.0290.01316.43
7.3.160.0350.01216.02
7.3.120.0140.01114.61
7.3.10.0110.01516.26
7.3.00.0100.01016.48
7.2.330.0330.01816.51
7.2.320.0290.02016.53
7.2.310.0330.02116.43
7.2.300.0240.02116.19
7.2.290.0430.01216.44
7.2.130.0230.00016.86
7.2.120.0130.01316.36
7.2.110.0100.01016.44
7.2.100.0110.00716.29
7.2.90.0130.00716.87
7.2.80.0190.00316.68
7.2.70.0110.00716.86
7.2.60.0180.00316.85
7.2.50.0180.00416.76
7.2.40.0170.00716.80
7.2.30.0180.00316.56
7.2.20.0160.00916.87
7.2.10.0120.00916.79
7.2.00.0150.00618.06
7.1.250.0140.00715.49
7.1.100.0150.00318.03
7.1.70.0060.00616.88
7.1.60.0230.01319.33
7.1.50.0410.01434.62
7.0.200.0150.00316.80

preferences:
36.74 ms | 401 KiB | 5 Q