3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo extends ArrayObject { public function __construct(CantTouchThis $that) { /* ... */ } } (new ReflectionClass('Foo'))->newInstanceWithoutConstructor();

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.0140.00418.18
8.3.50.0040.01321.92
8.3.40.0060.01218.77
8.3.30.0150.00419.00
8.3.20.0070.00020.00
8.3.10.0060.00323.66
8.3.00.0030.00617.50
8.2.180.0180.00016.50
8.2.170.0000.01422.96
8.2.160.0120.00320.35
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00421.97
8.2.110.0040.00422.08
8.2.100.0110.00017.59
8.2.90.0050.00318.94
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0000.00817.91
8.2.50.0060.00618.07
8.2.40.0040.00419.75
8.2.30.0040.00419.59
8.2.20.0070.00017.55
8.2.10.0040.00417.96
8.2.00.0040.00417.64
8.1.280.0040.01125.92
8.1.270.0040.00422.19
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00623.96
8.1.230.0110.00018.97
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.11
8.1.180.0050.00318.10
8.1.170.0030.00618.53
8.1.160.0050.00321.89
8.1.150.0100.00018.50
8.1.140.0000.00817.36
8.1.130.0070.00017.79
8.1.120.0000.00717.18
8.1.110.0040.00417.33
8.1.100.0000.00717.30
8.1.90.0050.00217.24
8.1.80.0030.00517.24
8.1.70.0000.00717.29
8.1.60.0030.00517.50
8.1.50.0000.00817.37
8.1.40.0070.00017.29
8.1.30.0040.00417.34
8.1.20.0000.00717.46
8.1.10.0070.00017.46
8.1.00.0040.00417.40
8.0.300.0050.00320.69
8.0.290.0000.00717.15
8.0.280.0070.00018.24
8.0.270.0040.00417.18
8.0.260.0030.00317.09
8.0.250.0070.00016.89
8.0.240.0000.00716.88
8.0.230.0030.00316.72
8.0.220.0000.00716.74
8.0.210.0000.00716.78
8.0.200.0060.00016.90
8.0.190.0050.00316.80
8.0.180.0040.00416.70
8.0.170.0030.00516.84
8.0.160.0070.00016.63
8.0.150.0040.00416.60
8.0.140.0030.00316.80
8.0.130.0030.00313.24
8.0.120.0000.00716.72
8.0.110.0040.00416.77
8.0.100.0030.00316.79
8.0.90.0030.00316.63
8.0.80.0080.00816.79
8.0.70.0000.00816.63
8.0.60.0000.00716.54
8.0.50.0080.00016.73
8.0.30.0090.00917.00
8.0.20.0100.00817.40
8.0.10.0070.00016.91
8.0.00.0080.00916.63
7.4.330.0060.00015.00
7.4.320.0070.00016.55
7.4.300.0060.00016.36
7.4.290.0040.00416.38
7.4.280.0100.00016.35
7.4.270.0030.00316.50
7.4.260.0040.00416.40
7.4.250.0040.00416.41
7.4.240.0000.00716.43
7.4.230.0070.00016.51
7.4.220.0110.00616.31
7.4.210.0070.00916.38
7.4.200.0070.00016.35
7.4.190.0030.00316.60
7.4.160.0160.00316.47
7.4.150.0060.01317.40
7.4.140.0080.00917.86
7.4.130.0080.00916.54
7.4.120.0120.00516.17
7.4.110.0070.01116.39
7.4.100.0110.00716.48
7.4.90.0120.01216.29
7.4.80.0130.00819.39
7.4.70.0080.00816.39
7.4.60.0030.01216.25
7.4.50.0040.00416.34
7.4.40.0090.00916.41
7.4.30.0100.00716.32
7.4.00.0000.01614.97
7.3.330.0050.00013.27
7.3.320.0060.00013.11
7.3.310.0000.00716.08
7.3.300.0020.00516.05
7.3.290.0040.01016.14
7.3.280.0060.01116.18
7.3.270.0070.01017.40
7.3.260.0090.00816.30
7.3.250.0100.01016.25
7.3.240.0070.00816.41
7.3.230.0080.00816.39
7.3.210.0100.00616.14
7.3.200.0090.00919.39
7.3.190.0090.00916.18
7.3.180.0090.00616.34
7.3.170.0060.01316.27
7.3.160.0000.01516.14
7.3.120.0080.00814.63
7.2.330.0060.01216.21
7.2.320.0070.01416.54
7.2.310.0120.00416.26
7.2.300.0040.01316.48
7.2.290.0070.01016.46
7.1.200.0050.00515.74
7.1.70.0040.00416.78
7.1.60.0040.01919.46
7.1.50.0110.01416.68
7.1.00.0030.07722.36
7.0.200.0030.00316.59
7.0.140.0100.06722.12
7.0.100.0200.07719.96
7.0.90.0330.07019.86
7.0.80.0070.04019.94
7.0.70.0070.07319.89
7.0.60.0170.06019.87
7.0.50.0070.08720.20
7.0.40.0100.08020.08
7.0.30.0070.08320.11
7.0.20.0030.09020.14
7.0.10.0130.06719.99
7.0.00.0200.07720.07
5.6.280.0130.06021.11
5.6.250.0030.07320.66
5.6.240.0070.08720.61
5.6.230.0100.07320.66
5.6.220.0070.06320.50
5.6.210.0030.05020.65
5.6.200.0100.08021.09
5.6.190.0130.07321.07
5.6.180.0170.07321.17
5.6.170.0100.07020.95
5.6.160.0030.08021.01
5.6.150.0070.07721.07
5.6.140.0130.08020.96
5.6.130.0100.08721.00
5.6.120.0170.08020.96
5.6.110.0100.06721.01
5.6.100.0100.08021.02
5.6.90.0130.08021.02
5.6.80.0000.07720.55
5.6.70.0100.08020.44
5.6.60.0170.07720.48
5.6.50.0100.04320.50
5.6.40.0170.06720.25
5.6.30.0170.05320.39
5.6.20.0130.06720.44
5.6.10.0100.04320.49
5.6.00.0070.04720.40
5.5.380.0130.06020.51
5.5.370.0100.06720.52
5.5.360.0070.04020.47
5.5.350.0070.05020.46
5.5.340.0070.04720.92
5.5.330.0170.07720.89
5.5.320.0070.08320.91
5.5.310.0100.05320.86
5.5.300.0070.08020.82
5.5.290.0070.07020.84
5.5.280.0130.04020.77
5.5.270.0100.06020.91
5.5.260.0270.06320.80
5.5.250.0130.08020.58
5.5.240.0100.06320.30
5.5.230.0130.07720.29
5.5.220.0130.07020.13
5.5.210.0070.08020.30
5.5.200.0030.06020.15
5.5.190.0070.08020.00
5.5.180.0070.04720.16
5.5.160.0030.04020.00
5.5.150.0130.06320.27
5.5.140.0030.05720.08
5.5.130.0170.06320.09
5.5.120.0130.07020.28
5.5.110.0100.07020.25
5.5.100.0000.05320.18
5.5.90.0030.09020.07
5.5.80.0130.07720.07
5.5.70.0170.07020.09
5.5.60.0130.06719.96
5.5.50.0030.08720.05
5.5.40.0130.07720.15
5.5.30.0100.07720.06
5.5.20.0030.05020.09
5.5.10.0070.03720.07
5.5.00.0070.07720.03
5.4.450.0130.07019.48
5.4.440.0070.07719.45
5.4.430.0170.07719.50
5.4.420.0070.05719.57
5.4.410.0130.03719.32
5.4.400.0100.06719.04
5.4.390.0130.07018.85
5.4.380.0070.08718.88
5.4.370.0130.05318.93
5.4.360.0170.07019.16
5.4.350.0130.07319.21
5.4.340.0070.06718.95
5.4.320.0170.05019.05
5.4.310.0100.07719.15
5.4.300.0200.06019.04
5.4.290.0070.07019.12
5.4.280.0100.08318.90
5.4.270.0100.06719.04
5.4.260.0070.06319.16
5.4.250.0070.07019.12
5.4.240.0030.07319.20
5.4.230.0070.07719.04
5.4.220.0070.07719.17
5.4.210.0070.06319.12
5.4.200.0100.07319.13
5.4.190.0030.08719.07
5.4.180.0100.06718.84
5.4.170.0030.08019.22
5.4.160.0030.08018.83
5.4.150.0070.04719.11
5.4.140.0070.08016.37
5.4.130.0100.06716.36
5.4.120.0000.07716.36
5.4.110.0170.07016.34
5.4.100.0100.07316.50
5.4.90.0030.06016.44
5.4.80.0070.06016.42
5.4.70.0100.07316.39
5.4.60.0100.06716.30
5.4.50.0030.06716.47
5.4.40.0100.03716.27
5.4.30.0070.06016.44
5.4.20.0100.04316.44
5.4.10.0070.03316.44
5.4.00.0070.07715.79
5.3.290.0030.08014.65
5.3.280.0100.07714.65
5.3.270.0170.07014.65
5.3.260.0070.08314.65
5.3.250.0100.03714.65
5.3.240.0130.05014.65
5.3.230.0070.07314.65
5.3.220.0100.06314.65
5.3.210.0100.04714.65
5.3.200.0000.06714.66
5.3.190.0100.07714.66
5.3.180.0130.04714.65
5.3.170.0130.07014.70
5.3.160.0000.04714.65
5.3.150.0130.06314.65
5.3.140.0130.07314.65
5.3.130.0100.07314.65
5.3.120.0100.07314.65
5.3.110.0100.04714.65
5.3.100.0130.06314.65
5.3.90.0070.07714.65
5.3.80.0070.07014.65
5.3.70.0070.06314.65
5.3.60.0070.06014.65
5.3.50.0030.04314.65
5.3.40.0030.07314.65
5.3.30.0100.06714.65
5.3.20.0030.04014.65
5.3.10.0070.05014.65
5.3.00.0170.06014.65
5.2.170.0030.06314.65
5.2.160.0070.03014.65
5.2.150.0030.03014.65
5.2.140.0070.05714.65
5.2.130.0030.06014.65
5.2.120.0100.05014.65
5.2.110.0070.06014.65
5.2.100.0100.05714.65
5.2.90.0070.06014.65
5.2.80.0130.05314.65
5.2.70.0100.06014.65
5.2.60.0070.05014.65
5.2.50.0030.05014.65
5.2.40.0000.03314.65
5.2.30.0000.06714.65
5.2.20.0030.03314.65
5.2.10.0030.05714.65
5.2.00.0000.06014.65
5.1.60.0000.03014.65
5.1.50.0030.05314.65
5.1.40.0030.05314.65
5.1.30.0070.04014.65
5.1.20.0100.05014.65
5.1.10.0030.05714.65
5.1.00.0070.04314.65
5.0.50.0000.04714.65
5.0.40.0070.03314.65
5.0.30.0100.06014.65
5.0.20.0070.03314.65
5.0.10.0000.04714.65
5.0.00.0030.06314.65
4.4.90.0030.03014.65
4.4.80.0000.01714.65
4.4.70.0000.01714.65
4.4.60.0100.03014.65
4.4.50.0030.03314.65
4.4.40.0000.05714.65
4.4.30.0030.03314.65
4.4.20.0030.04014.65
4.4.10.0030.02714.65
4.4.00.0000.03314.65
4.3.110.0070.03014.65
4.3.100.0030.03314.65
4.3.90.0100.02314.65
4.3.80.0030.05014.65
4.3.70.0030.03014.65
4.3.60.0130.02314.65
4.3.50.0030.01714.65
4.3.40.0000.05014.65
4.3.30.0030.03314.65
4.3.20.0030.02714.65
4.3.10.0030.03714.65
4.3.00.0070.02314.65

preferences:
44.49 ms | 400 KiB | 5 Q