3v4l.org

run code in 300+ PHP versions simultaneously
<?php $function = function(string $user, string $pass) { throw new Exception(); }; try { $function("secrets", "arewrong"); } catch (\Throwable $e) { var_dump($e->getTrace()[0]); } ini_set("zend.exception_ignore_args", 1); try { $function("secrets", "arewrong"); } catch (\Throwable $e) { var_dump($e->getTrace()[0]); }

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.120.0070.00220.77
8.4.110.0130.00818.84
8.4.100.0060.00317.71
8.4.90.0120.00820.85
8.4.80.0130.00618.92
8.4.70.0080.00122.52
8.4.60.0120.00920.45
8.4.50.0130.00718.63
8.4.40.0150.00617.80
8.4.30.0000.00819.01
8.4.20.0040.00718.02
8.4.10.0160.00319.45
8.3.250.0090.00116.66
8.3.240.0080.00816.43
8.3.230.0100.00916.49
8.3.220.0060.00218.95
8.3.210.0080.01016.82
8.3.200.0060.00316.63
8.3.190.0080.00218.92
8.3.180.0050.00318.81
8.3.170.0030.01517.13
8.3.160.0060.01316.69
8.3.150.0090.00916.51
8.3.140.0070.01116.90
8.3.130.0000.00916.50
8.3.120.0080.00018.95
8.3.110.0130.00620.94
8.3.100.0050.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00316.60
8.3.70.0100.00616.75
8.3.60.0100.01016.75
8.3.50.0110.00623.62
8.3.40.0070.01118.99
8.3.30.0070.01718.84
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.290.0120.00717.07
8.2.280.0120.00820.17
8.2.270.0150.00316.71
8.2.260.0060.00317.05
8.2.250.0080.00016.63
8.2.240.0030.00619.06
8.2.230.0000.00822.58
8.2.220.0060.00937.54
8.2.210.0040.00426.77
8.2.200.0030.00616.63
8.2.190.0160.00617.00
8.2.180.0060.00925.92
8.2.170.0160.00318.83
8.2.160.0070.00722.96
8.2.150.0040.01125.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.35
8.2.110.0060.00320.53
8.2.100.0090.00317.84
8.2.90.0040.00417.88
8.2.80.0000.00818.86
8.2.70.0030.00717.91
8.2.60.0050.00318.28
8.2.50.0000.00918.10
8.2.40.0000.00821.01
8.2.30.0040.00419.31
8.2.20.0000.00718.14
8.2.10.0000.00819.38
8.2.00.0080.00019.20
8.1.330.0130.00616.41
8.1.320.0130.00718.27
8.1.310.0110.00718.50
8.1.300.0090.00016.29
8.1.290.0040.00418.88
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0050.00328.09
8.1.250.0050.00328.09
8.1.240.0030.00623.77
8.1.230.0060.00620.95
8.1.220.0050.00317.79
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00518.98
8.1.180.0060.00318.10
8.1.170.0000.00818.65
8.1.160.0000.00719.04
8.1.150.0000.00718.81
8.1.140.0000.00818.97
8.1.130.0030.00320.06
8.1.120.0000.00717.40
8.1.110.0030.00517.36
8.1.100.0040.00417.45
8.1.90.0050.00317.46
8.1.80.0030.00517.46
8.1.70.0050.00317.47
8.1.60.0000.00817.60
8.1.50.0040.00417.55
8.1.40.0050.00317.55
8.1.30.0050.00317.68
8.1.20.0040.00417.68
8.1.10.0040.00417.63
8.1.00.0000.00717.55
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.39
8.0.270.0030.00316.71
8.0.260.0060.00018.32
8.0.250.0040.00716.96
8.0.240.0000.00716.97
8.0.230.0070.00016.96
8.0.220.0000.00716.82
8.0.210.0050.00316.93
8.0.200.0000.00716.88
8.0.190.0030.00616.96
8.0.180.0040.00417.04
8.0.170.0040.00416.91
8.0.160.0040.00416.80
8.0.150.0040.00416.93
8.0.140.0040.00416.91
8.0.130.0000.00613.49
8.0.120.0000.00816.96
8.0.110.0040.00416.98
8.0.100.0040.00416.92
8.0.90.0040.00416.86
8.0.80.0080.00816.95
8.0.70.0000.00716.97
8.0.60.0000.00716.87
8.0.50.0000.00716.87
8.0.30.0000.02417.19
8.0.20.0100.01017.37
8.0.10.0000.00717.04
8.0.00.0110.00816.93
7.4.330.0000.00515.55
7.4.320.0030.00316.48
7.4.300.0000.00616.50
7.4.290.0050.00316.38
7.4.280.0000.00816.61
7.4.270.0000.01016.52
7.4.260.0050.00013.29
7.4.250.0000.00816.47
7.4.240.0000.00816.55
7.4.230.0060.00316.62
7.4.220.0030.00316.66
7.4.210.0070.00816.48
7.4.200.0000.00716.71
7.4.130.0130.00516.50
7.4.120.0190.00316.59
7.4.110.0100.01416.54
7.4.100.0150.00316.58
7.4.90.0040.01416.57
7.4.80.0140.00419.39
7.4.70.0070.01116.58
7.4.60.0030.01416.52
7.4.50.0070.01416.50
7.4.40.0100.01016.32
7.4.30.0090.01216.54
7.4.20.0070.01416.48
7.4.10.0060.01216.27
7.4.00.0060.00916.42
7.3.330.0000.00716.41
7.3.320.0030.00313.33
7.3.310.0030.00316.41
7.3.300.0000.00716.39
7.3.290.0120.00216.32
7.3.280.0030.01416.38
7.3.260.0040.01416.33
7.3.240.0070.01016.51
7.3.230.0130.01016.20
7.3.210.0120.00616.29
7.3.200.0150.00316.38
7.3.190.0100.00616.39
7.3.180.0130.00316.42
7.3.170.0190.00316.42
7.3.160.0100.00616.27
7.3.150.0120.00716.45
7.3.140.0080.01016.37
7.3.130.0060.01016.50
7.3.120.0130.00316.40
7.3.110.0100.00716.28
7.3.100.0060.01216.28
7.3.90.0120.01216.36
7.3.80.0060.01016.56
7.3.70.0060.01016.34
7.3.60.0030.01416.45
7.3.50.0000.01616.38
7.3.40.0090.00916.56
7.3.30.0130.01016.42
7.3.20.0120.00616.50
7.3.10.0120.00616.32
7.3.00.0140.00416.40
7.2.330.0090.01516.46
7.2.320.0060.01216.55
7.2.310.0040.01316.65
7.2.300.0060.01616.63
7.2.290.0050.01316.64
7.2.280.0060.01016.72
7.2.270.0130.00516.70
7.2.260.0130.00316.65
7.2.250.0060.01116.50
7.2.240.0150.00616.63
7.2.230.0140.00316.60
7.2.220.0040.01416.68
7.2.210.0040.01316.70
7.2.200.0070.01016.64
7.2.190.0060.01016.42
7.2.180.0110.00716.44
7.2.170.0120.00616.63
7.2.160.0120.00616.40
7.2.150.0100.01016.50
7.2.140.0040.01516.61
7.2.130.0150.00316.51
7.2.120.0140.00316.65
7.2.110.0070.01116.64
7.2.100.0120.00616.61
7.2.90.0060.01316.55
7.2.80.0160.00916.53
7.2.70.0070.01116.51
7.2.60.0200.00316.43
7.2.50.0190.00616.71
7.2.40.0170.00716.42
7.2.30.0110.00716.56
7.2.20.0150.01516.59
7.2.10.0120.00616.68
7.2.00.0150.00316.46

preferences:
29 ms | 406 KiB | 6 Q