3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a(string $v) { throw new Exception; } try { a("vvv"); } catch (Exception $exception) { printf( "%s: %s in %s:%d\nStack trace:\n%s\n", get_class($exception), $exception->getMessage(), $exception->getFile(), $exception->getLine(), $exception->getTraceAsString() ); }

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.5.00.0120.00922.59
8.4.150.0020.00014.05
8.4.140.0150.00717.73
8.4.130.0090.01117.98
8.4.120.0050.00420.46
8.4.110.0140.00918.77
8.4.100.0130.00817.93
8.4.90.0150.00618.06
8.4.80.0110.00722.54
8.4.70.0140.00817.83
8.4.60.0130.00719.80
8.4.50.0090.01218.02
8.4.40.0110.01120.53
8.4.30.0110.00722.04
8.4.20.0140.00717.88
8.4.10.0040.00421.93
8.3.280.0120.00818.34
8.3.270.0110.00916.61
8.3.260.0110.00716.85
8.3.250.0120.00719.02
8.3.240.0050.00316.85
8.3.230.0120.00816.66
8.3.220.0110.00717.22
8.3.210.0110.00816.64
8.3.200.0130.00516.82
8.3.190.0140.00516.66
8.3.180.0120.00616.57
8.3.170.0160.00317.27
8.3.160.0110.00418.37
8.3.150.0090.00918.86
8.3.140.0030.00617.13
8.3.130.0030.00618.50
8.3.120.0130.00620.47
8.3.110.0000.00816.57
8.3.100.0070.00424.06
8.3.90.0060.00926.77
8.3.80.0090.00018.55
8.3.70.0100.00716.74
8.3.60.0110.00718.43
8.3.50.0090.00616.69
8.3.40.0040.01120.28
8.3.30.0030.01020.72
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.290.0100.00920.42
8.2.280.0090.01116.56
8.2.270.0130.00617.14
8.2.260.0100.00318.63
8.2.250.0090.00918.16
8.2.240.0070.00017.05
8.2.230.0160.00320.94
8.2.220.0060.00337.54
8.2.210.0090.00926.77
8.2.200.0090.00018.29
8.2.190.0110.00318.54
8.2.180.0150.00416.88
8.2.170.0060.00918.67
8.2.160.0070.00722.96
8.2.150.0050.00225.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00319.36
8.2.110.0060.00321.07
8.2.100.0140.00317.45
8.2.90.0040.00417.91
8.2.80.0030.00618.03
8.2.70.0000.00817.50
8.2.60.0200.00017.21
8.2.50.0120.00817.34
8.2.40.0090.00917.13
8.2.30.0140.00317.25
8.2.20.0180.00017.50
8.2.10.0120.00517.48
8.2.00.0080.00817.50
8.1.330.0110.00816.76
8.1.320.0110.00616.33
8.1.310.0110.00716.78
8.1.300.0040.01416.25
8.1.290.0090.00030.84
8.1.280.0170.00325.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00622.42
8.1.230.0030.00921.00
8.1.220.0050.00317.74
8.1.210.0040.00418.96
8.1.200.0030.00517.23
8.1.190.0120.00417.13
8.1.180.0100.00717.13
8.1.170.0170.00017.23
8.1.160.0060.01017.13
8.1.150.0130.00216.97
8.1.140.0110.00617.22
8.1.130.0150.00317.38
8.1.120.0100.00717.13
8.1.110.0150.00317.25
8.1.100.0140.00217.25
8.1.90.0110.00617.00
8.1.80.0070.01017.13
8.1.70.0000.01517.11
8.1.60.0140.00417.38
8.1.50.0180.00017.25
8.1.40.0060.01117.13
8.1.30.0100.00717.25
8.1.20.0120.00817.38
8.1.10.0130.00417.25
8.1.00.0120.00717.22
8.0.300.0000.00719.99
8.0.290.0040.00416.75
8.0.280.0110.00516.52
8.0.270.0120.00416.52
8.0.260.0170.00016.52
8.0.250.0170.00916.52
8.0.240.0160.00016.63
8.0.230.0120.00416.52
8.0.220.0090.00716.63
8.0.210.0090.00816.52
8.0.200.0180.00016.75
8.0.190.0150.00216.52
8.0.180.0180.00016.52
8.0.170.0090.00616.52
8.0.160.0120.00416.71
8.0.150.0160.00016.52
8.0.140.0120.00416.73
8.0.130.0130.00316.52
8.0.120.0130.00316.73
8.0.110.0170.00016.52
8.0.100.0100.00716.60
8.0.90.0140.00516.52
8.0.80.0080.00816.85
8.0.70.0170.00016.52
8.0.60.0080.00816.52
8.0.50.0100.00716.52
8.0.30.0130.00316.52
8.0.20.0110.00716.59
8.0.10.0130.00316.84

preferences:
32.12 ms | 403 KiB | 5 Q