3v4l.org

run code in 300+ PHP versions simultaneously
<?php function someFunc($a){ var_dump($a); throw new Exception('blaaaaaaaaaaaaaah'); }; function tryCatch($callable, ...$args){ try{ return $callable(...$args); }catch(Exception $e){ return null; //hehehe he he heh we do nothing what you gonna do he he } } tryCatch('someFunc','jjj');

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.3.60.0090.00618.30
8.3.50.0110.00716.40
8.3.40.0100.00718.67
8.3.30.0080.00818.85
8.3.20.0040.00419.39
8.3.10.0040.00423.61
8.3.00.0030.00522.57
8.2.180.0090.00916.50
8.2.170.0110.01122.96
8.2.160.0070.00721.05
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00221.05
8.2.120.0040.00426.35
8.2.110.0060.00319.35
8.2.100.0040.00817.78
8.2.90.0090.00019.79
8.2.80.0060.00617.97
8.2.70.0050.00317.90
8.2.60.0090.00017.78
8.2.50.0030.00618.10
8.2.40.0050.00319.07
8.2.30.0000.00720.68
8.2.20.0040.00417.98
8.2.10.0020.00518.30
8.2.00.0040.00419.45
8.1.280.0060.01325.92
8.1.270.0030.00522.05
8.1.260.0040.00426.35
8.1.250.0100.00728.09
8.1.240.0060.00322.66
8.1.230.0090.00320.95
8.1.220.0030.00620.84
8.1.210.0080.00018.77
8.1.200.0030.00617.13
8.1.190.0040.00417.36
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0000.00718.84
8.1.150.0040.00418.83
8.1.140.0030.00619.05
8.1.130.0000.00718.89
8.1.120.0000.00717.43
8.1.110.0000.00717.41
8.1.100.0040.00417.46
8.1.90.0040.00417.42
8.1.80.0000.00717.41
8.1.70.0000.00817.33
8.1.60.0040.00417.59
8.1.50.0030.00517.41
8.1.40.0030.00517.50
8.1.30.0030.00517.64
8.1.20.0030.00617.58
8.1.10.0000.00717.51
8.1.00.0000.00817.51
8.0.300.0060.00319.73
8.0.290.0000.01016.75
8.0.280.0000.00718.30
8.0.270.0070.00017.24
8.0.260.0000.00720.20
8.0.250.0040.00416.97
8.0.240.0030.00316.93
8.0.230.0000.00716.79
8.0.220.0000.00716.91
8.0.210.0000.00716.93
8.0.200.0020.00516.98
8.0.190.0030.00517.00
8.0.180.0060.00316.92
8.0.170.0000.00916.77
8.0.160.0000.00716.79
8.0.150.0040.00416.89
8.0.140.0000.00716.80
8.0.130.0000.00513.34
8.0.120.0000.00716.98
8.0.110.0080.00016.90
8.0.100.0070.00016.78
8.0.90.0000.00816.91
8.0.80.0060.01216.92
8.0.70.0050.00317.01
8.0.60.0050.00216.83
8.0.50.0040.00417.00
8.0.30.0120.00717.17
8.0.20.0080.01217.40
8.0.10.0050.00216.94
8.0.00.0170.00216.91
7.4.330.0000.00515.55
7.4.320.0030.00316.46
7.4.300.0060.00016.49
7.4.290.0080.00016.61
7.4.280.0040.00416.50
7.4.270.0040.00416.48
7.4.260.0030.00316.52
7.4.250.0000.00816.32
7.4.240.0070.00016.58
7.4.230.0000.00716.44
7.4.220.0050.00316.69
7.4.210.0040.01416.51
7.4.200.0000.00716.41
7.4.160.0060.01216.51
7.4.140.0100.01017.86
7.4.130.0110.00716.58
7.4.120.0130.00916.52
7.4.110.0080.00816.69
7.4.100.0100.00716.59
7.4.90.0110.00716.34
7.4.80.0140.00919.39
7.4.70.0060.01216.52
7.4.60.0090.00916.51
7.4.50.0070.00716.35
7.4.40.0070.01316.57
7.4.00.0100.00714.85
7.3.330.0000.00513.32
7.3.320.0060.00013.25
7.3.310.0050.00216.20
7.3.300.0030.00316.31
7.3.290.0030.00316.35
7.3.280.0080.00616.34
7.3.260.0120.00616.46
7.3.240.0090.01016.43
7.3.230.0100.00716.48
7.3.210.0030.01416.46
7.3.200.0120.00616.47
7.3.190.0160.00616.30
7.3.180.0120.00916.36
7.3.170.0060.01516.39
7.3.160.0030.01716.51
7.3.10.0080.01116.25
7.3.00.0070.01016.41
7.2.330.0100.01316.65
7.2.320.0060.00916.45
7.2.310.0070.01116.54
7.2.300.0170.00316.59
7.2.290.0070.01016.68
7.2.130.0250.00616.41
7.2.120.0310.00316.30
7.2.110.0150.00216.65
7.2.100.0070.01016.20
7.2.90.0510.00715.57
7.2.80.0340.00515.56
7.2.70.0290.00815.62
7.2.60.0240.00515.54
7.2.50.0330.00815.68
7.2.40.0300.00515.70
7.2.30.0380.00915.82
7.2.20.0280.00715.98
7.2.10.0260.00915.74
7.2.00.0350.00715.55
7.1.250.0110.01115.47
7.1.210.0070.00713.39
7.1.200.0280.00413.88
7.1.190.0670.00414.10
7.1.180.0200.00714.04
7.1.170.0980.00313.82
7.1.160.0530.00414.11
7.1.150.0150.00713.91
7.1.140.0370.00913.94
7.1.130.0600.00813.82
7.1.120.0680.00713.77
7.1.110.0950.00713.88
7.1.100.0340.01213.98
7.1.90.0620.00613.86
7.1.80.0510.00713.59
7.1.70.0450.00513.95
7.1.60.0780.00931.71
7.1.50.0790.01131.72
7.1.40.0570.01331.76
7.1.30.0810.00631.75
7.1.20.0620.00331.90
7.1.10.0640.00313.68
7.1.00.0430.00914.01

preferences:
59.93 ms | 400 KiB | 5 Q