3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = null; $e = &$var; try { throw new Exception; } catch (Exception $e) { } assert('$e !== null'); assert('$var !== null');

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.1.130.0000.00717.56
8.1.120.0000.00717.43
8.1.110.0070.00017.45
8.1.100.0000.00717.39
8.1.90.0070.00317.45
8.1.80.0030.00517.35
8.1.70.0070.00017.34
8.1.60.0080.00317.43
8.1.50.0040.00417.42
8.1.40.0050.00517.57
8.1.30.0040.00417.61
8.1.20.0000.00817.61
8.1.10.0000.00817.48
8.1.00.0030.00617.55
8.0.260.0000.00617.11
8.0.250.0060.00017.00
8.0.240.0030.00716.91
8.0.230.0030.00316.96
8.0.220.0000.01116.90
8.0.210.0050.00316.87
8.0.200.0060.00317.01
8.0.190.0040.00416.93
8.0.180.0000.00716.98
8.0.170.0000.00816.93
8.0.160.0070.00016.89
8.0.150.0000.00816.86
8.0.140.0070.00416.89
8.0.130.0050.00013.33
8.0.120.0040.00416.95
8.0.110.0050.00216.84
8.0.100.0070.00016.82
8.0.90.0070.00016.79
8.0.80.0090.00617.01
8.0.70.0070.00016.95
8.0.60.0030.00517.00
8.0.50.0040.00416.85
8.0.30.0090.00617.10
8.0.20.0100.00817.40
8.0.10.0030.00517.03
8.0.00.0040.01416.66
7.4.330.0030.00315.15
7.4.320.0000.00616.58
7.4.300.0030.00316.50
7.4.290.0050.00216.50
7.4.280.0050.00316.65
7.4.270.0000.00716.55
7.4.260.0050.00216.49
7.4.250.0050.00316.36
7.4.240.0030.00316.56
7.4.230.0030.00316.49
7.4.220.0070.00716.45
7.4.210.0130.00716.57
7.4.200.0050.00216.66
7.4.160.0080.00816.37
7.4.150.0070.01017.40
7.4.140.0080.01017.86
7.4.130.0110.00916.55
7.4.120.0060.01116.60
7.4.110.0090.01516.59
7.4.100.0070.01016.33
7.4.90.0070.01116.53
7.4.80.0160.00019.39
7.4.70.0120.00316.53
7.4.60.0080.00816.47
7.4.50.0040.01116.64
7.4.40.0070.01016.54
7.4.30.0090.00616.41
7.4.00.0120.00614.79
7.3.330.0000.00513.29
7.3.320.0030.00313.30
7.3.310.0000.00716.40
7.3.300.0030.00316.36
7.3.290.0120.00416.43
7.3.280.0100.01016.39
7.3.270.0080.00917.40
7.3.260.0130.00316.53
7.3.250.0120.00716.52
7.3.240.0150.00916.47
7.3.230.0070.01416.59
7.3.210.0070.01016.38
7.3.200.0100.00616.54
7.3.190.0120.00616.37
7.3.180.0100.01016.46
7.3.170.0100.00716.31
7.3.160.0080.00816.49
7.2.330.0060.01216.55
7.2.320.0130.00316.73
7.2.310.0080.00816.43
7.2.300.0140.00816.70
7.2.290.0100.00716.79
7.2.60.0060.01016.86
7.1.200.0120.00315.85
7.1.70.0050.00317.21
7.1.60.0080.00417.16
7.1.50.0000.01016.52
7.1.40.0040.01816.51
7.1.30.0100.00716.55
7.1.20.0000.01116.57
7.1.10.0000.00716.23
7.1.00.0000.00816.64
7.0.200.0000.00716.52
7.0.190.0020.00516.71
7.0.180.0060.00616.23
7.0.170.0000.01215.95
7.0.160.0000.00816.05
7.0.150.0030.00616.19
7.0.140.0000.00816.03
7.0.130.0070.00416.66
7.0.120.0050.00216.67
7.0.110.0040.00416.29
7.0.100.0000.00816.30
7.0.90.0040.00416.13
7.0.80.0040.00416.52
7.0.70.0000.00716.38
7.0.60.0000.01015.79
7.0.50.0050.00316.33
7.0.40.0050.00214.87
7.0.30.0000.00714.87
7.0.20.0000.00814.87
7.0.10.0000.00714.87
7.0.00.0030.00614.87
5.6.300.0370.02720.90
5.6.290.0030.04120.70
5.6.280.0070.03720.84
5.6.270.0130.04020.95
5.6.260.0000.04520.84
5.6.250.0070.03720.76
5.6.240.0060.04120.88
5.6.230.0090.03420.80
5.6.220.0000.04420.76
5.6.210.0030.03920.78
5.6.200.0030.04020.77
5.6.190.0030.04020.93
5.6.180.0100.03420.91
5.6.170.0070.03620.90
5.6.160.0070.03620.80
5.6.150.0030.04020.95
5.6.140.0170.04420.75
5.6.130.0140.03820.90
5.6.120.0070.03720.99
5.6.110.0000.06620.70
5.6.100.0000.04520.68
5.6.90.0030.04320.66
5.6.80.0030.03720.38
5.6.70.0030.03820.27
5.6.60.0030.04420.20
5.6.50.0030.03720.38
5.6.40.0040.04220.26
5.6.30.0030.04320.36
5.6.20.0030.05120.07
5.6.10.0070.03920.30
5.6.00.0000.04520.02
5.5.380.0030.03917.54
5.5.370.0000.04717.37
5.5.360.0100.03517.36
5.5.350.0070.04417.45
5.5.340.0030.04017.89
5.5.330.0070.03617.66
5.5.320.0030.03918.10
5.5.310.0000.05517.99
5.5.300.0000.04117.98
5.5.290.0070.03917.95
5.5.280.0030.09017.95
5.5.270.0060.04217.95
5.5.260.0000.04717.79
5.5.250.0030.04217.46
5.5.240.0000.03917.14
5.5.230.0000.04317.05
5.5.220.0040.03517.47
5.5.210.0030.04117.36
5.5.200.0030.03717.33
5.5.190.0030.07916.97
5.5.180.0030.04417.11
5.5.160.0000.04117.32
5.5.150.0060.03917.29
5.5.140.0060.03416.96
5.5.130.0100.04217.24
5.5.120.0000.04717.32
5.5.110.0270.04317.00
5.5.100.0000.04617.18
5.5.90.0030.04117.17
5.5.80.0230.03616.86
5.5.70.0030.03817.03
5.5.60.0000.04417.13
5.5.50.0030.03917.21
5.5.40.0060.03616.86
5.5.30.0000.04817.02
5.5.20.0070.04617.21
5.5.10.0000.04317.22
5.5.00.0170.03017.19
5.4.450.0070.03719.27
5.4.440.0000.04719.13
5.4.430.0030.04019.09
5.4.420.0000.05619.42
5.4.410.0030.05418.99
5.4.400.0070.06518.95
5.4.390.0040.03918.94
5.4.380.0060.03219.13
5.4.370.0000.04919.02
5.4.360.0000.04219.10
5.4.350.0030.07718.90
5.4.340.0030.03818.97
5.4.320.0000.04218.81
5.4.310.0030.04618.73
5.4.300.0070.03319.03
5.4.290.0000.06118.96
5.4.280.0130.04418.96
5.4.270.0070.03618.81
5.4.260.0100.04019.00
5.4.250.0170.04418.93
5.4.240.0030.04118.99
5.4.230.0070.03618.79
5.4.220.0030.04718.96
5.4.210.0000.04419.04
5.4.200.0030.04219.03
5.4.190.0030.03918.96
5.4.180.0030.04118.72
5.4.170.0030.04018.99
5.4.160.0000.04018.98
5.4.150.0000.04819.02
5.4.140.0030.03416.39
5.4.130.0000.04316.59
5.4.120.0000.04116.43
5.4.110.0000.04216.64
5.4.100.0000.05216.65
5.4.90.0090.03116.63
5.4.80.0160.03516.50
5.4.70.0000.03616.30
5.4.60.0000.03816.52
5.4.50.0070.03216.56
5.4.40.0000.03916.59
5.4.30.0130.02816.40
5.4.20.0000.04416.40
5.4.10.0030.04216.53
5.4.00.0000.04215.93
5.3.290.0000.04614.87
5.3.280.0000.04014.87
5.3.270.0030.04114.87
5.3.260.0130.03314.87
5.3.250.0170.03314.87
5.3.240.0000.04114.87
5.3.230.0030.04014.87
5.3.220.0030.03914.87
5.3.210.0030.06514.87
5.3.200.0000.04314.87
5.3.190.0030.03714.87
5.3.180.0030.04014.87
5.3.170.0000.04314.87
5.3.160.0070.03114.87
5.3.150.0000.03914.87
5.3.140.0100.03214.87
5.3.130.0030.03514.87
5.3.120.0030.04514.87
5.3.110.0030.04014.87
5.3.100.0000.04414.87
5.3.90.0000.04014.87
5.3.80.0030.04814.87
5.3.70.0140.03814.87
5.3.60.0060.03214.87
5.3.50.0000.04014.87
5.3.40.0030.03314.87
5.3.30.0030.03514.87
5.3.20.0000.03714.87
5.3.10.0030.03614.87
5.3.00.0070.03314.87
5.2.170.0030.03114.87
5.2.160.0000.03414.87
5.2.150.0030.02914.87
5.2.140.0030.04614.87
5.2.130.0030.03514.87
5.2.120.0000.03214.87
5.2.110.0070.02714.87
5.2.100.0070.03114.87
5.2.90.0030.03014.87
5.2.80.0000.03514.87
5.2.70.0000.03214.87
5.2.60.0030.03114.87
5.2.50.0030.02814.87
5.2.40.0000.03214.87
5.2.30.0030.02814.87
5.2.20.0000.03214.87
5.2.10.0000.02914.87
5.2.00.0030.04714.87
5.1.60.0100.02914.87
5.1.50.0030.02414.87
5.1.40.0030.03214.87
5.1.30.0060.02514.87
5.1.20.0030.02414.87
5.1.10.0030.02314.87
5.1.00.0130.02214.87
5.0.50.0060.01914.87
5.0.40.0030.01914.87
5.0.30.0200.03714.87
5.0.20.0040.02214.87
5.0.10.0000.02014.87
5.0.00.0000.03114.87
4.4.90.0000.01714.87
4.4.80.0030.01514.87
4.4.70.0030.01314.87
4.4.60.0060.01214.87
4.4.50.0060.01214.87
4.4.40.0030.02214.87
4.4.30.0030.01414.87
4.4.20.0000.01814.87
4.4.10.0030.01314.87
4.4.00.0000.02614.87
4.3.110.0030.01414.87
4.3.100.0030.01714.87
4.3.90.0000.01514.87
4.3.80.0200.02014.87
4.3.70.0000.01714.87
4.3.60.0000.02014.87
4.3.50.0030.01314.87
4.3.40.0030.02314.87
4.3.30.0000.01614.87
4.3.20.0030.01314.87
4.3.10.0000.01814.87
4.3.00.0030.01514.87

preferences:
12.47 ms | 406 KiB | 5 Q