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.0120.00618.68
8.3.50.0130.00521.95
8.3.40.0200.00318.79
8.3.30.0110.00418.67
8.3.20.0000.00820.22
8.3.10.0040.00421.87
8.3.00.0040.00419.39
8.2.180.0040.01118.66
8.2.170.0120.00419.04
8.2.160.0140.00022.96
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00722.13
8.2.120.0040.00426.35
8.2.110.0060.00320.47
8.2.100.0070.00417.91
8.2.90.0060.00319.21
8.2.80.0000.01017.97
8.2.70.0030.00617.75
8.2.60.0000.00917.68
8.2.50.0030.00618.10
8.2.40.0000.00720.60
8.2.30.0070.00019.32
8.2.20.0040.00417.67
8.2.10.0000.00717.97
8.2.00.0040.00418.11
8.1.280.0160.00025.92
8.1.270.0080.00023.79
8.1.260.0070.00028.09
8.1.250.0030.00528.09
8.1.240.0030.00922.18
8.1.230.0040.00822.08
8.1.220.0090.00017.78
8.1.210.0060.00318.77
8.1.200.0030.00617.48
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0050.00318.47
8.1.160.0040.00422.16
8.1.150.0000.00719.02
8.1.140.0000.00819.51
8.1.130.0040.00417.73
8.1.120.0000.00717.52
8.1.110.0040.00417.51
8.1.100.0080.00017.51
8.1.90.0000.00717.38
8.1.80.0000.00817.45
8.1.70.0040.00417.49
8.1.60.0040.00417.62
8.1.50.0040.00417.45
8.1.40.0030.00617.50
8.1.30.0090.00017.60
8.1.20.0080.00017.66
8.1.10.0000.00817.60
8.1.00.0080.00017.38
8.0.300.0050.00518.77
8.0.290.0000.00716.75
8.0.280.0000.00718.39
8.0.270.0050.00316.89
8.0.260.0060.00017.28
8.0.250.0030.00316.96
8.0.240.0000.00717.08
8.0.230.0040.00417.00
8.0.220.0000.00716.95
8.0.210.0000.00916.96
8.0.200.0000.00717.02
8.0.190.0000.00916.90
8.0.180.0090.00016.99
8.0.170.0080.00016.90
8.0.160.0040.00417.11
8.0.150.0000.00716.82
8.0.140.0030.00316.83
8.0.130.0030.00313.39
8.0.120.0000.00816.98
8.0.110.0040.00417.00
8.0.100.0030.00317.00
8.0.90.0040.00417.01
8.0.80.0090.00616.89
8.0.70.0040.00416.86
8.0.60.0000.00717.04
8.0.50.0050.00216.76
8.0.30.0130.00617.14
8.0.20.0090.00917.41
8.0.10.0000.00717.05
8.0.00.0040.01416.79
7.4.330.0060.00015.08
7.4.320.0000.00716.63
7.4.300.0030.00316.43
7.4.290.0070.00016.44
7.4.280.0050.00316.38
7.4.270.0070.00016.61
7.4.260.0090.00016.61
7.4.250.0000.00716.54
7.4.240.0030.00516.55
7.4.230.0040.00416.63
7.4.220.0100.00716.72
7.4.210.0070.00716.47
7.4.200.0040.00416.32
7.4.160.0100.00716.49
7.4.150.0100.00717.40
7.4.140.0140.00717.86
7.4.130.0070.01216.55
7.4.120.0050.01216.71
7.4.110.0070.01016.55
7.4.100.0060.00916.39
7.4.90.0070.01016.61
7.4.80.0070.01319.39
7.4.70.0120.00416.41
7.4.60.0030.01316.68
7.4.50.0070.00716.58
7.4.40.0070.01016.55
7.4.30.0060.01216.63
7.4.00.0060.00914.79
7.3.330.0050.00013.28
7.3.320.0020.00213.27
7.3.310.0070.00016.35
7.3.300.0040.00416.26
7.3.290.0090.00616.31
7.3.280.0090.00916.33
7.3.270.0110.00617.40
7.3.260.0060.01116.52
7.3.250.0110.01016.37
7.3.240.0090.00916.36
7.3.230.0100.00716.57
7.3.210.0110.00716.66
7.3.200.0130.00316.48
7.3.190.0060.00916.31
7.3.180.0060.01016.48
7.3.170.0120.01216.46
7.3.160.0080.00816.59
7.3.10.0070.00716.64
7.3.00.0000.01616.52
7.2.330.0150.00816.36
7.2.320.0100.00616.39
7.2.310.0080.00916.40
7.2.300.0100.00716.55
7.2.290.0060.01016.37
7.2.130.0030.00616.86
7.2.120.0040.00816.59
7.2.110.0060.00616.48
7.2.100.0000.01116.63
7.2.90.0090.00316.63
7.2.80.0100.00716.34
7.2.70.0100.00716.03
7.2.60.0070.00716.90
7.2.50.0030.01316.62
7.2.40.0000.01216.54
7.2.30.0070.00417.00
7.2.20.0100.00316.74
7.2.10.0030.00916.85
7.2.00.0060.00918.14
7.1.250.0000.01015.47
7.1.200.0030.00915.39
7.1.100.0060.00617.88
7.1.70.0000.01217.26
7.1.60.0140.00019.80
7.1.50.0150.00616.55
7.1.00.0100.07022.44
7.0.200.0490.00714.88
7.0.80.0030.06319.92
7.0.70.0070.06319.92
7.0.60.0130.05320.13
7.0.50.0170.05020.36
7.0.40.0100.06020.31
7.0.30.0130.06020.21
7.0.20.0100.06020.38
7.0.10.0030.06320.38
7.0.00.0170.05720.37
5.6.280.0100.06721.08
5.6.230.0030.06720.66
5.6.220.0200.04720.80
5.6.210.0100.06020.70
5.6.200.0170.05321.14
5.6.190.0200.05021.21
5.6.180.0170.05321.14
5.6.170.0100.06721.08
5.6.160.0200.05021.05
5.6.150.0030.07321.01
5.6.140.0100.06021.17
5.6.130.0100.06321.11
5.6.120.0170.08021.10
5.6.110.0130.06021.08
5.6.100.0100.06021.07
5.6.90.0130.06021.08
5.6.80.0070.06020.53
5.6.70.0170.07720.46
5.6.60.0070.06020.47
5.6.50.0170.05020.47
5.6.40.0130.07020.45
5.6.30.0300.05020.45
5.6.20.0100.06320.38
5.6.10.0130.05320.52
5.6.00.0130.06020.45
5.5.370.0170.05020.49
5.5.360.0130.05720.47
5.5.350.0130.06320.44
5.5.340.0100.06320.84
5.5.330.0100.05720.98
5.5.320.0070.06020.84
5.5.310.0070.06020.91
5.5.300.0130.05320.96
5.5.290.0200.05320.89
5.5.280.0170.07720.88
5.5.270.0100.07320.92
5.5.260.0170.05720.86
5.5.250.0030.06720.67
5.5.240.0130.05720.31
5.5.230.0130.06320.33
5.5.220.0070.06320.30
5.5.210.0070.06020.09
5.5.200.0130.05320.18
5.5.190.0100.06020.24
5.5.180.0100.05720.27
5.5.160.0170.05720.23
5.5.150.0200.07020.20
5.5.140.0130.06320.30
5.5.130.0330.05720.27
5.5.120.0170.07020.28
5.5.110.0100.06020.20
5.5.100.0100.06720.14
5.5.90.0170.05020.16
5.5.80.0230.06020.07
5.5.70.0200.05720.13
5.5.60.0200.04720.13
5.5.50.0270.06020.15
5.5.40.0270.04720.20
5.5.30.0200.06320.15
5.5.20.0170.07720.08
5.5.10.0130.07720.19
5.5.00.0130.06720.18

preferences:
24.88 ms | 401 KiB | 5 Q