3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __destruct() { throw new \Exception(); } } try { $a = new A(); unset($a); } catch(\Exception $x) { var_dump($x); }

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.5.10.0140.00716.82
8.5.00.0100.01320.05
8.4.160.0120.01023.85
8.4.150.0020.00014.05
8.4.140.0230.00717.54
8.4.130.0160.00518.04
8.4.120.0050.00718.84
8.4.110.0100.00818.96
8.4.100.0060.00417.64
8.4.90.0130.00720.54
8.4.80.0140.00520.66
8.4.70.0150.00518.76
8.4.60.0100.00920.45
8.4.50.0110.00922.10
8.4.40.0070.01517.87
8.4.30.0100.01017.81
8.4.20.0030.00619.83
8.4.10.0070.01417.91
8.3.290.0120.01020.73
8.3.280.0110.00818.52
8.3.270.0110.00916.68
8.3.260.0130.00716.64
8.3.250.0120.00716.55
8.3.240.0090.01016.57
8.3.230.0040.00516.56
8.3.220.0100.00818.94
8.3.210.0110.00716.54
8.3.200.0040.00516.69
8.3.190.0040.00416.89
8.3.180.0050.00318.84
8.3.170.0060.00317.27
8.3.160.0140.00416.62
8.3.150.0100.00717.19
8.3.140.0110.00717.03
8.3.130.0070.01016.71
8.3.120.0060.00318.78
8.3.110.0080.00020.94
8.3.100.0090.00016.48
8.3.90.0110.00418.63
8.3.80.0030.00618.43
8.3.70.0140.00016.50
8.3.60.0070.00718.27
8.3.50.0100.00419.28
8.3.40.0110.00418.84
8.3.30.0180.00018.89
8.3.20.0090.00020.21
8.3.10.0030.00620.52
8.3.00.0070.00023.66
8.2.300.0110.01318.81
8.2.290.0090.01017.15
8.2.280.0160.00418.25
8.2.270.0060.01216.79
8.2.260.0110.00416.98
8.2.250.0040.00418.30
8.2.240.0030.00618.79
8.2.230.0030.00622.58
8.2.220.0050.00524.06
8.2.210.0040.00426.77
8.2.200.0060.00318.29
8.2.190.0090.00616.58
8.2.180.0140.00718.29
8.2.170.0110.00722.96
8.2.160.0070.00720.43
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0080.00020.54
8.2.120.0040.00426.35
8.2.110.0030.00720.87
8.2.100.0110.00017.75
8.2.90.0000.00919.09
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0040.00417.88
8.2.50.0080.00018.10
8.2.40.0040.00420.60
8.2.30.0100.00019.05
8.2.20.0000.00717.86
8.2.10.0000.00818.15
8.2.00.0040.00417.92
8.1.340.0130.00619.57
8.1.330.0130.00516.31
8.1.320.0130.00716.18
8.1.310.0090.00616.66
8.1.300.0030.00616.43
8.1.290.0090.00018.88
8.1.280.0090.01225.92
8.1.270.0030.00522.19
8.1.260.0090.00026.35
8.1.250.0050.00328.09
8.1.240.0000.00922.78
8.1.230.0090.00317.70
8.1.220.0090.00017.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0060.00317.35
8.1.180.0040.00418.10
8.1.170.0060.00318.61
8.1.160.0040.00419.01
8.1.150.0040.00418.87
8.1.140.0040.00418.94
8.1.130.0070.00017.48
8.1.120.0000.00817.45
8.1.110.0000.00717.34
8.1.100.0000.00817.45
8.1.90.0080.00017.33
8.1.80.0070.00017.34
8.1.70.0000.00817.35
8.1.60.0000.00717.59
8.1.50.0060.00317.40
8.1.40.0000.00717.43
8.1.30.0000.00717.64
8.1.20.0000.00817.55
8.1.10.0030.00617.54
8.1.00.0040.00417.51
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.36
8.0.270.0000.00717.18
8.0.260.0000.00616.68
8.0.250.0030.00316.95
8.0.240.0040.00416.79
8.0.230.0070.00016.83
8.0.220.0080.00016.89
8.0.210.0000.00716.84
8.0.200.0020.00516.83
8.0.190.0000.00716.80
8.0.180.0040.00416.84
8.0.170.0000.00916.86
8.0.160.0030.00516.90
8.0.150.0040.00416.92
8.0.140.0040.00416.83
8.0.130.0030.00313.36
8.0.120.0040.00416.81
8.0.110.0030.00516.90
8.0.100.0040.00417.05
8.0.90.0070.00016.81
8.0.80.0030.01517.00
8.0.70.0070.00016.89
8.0.60.0080.00016.99
8.0.50.0080.00016.95
8.0.30.0100.01017.21
8.0.20.0120.00917.40
8.0.10.0040.00417.06
8.0.00.0110.01016.75
7.4.330.0030.00315.55
7.4.320.0030.00316.65
7.4.300.0000.00716.57
7.4.290.0030.00316.59
7.4.280.0060.00316.54
7.4.270.0000.00716.47
7.4.260.0040.00416.57
7.4.250.0000.00716.54
7.4.240.0020.00516.49
7.4.230.0020.00516.30
7.4.220.0000.00816.48
7.4.210.0060.00916.62
7.4.200.0000.00716.48
7.4.160.0070.01116.43
7.4.150.0090.00917.40
7.4.140.0100.01017.86
7.4.130.0130.00416.55
7.4.120.0120.00816.53
7.4.110.0080.00816.45
7.4.100.0120.00916.49
7.4.90.0030.01316.44
7.4.80.0160.01019.39
7.4.70.0240.03416.52
7.4.60.0140.00416.54
7.4.50.0000.01316.55
7.4.40.0160.00316.40
7.4.30.0140.00316.61
7.4.00.0070.01014.77
7.3.330.0020.00213.34
7.3.320.0030.00313.18
7.3.310.0050.00216.25
7.3.300.0000.00716.38
7.3.290.0100.00616.37
7.3.280.0090.00716.37
7.3.270.0090.01517.40
7.3.260.0090.00816.44
7.3.250.0110.01116.45
7.3.240.0140.00616.41
7.3.230.0100.00716.60
7.3.210.0100.00716.50
7.3.200.0130.00316.50
7.3.190.0140.00416.30
7.3.180.0160.00416.45
7.3.170.0090.00616.35
7.3.160.0060.00916.29
7.2.330.0090.00816.61
7.2.320.0090.00916.63
7.2.310.0070.01116.29
7.2.300.0070.01316.62
7.2.290.0120.00316.43
7.2.60.0000.01716.98
7.2.00.0080.00819.89
7.1.200.0200.00015.78
7.1.120.0110.00418.57
7.1.110.0030.01117.93
7.1.100.0060.01017.91
7.1.90.0030.01017.69
7.1.80.0030.01017.77
7.1.70.0100.00417.18
7.1.60.0280.00735.09
7.1.50.0110.01434.48
7.1.40.0160.00934.14
7.1.30.0190.00634.37
7.1.20.0190.00634.68
7.1.10.0030.00916.30
7.1.00.0030.00916.65

preferences:
47.11 ms | 403 KiB | 5 Q