3v4l.org

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

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.10.0030.00619.73
8.3.140.0060.00318.43
8.3.130.0040.00418.69
8.3.120.0080.00018.86
8.3.110.0100.01020.94
8.3.100.0050.00324.06
8.3.90.0080.00026.77
8.3.80.0060.00316.50
8.3.70.0090.00616.75
8.3.60.0090.01216.61
8.3.50.0150.00517.30
8.3.40.0090.00918.96
8.3.30.0040.01118.63
8.3.20.0040.00420.20
8.3.10.0050.00322.10
8.3.00.0080.00023.52
8.2.260.0090.00616.84
8.2.250.0030.00616.76
8.2.240.0060.00316.95
8.2.230.0040.00422.58
8.2.220.0150.00337.54
8.2.210.0060.00826.77
8.2.200.0060.00316.50
8.2.190.0110.01116.58
8.2.180.0130.01318.54
8.2.170.0090.00618.81
8.2.160.0130.00022.96
8.2.150.0000.00925.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.47
8.2.110.0060.00321.12
8.2.100.0030.00917.90
8.2.90.0090.00017.91
8.2.80.0080.00017.97
8.2.70.0080.00018.04
8.2.60.0060.00318.05
8.2.50.0000.00818.10
8.2.40.0040.00420.61
8.2.30.0000.00820.97
8.2.20.0040.00418.05
8.2.10.0020.00517.95
8.2.00.0050.00217.92
8.1.300.0080.00020.04
8.1.290.0060.00318.88
8.1.280.0040.01425.92
8.1.270.0070.00022.05
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.83
8.1.230.0040.00722.75
8.1.220.0030.00617.79
8.1.210.0030.00518.77
8.1.200.0040.00817.22
8.1.190.0090.00017.13
8.1.180.0030.00518.10
8.1.170.0040.00418.50
8.1.160.0040.00418.82
8.1.150.0030.00720.05
8.1.140.0040.00419.55
8.1.130.0040.00718.96
8.1.120.0000.00717.38
8.1.110.0000.00817.30
8.1.100.0070.00017.38
8.1.90.0000.00817.32
8.1.80.0030.00317.45
8.1.70.0000.00717.30
8.1.60.0030.00617.49
8.1.50.0000.00917.45
8.1.40.0030.00617.43
8.1.30.0000.00717.61
8.1.20.0050.00317.47
8.1.10.0080.00017.39
8.1.00.0070.00017.46
8.0.300.0040.00421.50
8.0.290.0040.00416.75
8.0.280.0030.00318.44
8.0.270.0050.00316.88
8.0.260.0000.00720.21
8.0.250.0030.00316.91
8.0.240.0040.00416.98
8.0.230.0000.00716.96
8.0.220.0030.00516.91
8.0.210.0000.00716.81
8.0.200.0000.00716.98
8.0.190.0060.00616.91
8.0.180.0000.00816.90
8.0.170.0030.00316.87
8.0.160.0040.00417.00
8.0.150.0060.00316.84
8.0.140.0000.00716.80
8.0.130.0000.00513.41
8.0.120.0040.00416.88
8.0.110.0040.00416.72
8.0.100.0000.00716.80
8.0.90.0000.00716.89
8.0.80.0040.01116.90
8.0.70.0040.00416.91
8.0.60.0040.00416.77
8.0.50.0070.00016.91
8.0.30.0060.01417.14
8.0.20.0100.00917.40
8.0.10.0070.00016.96
8.0.00.0130.00316.73
7.4.330.0000.00415.55
7.4.320.0030.00316.42
7.4.300.0040.00416.52
7.4.290.0070.00016.21
7.4.280.0080.00016.43
7.4.270.0000.00716.55
7.4.260.0040.00416.48
7.4.250.0080.00016.38
7.4.240.0000.00716.44
7.4.230.0030.00316.41
7.4.220.0100.00716.55
7.4.210.0080.00916.45
7.4.200.0040.00416.53
7.4.160.0080.00616.60
7.4.150.0060.01117.40
7.4.140.0120.01017.86
7.4.130.0150.00616.61
7.4.120.0120.00516.56
7.4.110.0080.00916.36
7.4.100.0030.01516.70
7.4.90.0080.01116.28
7.4.80.0110.01119.39
7.4.70.0220.00316.47
7.4.60.0100.00616.48
7.4.50.0030.01316.54
7.4.40.0060.01016.37
7.4.30.0100.00716.58
7.4.00.0030.01414.91
7.3.330.0020.00213.29
7.3.320.0030.00313.33
7.3.310.0030.00516.38
7.3.300.0000.00716.26
7.3.290.0130.00616.29
7.3.280.0090.00916.35
7.3.270.0040.01317.40
7.3.260.0140.00616.32
7.3.250.0070.01016.39
7.3.240.0090.01016.38
7.3.230.0030.01416.53
7.3.210.0110.00516.45
7.3.200.0120.00916.34
7.3.190.0070.01016.42
7.3.180.0170.00016.53
7.3.170.0120.00416.34
7.3.160.0100.00716.34
7.3.10.0130.00016.66
7.3.00.0070.00716.59
7.2.330.0070.01816.55
7.2.320.0030.01316.59
7.2.310.0070.01016.75
7.2.300.0060.01116.58
7.2.290.0130.00316.41
7.2.130.0040.00816.77
7.2.120.0060.00916.61
7.2.110.0070.00716.56
7.2.100.0030.00716.99
7.2.90.0030.00616.87
7.2.80.0080.00517.05
7.2.70.0060.00917.04
7.2.60.0050.00616.85
7.2.50.0040.01016.84
7.2.40.0060.00316.98
7.2.30.0000.01316.75
7.2.20.0070.00716.86
7.2.10.0090.00916.91
7.2.00.0060.00616.91
7.1.250.0080.00315.77
7.1.200.0060.00615.75
7.1.90.0030.00918.22
7.1.80.0090.00318.20
7.1.70.0000.01117.17
7.1.60.0190.01235.07
7.1.50.0200.00734.76
7.1.40.0210.00734.21
7.1.30.0190.00934.39
7.1.20.0180.01534.54
7.1.10.0130.00016.64
7.1.00.0060.01016.61
7.0.230.0060.00617.94
7.0.220.0090.00317.86
7.0.210.0060.00616.75
7.0.200.0030.00916.42
7.0.190.0080.00416.64
7.0.180.0030.00916.18
7.0.170.0000.01416.00
7.0.160.0060.00616.00
7.0.150.0000.01316.39
7.0.140.0030.01016.30
7.0.130.0060.00616.60
7.0.120.0040.00716.36
7.0.110.0040.01116.46
7.0.100.0040.00916.18
7.0.90.0060.00916.23
7.0.80.0060.00616.21
7.0.70.0040.00816.16
7.0.60.0000.01115.93
7.0.50.0090.00316.27
7.0.40.0060.00616.39
7.0.30.0060.00616.48
7.0.20.0060.00616.34
7.0.10.0000.01216.17
7.0.00.0060.00616.18

preferences:
71.96 ms | 403 KiB | 5 Q