3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $fn = function() { throw new Exception('test'); }; $fn(); } catch (Exception $e) { foreach ($e->getTrace() as $frame) { $r = new ReflectionFunction($frame['function']); echo($r->isClosure()); } }

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.0110.00316.63
8.3.50.0070.01321.19
8.3.40.0070.01018.79
8.3.30.0140.00718.66
8.3.20.0080.00020.20
8.3.10.0030.00523.56
8.3.00.0030.00621.91
8.2.180.0110.00418.54
8.2.170.0070.01022.96
8.2.160.0070.00719.29
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00719.05
8.2.120.0080.00026.35
8.2.110.0120.00620.86
8.2.100.0090.00317.93
8.2.90.0040.00419.30
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0070.00318.05
8.2.50.0030.00518.09
8.2.40.0050.00322.15
8.2.30.0070.00019.43
8.2.20.0030.00617.81
8.2.10.0000.00718.01
8.2.00.0000.00718.04
8.1.280.0120.00325.92
8.1.270.0090.00022.18
8.1.260.0040.00428.09
8.1.250.0030.00528.09
8.1.240.0030.00622.55
8.1.230.0080.00319.02
8.1.220.0000.00817.77
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0050.00220.82
8.1.150.0030.00319.09
8.1.140.0040.00419.62
8.1.130.0040.00417.67
8.1.120.0030.00617.37
8.1.110.0040.00417.45
8.1.100.0050.00217.45
8.1.90.0040.00417.50
8.1.80.0070.00017.45
8.1.70.0030.00317.38
8.1.60.0000.01017.57
8.1.50.0090.00017.59
8.1.40.0000.00717.57
8.1.30.0050.00317.60
8.1.20.0040.00417.61
8.1.10.0040.00417.61
8.1.00.0000.00817.45
8.0.300.0050.00218.77
8.0.290.0020.00516.88
8.0.280.0080.00018.48
8.0.270.0030.00317.26
8.0.260.0060.00017.25
8.0.250.0000.00717.00
8.0.240.0030.00317.01
8.0.230.0070.00016.90
8.0.220.0030.00316.85
8.0.210.0000.00716.94
8.0.200.0030.00617.07
8.0.190.0070.00417.04
8.0.180.0040.00416.88
8.0.170.0030.00616.92
8.0.160.0070.00016.87
8.0.150.0080.00016.89
8.0.140.0040.00416.94
8.0.130.0030.00313.34
8.0.120.0040.00416.93
8.0.110.0050.00216.86
8.0.100.0060.00316.85
8.0.90.0000.00817.02
8.0.80.0120.00316.90
8.0.70.0000.00916.84
8.0.60.0030.00516.83
8.0.50.0000.00716.76
8.0.30.0110.00617.23
8.0.20.0130.00817.40
8.0.10.0000.00717.07
8.0.00.0100.00816.76
7.4.330.0020.00216.73
7.4.320.0070.00016.61
7.4.300.0030.00316.64
7.4.290.0040.00416.61
7.4.280.0070.00016.65
7.4.270.0030.00316.65
7.4.260.0030.00416.59
7.4.250.0070.00016.42
7.4.240.0040.00416.50
7.4.230.0000.00716.48
7.4.220.0120.00616.64
7.4.210.0150.00016.64
7.4.200.0030.00316.61
7.4.160.0100.01316.56
7.4.150.0000.01717.40
7.4.140.0070.01317.86
7.4.130.0090.00816.50
7.4.120.0160.00316.55
7.4.110.0090.00916.55
7.4.100.0030.01316.48
7.4.90.0090.00916.47
7.4.80.0160.00619.39
7.4.70.0080.00816.45
7.4.60.0110.00716.74
7.4.50.0090.00616.45
7.4.40.0150.00016.68
7.4.30.0110.00616.61
7.4.00.0040.01114.71
7.3.330.0070.00013.37
7.3.320.0000.00513.38
7.3.310.0040.00416.25
7.3.300.0030.00316.41
7.3.290.0100.00516.36
7.3.280.0070.01316.36
7.3.270.0130.00917.40
7.3.260.0160.00716.37
7.3.250.0110.01016.35
7.3.240.0060.01216.37
7.3.230.0060.01216.39
7.3.210.0060.01116.28
7.3.200.0110.01119.39
7.3.190.0070.01616.36
7.3.180.0060.01016.43
7.3.170.0030.01816.49
7.3.160.0070.01016.36
7.3.120.0030.01314.88
7.3.110.0030.01314.62
7.3.100.0030.01015.00
7.3.90.0080.00414.83
7.3.80.0100.00714.80
7.3.70.0030.00714.72
7.3.60.0060.00314.89
7.3.50.0040.00814.72
7.3.40.0030.00714.83
7.3.30.0030.01314.82
7.3.20.0000.01016.69
7.3.10.0040.01116.64
7.3.00.0060.00616.52
7.2.330.0110.01116.37
7.2.320.0040.01316.35
7.2.310.0080.00816.58
7.2.300.0160.00716.72
7.2.290.0090.01316.60
7.2.240.0030.01515.18
7.2.230.0000.00814.95
7.2.220.0040.00415.09
7.2.210.0060.00914.90
7.2.200.0060.00615.13
7.2.190.0060.01114.97
7.2.180.0040.00714.97
7.2.170.0130.00315.10
7.2.160.0110.00015.07
7.2.150.0030.01416.94
7.2.140.0070.00716.89
7.2.130.0060.00316.85
7.2.120.0000.01316.88
7.2.110.0070.01016.97
7.2.100.0060.00616.79
7.2.90.0030.00716.92
7.2.80.0040.01116.80
7.2.70.0030.01016.96
7.2.60.0030.00616.95
7.2.50.0060.00616.89
7.2.40.0070.00716.83
7.2.30.0000.00916.56
7.2.20.0130.00316.69
7.2.10.0000.01317.01
7.2.00.0000.01617.08
7.1.330.0040.01115.85
7.1.320.0100.00315.51
7.1.310.0000.00915.74
7.1.300.0040.01215.70
7.1.290.0060.00915.69
7.1.280.0030.01015.82
7.1.270.0100.00015.81
7.1.260.0000.01215.77
7.1.250.0070.01015.78
7.1.200.0060.00915.81
7.1.70.0030.00617.20
7.1.60.0170.00719.40
7.1.50.0070.00716.79
7.1.00.0030.07722.37
7.0.200.0510.00014.60
7.0.100.0070.03320.00
7.0.90.0030.05019.84
7.0.80.0030.05719.81
7.0.70.0000.04019.89
7.0.60.0000.04319.91
7.0.50.0070.04720.12
7.0.40.0030.04720.05
7.0.30.0030.04320.01
7.0.20.0100.08019.98
7.0.10.0030.04319.98
7.0.00.0100.08019.95
5.6.280.0030.06721.14
5.6.250.0000.04320.45
5.6.240.0030.04020.60
5.6.230.0030.04320.55
5.6.220.0030.05720.53
5.6.210.0100.04020.63
5.6.200.0000.04721.00
5.6.190.0170.02721.03
5.6.180.0000.04721.03
5.6.170.0070.05020.98
5.6.160.0170.07321.07
5.6.150.0130.07320.98
5.6.140.0100.08021.05
5.6.130.0030.08720.89
5.6.120.0130.07720.97
5.6.110.0070.08320.89
5.6.100.0100.09320.95
5.6.90.0030.04320.99
5.6.80.0130.07320.44
5.6.70.0070.07320.27
5.6.60.0030.05720.25
5.6.50.0100.07320.41
5.6.40.0100.08320.36
5.6.30.0100.05020.37
5.6.20.0130.07020.36
5.6.10.0130.04320.23
5.6.00.0130.07320.43
5.5.380.0100.03720.32
5.5.370.0000.04320.38
5.5.360.0030.04320.30
5.5.350.0030.04020.41
5.5.340.0000.04320.84
5.5.330.0100.03720.71
5.5.320.0170.02720.73
5.5.310.0070.03720.71
5.5.300.0100.07720.79
5.5.290.0130.07320.77
5.5.280.0070.08320.88
5.5.270.0070.08320.74
5.5.260.0130.07320.80
5.5.250.0030.05720.56
5.5.240.0130.06720.22
5.5.230.0200.07020.13
5.5.220.0030.07720.15
5.5.210.0100.08020.12
5.5.200.0100.07720.24
5.5.190.0100.07020.18
5.5.180.0170.06719.89
5.5.160.0070.07720.23
5.5.150.0030.05320.10
5.5.140.0170.03720.09
5.5.130.0130.06320.19
5.5.120.0230.06320.19
5.5.110.0200.07020.13
5.5.100.0000.08320.11
5.5.90.0200.07020.08
5.5.80.0070.04320.13
5.5.70.0130.06719.92
5.5.60.0030.08020.05
5.5.50.0030.05019.97
5.5.40.0100.07319.95
5.5.30.0100.07320.09
5.5.20.0030.07320.06
5.5.10.0100.07719.99
5.5.00.0100.05020.04

preferences:
44.89 ms | 401 KiB | 5 Q