3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a(string $v) { throw new Exception; } try { a("vvv"); } catch (Exception $e) { 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.10.0120.00519.64
8.5.00.0140.00722.99
8.4.150.0020.00114.05
8.4.140.0090.01418.04
8.4.130.0050.00417.86
8.4.120.0080.00320.62
8.4.110.0090.00722.61
8.4.100.0140.00617.97
8.4.90.0130.00818.80
8.4.80.0100.00818.18
8.4.70.0080.01217.88
8.4.60.0110.00718.82
8.4.50.0150.00619.53
8.4.40.0180.00320.48
8.4.30.0110.00822.04
8.4.20.0140.00717.99
8.4.10.0040.00422.04
8.3.280.0130.00718.43
8.3.270.0150.00516.63
8.3.260.0090.00916.63
8.3.250.0110.00718.86
8.3.240.0140.00416.54
8.3.230.0130.00516.76
8.3.220.0140.00417.17
8.3.210.0100.00816.77
8.3.200.0040.00516.47
8.3.190.0160.00417.21
8.3.180.0110.00816.75
8.3.170.0090.00917.21
8.3.160.0120.00616.68
8.3.150.0140.00719.17
8.3.140.0120.00616.81
8.3.130.0050.00318.49
8.3.120.0080.00020.63
8.3.110.0060.00320.94
8.3.100.0110.00824.06
8.3.90.0090.00926.77
8.3.80.0030.00618.56
8.3.70.0140.00718.36
8.3.60.0040.01118.31
8.3.50.0150.00316.97
8.3.40.0070.00720.35
8.3.30.0100.00320.73
8.3.20.0070.00024.18
8.3.10.0000.00724.66
8.3.00.0050.00326.16
8.2.290.0120.00420.54
8.2.280.0130.00618.66
8.2.270.0070.01117.00
8.2.260.0000.01418.91
8.2.250.0110.00416.78
8.2.240.0080.00018.74
8.2.230.0040.00422.58
8.2.220.0030.00537.54
8.2.210.0040.00426.77
8.2.200.0090.00016.63
8.2.190.0100.01016.63
8.2.180.0090.00616.88
8.2.170.0040.01519.13
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0060.00319.26
8.2.110.0070.00320.88
8.2.100.0080.00417.84
8.2.90.0050.00517.79
8.2.80.0100.00019.95
8.2.70.0050.00317.63
8.2.60.0190.00017.38
8.2.50.0110.00817.00
8.2.40.0130.00417.38
8.2.30.0190.00317.47
8.2.20.0150.00617.13
8.2.10.0130.00517.63
8.2.00.0120.00417.63
8.1.330.0100.00821.83
8.1.320.0080.01016.20
8.1.310.0110.00418.21
8.1.300.0040.01116.35
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0070.00024.66
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0030.00624.02
8.1.230.0060.00622.72
8.1.220.0080.00017.74
8.1.210.0000.00818.97
8.1.200.0040.00417.35
8.1.190.0190.00017.00
8.1.180.0130.00316.88
8.1.170.0050.01017.25
8.1.160.0110.00617.23
8.1.150.0170.00017.25
8.1.140.0100.00617.13
8.1.130.0120.00417.13
8.1.120.0110.00517.13
8.1.110.0140.00317.38
8.1.100.0090.00917.13
8.1.90.0050.01016.99
8.1.80.0160.00017.13
8.1.70.0100.00616.75
8.1.60.0090.00917.50
8.1.50.0170.00317.13
8.1.40.0110.00817.25
8.1.30.0040.01317.13
8.1.20.0170.00017.38
8.1.10.0150.00317.25
8.1.00.0150.00317.50
8.0.300.0070.00019.89
8.0.290.0000.00716.63
8.0.280.0130.00316.60
8.0.270.0140.00316.63
8.0.260.0100.00516.52
8.0.250.0110.00516.86
8.0.240.0140.00316.63
8.0.230.0090.00916.52
8.0.220.0120.00416.60
8.0.210.0100.00716.52
8.0.200.0110.00816.59
8.0.190.0150.00316.52
8.0.180.0060.01116.52
8.0.170.0140.00316.52
8.0.160.0080.00816.59
8.0.150.0080.00816.52
8.0.140.0140.00316.59
8.0.130.0160.00016.63
8.0.120.0080.00816.52
8.0.110.0110.00516.61
8.0.100.0130.00416.52
8.0.90.0090.00916.63
8.0.80.0100.00716.75
8.0.70.0130.00416.59
8.0.60.0110.00616.52
8.0.50.0070.01016.61
8.0.30.0190.00016.52
8.0.20.0090.00916.75
8.0.10.0140.00316.63

preferences:
39 ms | 403 KiB | 5 Q