3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*$class = new ReflectionClass('EngineException'); echo $class->getParentClass();*/ function f($a){ $a->method(); } try { // oops! } catch (EngineException $e) { echo "Exception: {$e->getMessage()}\n"; }

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.0070.01116.50
8.3.50.0060.01121.04
8.3.40.0080.00818.68
8.3.30.0150.00018.71
8.3.20.0070.00020.35
8.3.10.0070.00023.66
8.3.00.0090.00019.43
8.2.180.0150.00018.54
8.2.170.0150.00022.96
8.2.160.0090.00620.55
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0050.00326.16
8.2.120.0060.00317.35
8.2.110.0090.00322.15
8.2.100.0040.00717.80
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0080.00017.34
8.2.60.0040.00417.68
8.2.50.0040.00418.07
8.2.40.0050.00321.01
8.2.30.0060.00320.61
8.2.20.0050.00317.55
8.2.10.0020.00517.98
8.2.00.0040.00417.98
8.1.280.0040.01125.92
8.1.270.0000.00823.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00722.53
8.1.230.0070.00417.63
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0000.00817.25
8.1.180.0080.00018.10
8.1.170.0040.00420.31
8.1.160.0000.00721.86
8.1.150.0070.00018.76
8.1.140.0000.00819.55
8.1.130.0000.00817.57
8.1.120.0000.01017.33
8.1.110.0040.00417.30
8.1.100.0000.00817.31
8.1.90.0000.00717.21
8.1.80.0080.00017.37
8.1.70.0030.00317.29
8.1.60.0040.00417.47
8.1.50.0070.00417.42
8.1.40.0040.00417.33
8.1.30.0000.00817.49
8.1.20.0000.00817.43
8.1.10.0040.00417.29
8.1.00.0000.00717.30
8.0.300.0060.00318.77
8.0.290.0000.00716.58
8.0.280.0070.00018.30
8.0.270.0030.00317.15
8.0.260.0000.00817.03
8.0.250.0000.00716.74
8.0.240.0030.00316.81
8.0.230.0070.00016.69
8.0.220.0040.00416.82
8.0.210.0000.00816.68
8.0.200.0060.00016.84
8.0.190.0080.00016.71
8.0.180.0000.00816.77
8.0.170.0070.00016.77
8.0.160.0040.00416.75
8.0.150.0020.00516.77
8.0.140.0040.00416.76
8.0.130.0000.00613.25
8.0.120.0050.00316.61
8.0.110.0030.00316.66
8.0.100.0040.00416.65
8.0.90.0070.00016.66
8.0.80.0030.01816.71
8.0.70.0000.00816.82
8.0.60.0000.00716.71
8.0.50.0000.00716.73
8.0.30.0130.00516.91
8.0.20.0130.00917.40
8.0.10.0000.00716.78
8.0.00.0130.00616.50
7.4.330.0000.00515.08
7.4.320.0030.00316.39
7.4.300.0020.00516.50
7.4.290.0040.00416.45
7.4.280.0000.00816.37
7.4.270.0070.00016.38
7.4.260.0030.00316.29
7.4.250.0040.00416.31
7.4.240.0050.00216.49
7.4.230.0000.00716.53
7.4.220.0150.00316.27
7.4.210.0070.01416.41
7.4.200.0030.00316.49
7.4.160.0120.00416.16
7.4.150.0070.01117.40
7.4.140.0100.01217.86
7.4.130.0090.01316.40
7.4.120.0100.00716.35
7.4.110.0130.00416.20
7.4.100.0060.01216.45
7.4.90.0060.01016.39
7.4.80.0090.01219.39
7.4.70.0120.00616.36
7.4.60.0100.01016.38
7.4.50.0030.00616.43
7.4.40.0130.00516.52
7.4.30.0180.00316.59
7.4.00.0070.00914.86
7.3.330.0060.00013.16
7.3.320.0030.00312.91
7.3.310.0000.00715.98
7.3.300.0000.00716.04
7.3.290.0060.00816.14
7.3.280.0090.00716.16
7.3.270.0070.01117.40
7.3.260.0150.00716.15
7.3.240.0120.00916.27
7.3.230.0070.01016.45
7.3.210.0120.00816.11
7.3.200.0090.00916.49
7.3.190.0000.01616.37
7.3.180.0160.00716.32
7.3.170.0090.00916.27
7.3.160.0120.00916.32
7.3.120.0060.01314.61
7.3.110.0030.01414.55
7.3.100.0040.01114.76
7.3.90.0030.01314.70
7.3.80.0040.00714.64
7.3.70.0090.00914.75
7.3.60.0040.00414.61
7.3.50.0120.00314.72
7.3.40.0070.01114.73
7.3.30.0070.00714.32
7.3.20.0040.01116.33
7.3.10.0100.00716.31
7.3.00.0120.00716.51
7.2.330.0070.01416.49
7.2.320.0070.01016.57
7.2.310.0100.00716.38
7.2.300.0060.01016.36
7.2.290.0100.01316.55
7.2.250.0060.01314.77
7.2.240.0070.01414.94
7.2.230.0090.00615.07
7.2.220.0030.01014.88
7.2.210.0080.00814.79
7.2.200.0060.00314.62
7.2.190.0060.01014.94
7.2.180.0120.00315.00
7.2.170.0040.01114.38
7.2.130.0130.00316.57
7.2.120.0150.00616.46
7.2.110.0100.00616.55
7.2.100.0090.00616.77
7.2.90.0090.00916.50
7.2.80.0070.01016.74
7.2.70.0080.00416.55
7.2.60.0050.00916.75
7.2.50.0110.00616.46
7.2.40.0070.00716.87
7.2.30.0090.00916.81
7.2.20.0100.00716.54
7.2.10.0110.00416.31
7.2.00.0090.00817.86
7.1.330.0040.00715.44
7.1.320.0100.00315.82
7.1.310.0090.00915.43
7.1.300.0060.00315.61
7.1.290.0100.00715.55
7.1.280.0040.00715.54
7.1.270.0040.01215.35
7.1.260.0040.01115.36
7.1.250.0120.00415.65
7.1.200.0100.00315.59
7.1.100.0030.01317.73
7.1.70.0030.00716.93
7.1.60.0000.01119.50
7.1.50.0070.01416.71
7.1.00.0030.07722.42
7.0.200.0160.00414.80
7.0.60.0000.04720.03
7.0.50.0070.08017.88
7.0.40.0070.04320.30
7.0.30.0230.04020.33
7.0.20.0270.08320.16
7.0.10.0070.08020.33
7.0.00.0000.04320.25
5.6.280.0030.03020.91
5.6.210.0130.07320.75
5.6.200.0030.05318.29
5.6.190.0100.04320.77
5.6.180.0270.08320.52
5.6.170.0430.07720.54
5.6.160.0130.05020.51
5.6.150.0070.03718.22
5.6.140.0070.07718.19
5.6.130.0030.04018.16
5.6.120.0070.04020.89
5.6.110.0170.07721.04
5.6.100.0070.08020.98
5.6.90.0070.08321.08
5.6.80.0100.07020.52
5.5.350.0030.03020.36
5.5.340.0130.07017.98
5.5.330.0070.04020.29
5.5.320.2730.04720.35
5.5.310.0300.08720.36
5.5.300.0030.05317.97
5.5.290.0030.04717.96
5.5.280.0200.04720.65
5.5.270.0070.08720.86
5.5.260.0070.08320.79
5.5.250.0100.07320.50
5.5.240.0000.08020.16
5.4.450.0900.05319.45
5.4.440.0900.07319.70
5.4.430.0800.05719.16
5.4.420.0930.05019.55
5.4.410.0970.05319.34
5.4.400.0870.05319.15
5.4.390.0900.06019.38
5.4.380.0630.06019.28
5.4.370.1130.07019.30
5.4.360.1030.07719.11
5.4.350.0930.07319.11
5.4.340.0830.04019.00
5.4.320.0870.05319.23
5.4.310.0830.05019.13
5.4.300.0700.06319.14
5.4.290.0670.06019.14
5.4.280.0800.06319.25
5.4.270.1030.08019.14
5.4.260.0700.08019.13
5.4.250.0330.05318.96
5.4.240.0130.05019.27
5.4.230.0700.05019.07
5.4.220.0300.07319.27
5.4.210.0170.07019.25
5.4.200.0500.08019.24
5.4.190.0670.05319.25
5.4.180.0000.06019.13
5.4.170.0300.04719.25
5.4.160.0600.06319.27
5.4.150.0270.06319.26
5.4.140.0770.05316.55
5.4.130.0730.03716.57
5.4.120.0400.04716.57
5.4.110.0430.06716.52
5.4.100.0500.06016.44
5.4.90.0600.05016.61
5.4.80.0670.05016.60
5.4.70.0200.03716.49
5.4.60.0070.06716.53
5.4.50.0000.03716.38
5.4.40.0300.06716.41
5.4.30.0400.05716.43
5.4.20.0030.03716.53

preferences:
54.37 ms | 401 KiB | 5 Q