3v4l.org

run code in 300+ PHP versions simultaneously
<?php class S { public function __toString() { throw new Exception("A"); } } echo new S();

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.4.20.0070.01117.95
8.4.10.0090.00920.37
8.3.150.0090.00916.91
8.3.140.0110.00716.82
8.3.130.0060.01018.36
8.3.120.0090.00019.00
8.3.110.0050.00320.94
8.3.100.0080.00018.54
8.3.90.0100.00026.77
8.3.80.0060.00319.36
8.3.70.0130.00318.40
8.3.60.0170.00018.56
8.3.50.0150.00323.57
8.3.40.0110.00418.89
8.3.30.0130.00718.63
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.270.0080.00018.68
8.2.260.0000.01416.48
8.2.250.0090.00919.04
8.2.240.0030.00618.66
8.2.230.0060.00322.58
8.2.220.0110.00424.06
8.2.210.0030.00526.77
8.2.200.0030.00618.88
8.2.190.0140.00318.41
8.2.180.0120.00625.92
8.2.170.0070.00718.94
8.2.160.0150.00022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00026.35
8.2.110.0030.00620.52
8.2.100.0040.00717.84
8.2.90.0000.00817.75
8.2.80.0060.00318.73
8.2.70.0030.00617.63
8.2.60.0040.00417.93
8.2.50.0050.00218.05
8.2.40.0000.00918.16
8.2.30.0060.00318.00
8.2.20.0000.00818.15
8.2.10.0020.00519.30
8.2.00.0020.00619.11
8.1.310.0140.00318.37
8.1.300.0030.00619.52
8.1.290.0030.00630.84
8.1.280.0070.01025.92
8.1.270.0060.00323.99
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0040.00418.66
8.1.230.0090.00320.97
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0050.00317.38
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0040.00418.98
8.1.160.0000.00718.81
8.1.150.0050.00218.80
8.1.140.0000.00718.73
8.1.130.0030.00320.17
8.1.120.0000.00717.38
8.1.110.0040.00417.27
8.1.100.0000.00817.38
8.1.90.0050.00217.41
8.1.80.0050.00317.29
8.1.70.0070.00017.38
8.1.60.0050.00317.51
8.1.50.0040.00417.45
8.1.40.0000.00817.32
8.1.30.0040.00417.59
8.1.20.0060.00317.47
8.1.10.0050.00317.51
8.1.00.0000.00717.31
8.0.300.0110.00018.77
8.0.290.0030.00616.75
8.0.280.0000.00718.38
8.0.270.0070.00018.11
8.0.260.0030.00318.60
8.0.250.0060.00316.88
8.0.240.0000.00717.01
8.0.230.0030.00517.02
8.0.220.0000.00616.95
8.0.210.0030.00516.90
8.0.200.0070.00016.94
8.0.190.0060.00316.93
8.0.180.0000.00716.94
8.0.170.0040.00416.93
8.0.160.0030.00717.01
8.0.150.0080.00016.77
8.0.140.0090.00016.93
8.0.130.0050.00013.32
8.0.120.0000.00716.81
8.0.110.0000.00816.89
8.0.100.0040.00416.77
8.0.90.0000.00816.81
8.0.80.0060.01116.91
8.0.70.0000.00816.76
8.0.60.0040.00416.90
8.0.50.0070.00016.81
8.0.30.0090.00617.14
8.0.20.0120.00617.06
8.0.10.0040.00416.88
8.0.00.0100.01017.86
7.4.330.0020.00215.55
7.4.320.0000.00616.43
7.4.300.0030.00316.55
7.4.290.0030.00316.43
7.4.280.0030.00416.44
7.4.270.0000.00716.51
7.4.260.0050.00013.16
7.4.250.0070.00016.29
7.4.240.0000.00716.32
7.4.230.0030.00316.63
7.4.220.0030.00416.35
7.4.210.0070.00916.48
7.4.200.0040.00216.60
7.4.140.0130.00317.86
7.4.130.0180.01217.86
7.4.120.0160.00317.86
7.4.110.0120.00817.86
7.4.100.0100.00717.86
7.4.90.0120.01217.86
7.4.80.0060.01017.86
7.4.70.0110.00717.86
7.4.60.0090.00917.86
7.4.50.0110.00617.86
7.4.40.0040.01617.86
7.4.30.0090.01317.86
7.4.20.0170.00717.86
7.4.10.0090.01617.86
7.4.00.0140.00617.86
7.3.330.0040.00716.17
7.3.320.0050.00013.42
7.3.310.0040.00416.36
7.3.300.0030.00316.35
7.3.290.0070.00916.29
7.3.260.0220.00917.86
7.3.250.0180.00917.86
7.3.240.0160.00717.86
7.3.230.0100.01617.86
7.3.220.0120.00617.86
7.3.210.0110.00617.86
7.3.200.0100.01017.86
7.3.190.0070.01017.86
7.3.180.0120.01017.86
7.3.170.0060.00917.86
7.3.160.0130.00617.86
7.3.150.0180.00917.86
7.3.140.0190.00617.86
7.3.130.0160.00617.86
7.3.120.0150.00817.86
7.3.110.0160.01017.86
7.3.100.0100.01317.86
7.3.90.0040.01717.86
7.3.80.0120.00617.86
7.3.70.0060.01217.86
7.3.60.0090.01217.86
7.3.50.0120.00617.86
7.3.40.0110.00917.86
7.3.30.0130.00417.86
7.3.20.0120.00817.86
7.3.10.0110.01117.86
7.3.00.0100.01017.86

preferences:
76.18 ms | 403 KiB | 5 Q