3v4l.org

run code in 300+ PHP versions simultaneously
<?php function exception_error_handler($errno, $errstr, $errfile, $errline ) { throw new Exception('Hello world'); } set_error_handler("exception_error_handler"); try { // try loading a file that does not have exif data: $results = require 'does-not-exist.php'; } catch (Exception $e) { echo $e->getMessage(); // "We never get here..." };

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.0080.00818.55
8.3.50.0060.00918.01
8.3.40.0160.00618.84
8.3.30.0090.00618.84
8.3.20.0080.00019.98
8.3.10.0060.00621.87
8.3.00.0040.00419.50
8.2.180.0070.00716.63
8.2.170.0110.00322.96
8.2.160.0070.00719.45
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0070.00322.25
8.2.120.0050.00226.35
8.2.110.0030.00622.22
8.2.100.0060.00620.41
8.2.90.0050.00319.60
8.2.80.0050.00319.21
8.2.70.0040.00418.03
8.2.60.0040.00417.99
8.2.50.0090.00018.10
8.2.40.0040.00420.57
8.2.30.0060.00319.19
8.2.20.0040.00417.75
8.2.10.0040.00418.13
8.2.00.0070.00018.07
8.1.280.0040.01825.92
8.1.270.0000.00923.79
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0050.00523.98
8.1.230.0110.00020.88
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0030.00617.13
8.1.180.0040.00418.10
8.1.170.0030.00518.71
8.1.160.0030.00322.02
8.1.150.0040.00418.82
8.1.140.0050.00319.52
8.1.130.0000.00717.77
8.1.120.0040.00417.49
8.1.110.0000.00817.33
8.1.100.0040.00417.42
8.1.90.0000.00817.46
8.1.80.0000.00817.37
8.1.70.0000.00817.43
8.1.60.0040.00417.61
8.1.50.0000.00917.64
8.1.40.0000.00817.46
8.1.30.0030.00617.80
8.1.20.0040.00417.66
8.1.10.0040.00417.57
8.1.00.0060.00317.60
8.0.300.0030.00519.77
8.0.290.0000.00816.88
8.0.280.0000.00718.53
8.0.270.0030.00317.29
8.0.260.0030.00317.32
8.0.250.0070.00017.04
8.0.240.0040.00417.04
8.0.230.0000.00817.00
8.0.220.0000.00717.04
8.0.210.0030.00617.06
8.0.200.0060.00017.07
8.0.190.0040.00417.06
8.0.180.0000.00817.07
8.0.170.0030.00517.05
8.0.160.0000.00716.93
8.0.150.0000.00716.87
8.0.140.0070.00016.98
8.0.130.0080.00013.45
8.0.120.0030.00617.03
8.0.110.0000.00817.06
8.0.100.0040.00416.85
8.0.90.0020.00516.85
8.0.80.0070.01017.02
8.0.70.0070.00016.93
8.0.60.0040.00416.95
8.0.50.0030.00516.85
8.0.30.0150.00717.07
8.0.20.0120.01017.23
8.0.10.0180.01517.06
8.0.00.0180.01117.08
7.4.330.0050.00215.08
7.4.320.0030.00316.55
7.4.300.0040.00416.54
7.4.290.0000.00716.44
7.4.280.0000.00816.47
7.4.270.0000.00716.62
7.4.260.0000.00716.62
7.4.250.0030.00316.54
7.4.240.0030.00316.62
7.4.230.0070.00016.61
7.4.220.0030.01316.63
7.4.210.0040.01116.73
7.4.200.0040.00416.63
7.4.160.0090.00616.52
7.4.150.0190.00716.93
7.4.140.0130.01117.18
7.4.130.0160.01016.49
7.4.120.0130.00916.54
7.4.110.0210.00416.56
7.4.100.0180.00816.59
7.4.90.0140.01316.59
7.4.80.0200.00817.44
7.4.70.0180.00716.51
7.4.60.0170.00916.55
7.4.50.0120.01216.66
7.4.40.0220.00716.46
7.4.30.0120.01316.51
7.4.20.0150.01316.48
7.4.10.0150.01216.61
7.4.00.0060.01216.10
7.3.330.0050.00013.29
7.3.320.0000.00513.21
7.3.310.0070.00016.26
7.3.300.0030.00316.25
7.3.290.0070.00716.38
7.3.280.0130.00616.35
7.3.270.0220.00616.89
7.3.260.0190.01016.51
7.3.250.0170.00616.46
7.3.240.0160.00816.53
7.3.230.0190.00716.43
7.3.220.0320.00216.46
7.3.210.0150.01316.39
7.3.200.0190.00616.52
7.3.190.0170.00816.41
7.3.180.0170.01116.49
7.3.170.0210.00916.40
7.3.160.0180.01116.48
7.3.150.0180.01216.44
7.3.140.0160.01016.39
7.3.130.0190.00616.45
7.3.120.0190.00516.46
7.3.110.0180.00916.37
7.3.100.0270.00516.45
7.3.90.0210.00416.46
7.3.80.0140.01216.45
7.3.70.0170.00816.43
7.3.60.0220.01016.24
7.3.50.0150.01316.36
7.3.40.0240.00516.39
7.3.30.0200.00816.34
7.3.20.0180.00816.32
7.3.10.0180.00816.45
7.3.00.0200.00916.15
7.2.340.0280.00716.72
7.2.330.0220.01016.61
7.2.320.0180.01016.58
7.2.310.0160.01116.58
7.2.300.0240.00816.60
7.2.290.0150.01516.65
7.2.280.0250.01316.59
7.2.270.0270.01216.65
7.2.260.0260.00916.63
7.2.250.0230.01416.59
7.2.240.0240.01116.57
7.2.230.0270.01116.68
7.2.220.0230.01216.68
7.2.210.0250.00916.66
7.2.200.0260.00716.53
7.2.190.0230.01116.60
7.2.180.0200.01316.63
7.2.170.0190.01316.59
7.2.160.0250.00616.60
7.2.150.0210.01216.70
7.2.140.0190.01416.64
7.2.130.0190.01516.63
7.2.120.0350.00916.63
7.2.110.0270.01416.57
7.2.100.0420.00816.61
7.2.90.0300.00616.56
7.2.80.0210.01316.82
7.2.70.0230.01016.72
7.2.60.0190.00716.77
7.2.50.0250.00816.71
7.2.40.0220.01116.70
7.2.30.0220.02116.70
7.2.20.0300.01116.56
7.2.10.0280.01116.63
7.2.00.0280.00616.52
7.1.330.0300.00415.54
7.1.320.0280.00315.49
7.1.310.0260.01015.55
7.1.300.0210.00815.56
7.1.290.0320.00715.57
7.1.280.0250.00415.53
7.1.270.0250.00615.51
7.1.260.0210.00715.52
7.1.250.0190.01215.57
7.1.240.0250.00615.47
7.1.230.0210.00815.54
7.1.220.0200.01315.42
7.1.210.0300.00615.52
7.1.200.0180.00715.50
7.1.190.0250.00915.45
7.1.180.0200.01115.41
7.1.170.0210.01115.54
7.1.160.0240.00915.52
7.1.150.0320.00815.44
7.1.140.0260.00515.49
7.1.130.0260.00715.42
7.1.120.0210.00815.56
7.1.110.0220.00915.50
7.1.100.0170.01116.38
7.1.90.0280.00715.59
7.1.80.0280.00715.63
7.1.70.0200.00516.05
7.1.60.0330.00516.97
7.1.50.0210.01115.91
7.1.40.0220.01415.64
7.1.30.0230.01115.45
7.1.20.0200.01315.53
7.1.10.0190.01015.52
7.1.00.0150.03517.86
7.0.330.0210.00915.13
7.0.320.0270.00415.20
7.0.310.0180.01115.21
7.0.300.0190.00915.08
7.0.290.0280.00815.32
7.0.280.0410.01315.13
7.0.270.0240.00915.13
7.0.260.0190.01415.17
7.0.250.0230.01115.25
7.0.240.0280.00515.29
7.0.230.0260.01115.23
7.0.220.0310.00515.21
7.0.210.0200.01315.25
7.0.200.0320.00515.11
7.0.190.0330.00515.23
7.0.180.0240.00715.14
7.0.170.0230.01015.34
7.0.160.0240.00915.27
7.0.150.0210.01315.32
7.0.140.0250.00815.17
7.0.130.0170.01515.26
7.0.120.0240.00515.21
7.0.110.0260.00915.34
7.0.100.0200.03116.79
7.0.90.0260.01816.86
7.0.80.0280.03116.90
7.0.70.0850.03116.82
7.0.60.0240.03716.82
7.0.50.0150.03416.96
7.0.40.0230.02816.87
7.0.30.0180.03016.76
7.0.20.0150.02516.73
7.0.10.0140.03616.82
7.0.00.0160.02316.81
5.6.400.0160.01415.95
5.6.390.0210.00715.91
5.6.380.0220.00915.83
5.6.370.0200.01115.91
5.6.360.0170.01315.86
5.6.350.0190.01715.77
5.6.340.0190.01715.93
5.6.330.0220.01015.77
5.6.320.0250.01015.86
5.6.310.0240.01015.99
5.6.300.0260.01215.82
5.6.290.0220.01415.84
5.6.280.0160.03217.58
5.6.270.0190.01316.06
5.6.260.0260.00715.90
5.6.250.0140.03617.51
5.6.240.0180.02717.44
5.6.230.0150.03517.43
5.6.220.0180.02617.52
5.6.210.0230.02917.42
5.6.200.0190.03517.63
5.6.190.0210.03317.73
5.6.180.0160.03617.64
5.6.170.0200.02317.62
5.6.160.0190.03417.56
5.6.150.0170.03517.71
5.6.140.0170.03017.59
5.6.130.0190.02817.56
5.6.120.0190.03017.58
5.6.110.0220.03617.47
5.6.100.0190.03117.62
5.6.90.0200.03517.54
5.6.80.0180.02417.28
5.6.70.0210.02217.29
5.6.60.0170.02717.31
5.6.50.0200.03317.30
5.6.40.0150.03617.36
5.6.30.0150.03517.26
5.6.20.0210.02917.22
5.6.10.0190.02217.30
5.6.00.0160.03017.40
5.5.380.0150.03717.43
5.5.370.0190.03217.32
5.5.360.0200.03517.34
5.5.350.0150.04117.32
5.5.340.0180.03517.53
5.5.330.0120.02517.45
5.5.320.0210.03317.51
5.5.310.0160.03317.42
5.5.300.0180.03017.62
5.5.290.0160.03717.46
5.5.280.0160.03817.58
5.5.270.0230.02117.55
5.5.260.0170.04017.44
5.5.250.0230.03117.37
5.5.240.0170.03417.19
5.5.230.0200.03317.20
5.5.220.0150.02917.20
5.5.210.0170.03217.23
5.5.200.0200.02917.35
5.5.190.0180.02517.26
5.5.180.0160.02917.11
5.5.170.0220.00715.73
5.5.160.0200.03117.32
5.5.150.0180.03217.20
5.5.140.0210.02717.25
5.5.130.0190.02917.30
5.5.120.0170.03417.14
5.5.110.0190.02917.23
5.5.100.0160.02117.09
5.5.90.0150.03317.25
5.5.80.0180.03317.21
5.5.70.0210.02217.13
5.5.60.0140.03617.09
5.5.50.0190.03317.24
5.5.40.0210.03317.17
5.5.30.0110.03017.18
5.5.20.0190.03117.23
5.5.10.0190.03517.23
5.5.00.0150.02117.17

preferences:
66.11 ms | 401 KiB | 5 Q