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 = @exif_read_data('test.txt', 0, true); } 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.0200.00018.55
8.3.50.0120.00721.02
8.3.40.0070.00718.77
8.3.30.0060.00620.14
8.3.20.0000.00820.53
8.3.10.0030.00521.10
8.3.00.0080.00022.58
8.2.180.0100.01016.75
8.2.170.0120.00618.95
8.2.160.0030.01022.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.05
8.2.110.0000.01219.23
8.2.100.0120.00017.84
8.2.90.0000.00719.27
8.2.80.0030.00518.05
8.2.70.0090.00017.61
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00719.52
8.2.20.0050.00317.72
8.2.10.0080.00017.68
8.2.00.0070.00317.70
8.1.280.0110.00425.92
8.1.270.0000.00823.99
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00022.46
8.1.230.0110.00020.98
8.1.220.0000.00818.77
8.1.210.0030.00519.00
8.1.200.0000.00917.48
8.1.190.0080.00017.66
8.1.180.0060.00218.10
8.1.170.0030.00518.67
8.1.160.0000.00718.90
8.1.150.0030.00618.58
8.1.140.0000.00717.48
8.1.130.0030.00317.76
8.1.120.0050.00217.45
8.1.110.0000.00717.43
8.1.100.0030.00517.47
8.1.90.0080.00017.47
8.1.80.0050.00217.51
8.1.70.0070.00017.46
8.1.60.0040.00417.55
8.1.50.0000.00717.46
8.1.40.0080.00017.49
8.1.30.0000.00817.59
8.1.20.0030.00517.65
8.1.10.0050.00317.63
8.1.00.0040.00417.50
8.0.300.0040.00419.96
8.0.290.0060.00317.16
8.0.280.0000.00718.47
8.0.270.0070.00017.24
8.0.260.0030.00316.93
8.0.250.0050.00216.95
8.0.240.0090.00017.05
8.0.230.0030.00317.02
8.0.220.0030.00316.88
8.0.210.0030.00317.02
8.0.200.0040.00417.05
8.0.190.0040.00417.05
8.0.180.0040.00416.90
8.0.170.0070.00016.89
8.0.160.0000.00816.86
8.0.150.0000.00716.82
8.0.140.0060.00316.90
8.0.130.0000.00513.49
8.0.120.0040.00416.97
8.0.110.0030.00316.85
8.0.100.0000.00717.00
8.0.90.0000.00716.93
8.0.80.0090.00616.86
8.0.70.0040.00416.87
8.0.60.0070.00017.00
8.0.50.0000.00817.01
8.0.30.0150.00817.13
8.0.20.0120.00817.40
8.0.10.0000.00817.16
8.0.00.0120.00716.96
7.4.330.0030.00316.79
7.4.320.0000.00816.66
7.4.300.0030.00316.54
7.4.290.0040.00416.56
7.4.280.0070.00016.60
7.4.270.0000.00716.54
7.4.260.0030.00613.31
7.4.250.0030.00516.57
7.4.240.0000.00816.65
7.4.230.0030.00416.56
7.4.220.0060.01216.70
7.4.210.0060.01016.51
7.4.200.0000.00716.60
7.4.190.0030.00316.79
7.4.160.0120.00816.73
7.4.150.0120.00617.40
7.4.140.0130.00817.86
7.4.130.0140.00416.57
7.4.120.0120.00916.57
7.4.110.0060.01016.43
7.4.100.0130.00316.61
7.4.90.0090.00916.67
7.4.80.0150.00919.39
7.4.70.0160.00316.44
7.4.60.0140.00316.62
7.4.50.0030.00616.18
7.4.40.0030.01322.77
7.4.30.0030.01416.73
7.4.00.0070.01015.00
7.3.330.0050.00013.11
7.3.320.0000.00713.21
7.3.310.0050.00316.22
7.3.300.0000.00616.20
7.3.290.0080.00916.34
7.3.280.0100.00616.32
7.3.270.0140.00317.40
7.3.260.0060.01518.24
7.3.250.0090.01016.42
7.3.240.0140.00316.45
7.3.230.0100.01016.45
7.3.210.0070.01016.23
7.3.200.0040.01219.39
7.3.190.0100.00716.58
7.3.180.0100.01016.47
7.3.170.0060.01316.51
7.3.160.0060.01016.64
7.3.120.0090.00614.54
7.2.330.0110.01116.62
7.2.320.0070.01416.70
7.2.310.0070.01016.61
7.2.300.0130.00916.73
7.2.290.0080.00816.36
7.2.60.0110.00816.21
7.2.00.0060.00619.32
7.1.200.0090.00615.43
7.1.100.0000.01017.86
7.1.70.0040.00717.14
7.1.60.0100.01619.17
7.1.50.0070.01716.70
7.1.00.0030.09022.45
7.0.200.0030.00316.86
7.0.140.0000.07722.21
7.0.60.0170.07719.93
7.0.50.0100.08317.95
7.0.40.0100.04320.09
7.0.30.0300.06720.13
7.0.20.0130.04320.21
7.0.10.0100.08320.24
7.0.00.0130.08320.18
5.6.280.0000.07021.10
5.6.210.0030.09020.51
5.6.200.0170.06318.15
5.6.190.0100.04720.47
5.6.180.0270.07320.47
5.6.170.0400.07020.42
5.6.160.0170.07320.50
5.6.150.0030.04018.27
5.6.140.0070.05318.24
5.6.130.0030.04018.27
5.6.120.0200.07321.05
5.6.110.0070.04021.11
5.6.100.0070.08321.11
5.6.90.0130.05321.00
5.6.80.0130.07020.36
5.5.350.3270.03020.32
5.5.340.0130.06718.04
5.5.330.0030.05020.41
5.5.320.0670.06020.24
5.5.310.0270.08320.32
5.5.300.0000.06018.02
5.5.290.0030.04718.06
5.5.280.0130.05020.74
5.5.270.0100.03720.84
5.5.260.0100.07720.79
5.5.250.0070.08720.80
5.5.240.0070.07020.16
5.4.450.0200.03719.63
5.4.440.0230.03319.42
5.4.430.0230.03319.46
5.4.420.0170.03719.45
5.4.410.0070.04719.18
5.4.400.0170.03719.00
5.4.390.0230.04018.97
5.4.380.0230.03318.95
5.4.370.0130.04019.24
5.4.360.0270.04018.84
5.4.350.0200.03719.16
5.4.340.0200.03319.31
5.4.320.0130.04019.20
5.4.310.0200.04319.00
5.4.300.0270.02719.11
5.4.290.0130.04019.14
5.4.280.0200.03719.23
5.4.270.0170.04019.06
5.4.260.0170.03719.30
5.4.250.0170.05318.91
5.4.240.0200.03719.16
5.4.230.0230.03319.06
5.4.220.0200.03718.99
5.4.210.0170.04019.21
5.4.200.0170.04719.12
5.4.190.0200.04319.08
5.4.180.0230.03318.95
5.4.170.0170.04018.97
5.4.160.0130.04019.22
5.4.150.0170.03719.14
5.4.140.0130.04016.30
5.4.130.0170.03716.50
5.4.120.0170.03716.33
5.4.110.0170.03716.55
5.4.100.0130.04016.28
5.4.90.0200.03316.29
5.4.80.0200.03316.44
5.4.70.0130.04016.55
5.4.60.0200.03016.48
5.4.50.0200.03716.43
5.4.40.0170.03716.34
5.4.30.0230.03016.42
5.4.20.0230.03316.37
5.4.10.0170.03716.42
5.4.00.0130.04015.90
5.3.290.0230.04314.64
5.3.280.0230.03314.51
5.3.270.0300.03714.58
5.3.260.0130.04014.58
5.3.250.0300.02314.51
5.3.240.0200.03314.58
5.3.230.0200.04714.60
5.3.220.0230.03014.68
5.3.210.0170.05014.68
5.3.200.0200.03714.58
5.3.190.0230.03314.71
5.3.180.0200.03714.56
5.3.170.0400.03714.65
5.3.160.0130.04014.62
5.3.150.0200.03314.79
5.3.140.0170.03714.53
5.3.130.0130.04314.66
5.3.120.0130.04014.63
5.3.110.0200.03314.78
5.3.100.0200.03313.95
5.3.90.0230.04014.07
5.3.80.0230.03013.91
5.3.70.0200.03313.91
5.3.60.0200.03313.90
5.3.50.0230.03013.88
5.3.40.0230.04013.86
5.3.30.0230.04013.99
5.3.20.0200.03013.66
5.3.10.0200.03713.56
5.3.00.0230.07013.69
5.2.170.0170.02712.14
5.2.160.0230.03012.14
5.2.150.0170.02712.14
5.2.140.0230.02712.14
5.2.130.0200.03712.14
5.2.120.0170.02712.14
5.2.110.0230.06012.14
5.2.100.0230.05712.14
5.2.90.0200.04312.14
5.2.80.0170.04312.14
5.2.70.0300.04312.14
5.2.60.0170.06012.14
5.2.50.0170.02712.14
5.2.40.0130.02712.14
5.2.30.0100.03012.14
5.2.20.0170.02312.14
5.2.10.0070.03312.14
5.2.00.0170.02312.14
5.1.60.0100.02712.14
5.1.50.0170.05312.14
5.1.40.0170.03012.14
5.1.30.0130.02712.14
5.1.20.0130.02312.14
5.1.10.0100.02712.14
5.1.00.0130.03712.14
5.0.50.0030.03012.14
5.0.40.0100.03012.14
5.0.30.0030.03312.14
5.0.20.0070.04012.14
5.0.10.0070.02012.14
5.0.00.0070.06712.14
4.4.90.0030.01712.14
4.4.80.0130.03012.14
4.4.70.0070.02012.14
4.4.60.0070.02712.14
4.4.50.0100.02312.14
4.4.40.0070.02312.14
4.4.30.0030.01712.14
4.4.20.0070.02712.14
4.4.10.0070.02312.14
4.4.00.0030.03312.14
4.3.110.0100.01312.14
4.3.100.0070.01312.14
4.3.90.0030.02012.14
4.3.80.0070.05312.14
4.3.70.0100.01012.14
4.3.60.0070.01312.14
4.3.50.0070.02012.14
4.3.40.0130.05012.14
4.3.30.0000.02712.14
4.3.20.0000.03012.14
4.3.10.0000.02012.14
4.3.00.0030.01712.14

preferences:
43.72 ms | 401 KiB | 5 Q