3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Manager { public $content_storage=''; public function __toString() { return $this->content_storage; } } abstract class EntryClass { public static function Launch() { return new FluentInterface; } } class FluentInterface extends Manager { public function __construct() { /** * Что-нибудь инициализируем */ } public static function _GetObject($n,array $params) { return $n.'<br>'.PHP_EOL;; } } echo $FI=EntryClass::Launch() ->First() ->Second() ->Third(); /* Выведет First Second Third */ ?>

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.40.0170.00018.93
8.3.30.0120.00618.76
8.3.20.0000.00818.82
8.3.10.0030.00518.73
8.3.00.0090.00619.38
8.2.170.0000.01822.96
8.2.160.0120.00319.01
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00719.65
8.2.110.0070.00321.07
8.2.100.0080.00319.63
8.2.90.0030.00519.05
8.2.80.0030.00517.97
8.2.70.0050.00317.75
8.2.60.0080.00017.80
8.2.50.0040.00418.07
8.2.40.0050.00319.25
8.2.30.0070.00417.77
8.2.20.0090.00017.62
8.2.10.0030.00517.63
8.2.00.0030.00617.67
8.1.270.0040.00423.99
8.1.260.0100.00026.35
8.1.250.0050.00328.09
8.1.240.0060.00321.23
8.1.230.0040.00722.13
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0060.00317.22
8.1.180.0050.00318.10
8.1.170.0000.01018.64
8.1.160.0000.00718.96
8.1.150.0030.00518.58
8.1.140.0040.00417.33
8.1.130.0000.00717.44
8.1.120.0040.00417.48
8.1.110.0000.00817.30
8.1.100.0050.00217.29
8.1.90.0000.00717.46
8.1.80.0040.00417.32
8.1.70.0000.00717.38
8.1.60.0030.00617.43
8.1.50.0040.00417.45
8.1.40.0040.00417.52
8.1.30.0080.00017.34
8.1.20.0040.00417.58
8.1.10.0020.00517.48
8.1.00.0040.00417.31
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0030.00318.57
8.0.270.0070.00017.25
8.0.260.0000.00616.88
8.0.250.0050.00517.05
8.0.240.0040.00416.98
8.0.230.0080.00017.02
8.0.220.0110.00016.97
8.0.210.0030.00416.98
8.0.200.0030.00316.95
8.0.190.0040.00416.88
8.0.180.0040.00417.02
8.0.170.0030.00616.96
8.0.160.0040.00416.97
8.0.150.0060.00316.86
8.0.140.0040.00416.95
8.0.130.0000.00513.43
8.0.120.0030.00616.94
8.0.110.0030.00316.84
8.0.100.0050.00217.02
8.0.90.0000.00716.74
8.0.80.0000.01516.91
8.0.70.0070.00016.91
8.0.60.0000.00816.98
8.0.50.0060.00317.00
8.0.30.0130.00717.29
8.0.20.0150.00617.11
8.0.10.0000.00716.80
8.0.00.0070.01516.59
7.4.330.0060.00012.79
7.4.320.0030.00316.50
7.4.300.0060.00016.36
7.4.290.0000.00816.55
7.4.280.0000.00816.23
7.4.270.0000.00716.58
7.4.260.0040.00413.33
7.4.250.0030.00516.41
7.4.240.0000.00716.38
7.4.230.0100.00016.60
7.4.220.0030.01216.45
7.4.210.0060.00916.59
7.4.200.0030.00316.26
7.4.190.0000.00816.61
7.4.160.0210.00016.31
7.4.150.0100.01016.59
7.4.140.0090.00917.86
7.4.130.0110.00816.57
7.4.120.0110.00716.56
7.4.110.0070.01016.57
7.4.100.0150.00316.32
7.4.90.0030.01416.47
7.4.80.0130.00919.39
7.4.70.0140.00916.63
7.4.60.0130.00316.52
7.4.50.0000.00516.40
7.4.40.0060.01216.51
7.4.30.0090.00816.29
7.4.00.0080.00814.76
7.3.330.0000.00613.33
7.3.320.0050.00013.21
7.3.310.0000.00716.26
7.3.300.0030.00316.38
7.3.290.0060.00816.33
7.3.280.0070.01316.23
7.3.270.0060.01216.52
7.3.260.0140.00416.40
7.3.240.0080.00816.41
7.3.230.0090.00616.43
7.3.210.0090.00916.29
7.3.200.0070.01016.45
7.3.190.0030.01316.50
7.3.180.0030.01416.34
7.3.170.0040.01116.38
7.3.160.0100.00716.57
7.3.120.0050.00914.97
7.3.110.0090.00914.83
7.3.100.0020.01414.65
7.3.90.0010.01414.63
7.3.80.0080.00814.89
7.3.70.0040.00914.72
7.3.60.0090.00614.76
7.3.50.0030.00814.77
7.3.40.0060.00314.74
7.3.30.0130.00314.57
7.3.20.0120.00516.57
7.3.10.0090.00716.50
7.3.00.0070.00716.43
7.2.330.0130.00316.58
7.2.320.0140.00416.59
7.2.310.0140.00916.45
7.2.300.0120.00816.49
7.2.290.0070.01016.32
7.2.250.0070.01214.93
7.2.240.0040.01615.08
7.2.230.0080.00814.76
7.2.220.0000.01414.81
7.2.210.0080.00914.48
7.2.200.0050.00814.86
7.2.190.0030.01114.73
7.2.180.0060.00914.68
7.2.170.0050.00814.93
7.2.60.0110.00016.78
7.1.330.0080.00715.67
7.1.320.0060.01015.61
7.1.310.0070.00815.66
7.1.300.0000.01515.55
7.1.290.0080.00615.63
7.1.280.0060.00915.51
7.1.270.0050.01115.48
7.1.260.0040.00815.66
7.1.200.0070.00715.67
7.1.100.0030.00617.77
7.1.70.0040.01117.16
7.1.60.0150.00919.21
7.1.50.0110.01116.54
7.1.00.0000.03722.36
7.0.200.0080.00416.67
7.0.140.0100.06722.09
7.0.120.0000.07721.95
7.0.60.0070.08019.86
7.0.50.0000.04317.86
7.0.40.0100.05719.96
7.0.30.0300.05320.10
7.0.20.0300.05720.10
7.0.10.0170.05020.12
7.0.00.0030.07320.07
5.6.280.0030.07320.91
5.6.210.0100.05720.76
5.6.200.0070.05018.18
5.6.190.0100.09020.52
5.6.180.0270.05020.59
5.6.170.0400.07020.54
5.6.160.0070.06320.50
5.6.150.0130.07318.16
5.6.140.0100.04318.17
5.6.130.0100.07718.18
5.6.120.0000.05321.13
5.6.110.0070.08321.15
5.6.100.0030.09021.02
5.6.90.0130.05021.02
5.6.80.0230.06720.38
5.6.70.0270.07020.42
5.5.350.0230.05020.50
5.5.340.0170.04317.97
5.5.330.0070.08320.42
5.5.320.0030.04720.47
5.5.310.0270.05720.30
5.5.300.0030.04718.07
5.5.290.0030.08318.07
5.5.280.0070.08720.66
5.5.270.0070.07720.97
5.5.260.0170.06320.79
5.5.250.0030.08320.80
5.5.240.0130.07320.08
5.4.450.0100.07319.57
5.4.440.0070.06319.48
5.4.430.0100.06019.29
5.4.420.0100.07319.45
5.4.410.0100.04319.20
5.4.400.0130.07018.93
5.4.390.0030.08019.16
5.4.380.0130.06018.98
5.4.370.0170.06719.08
5.4.360.0100.07319.15
5.4.350.0100.07319.14
5.4.340.0070.04719.16
5.4.320.0100.06019.08
5.4.310.0130.07719.24
5.4.300.0070.04019.24
5.4.290.0070.03719.14
5.4.280.0170.03019.12
5.4.270.0070.06718.85
5.4.260.0030.05319.15
5.4.250.0100.04019.23
5.4.240.0070.07718.95
5.4.230.0070.07718.84
5.4.220.0100.07718.86
5.4.210.0130.06719.23
5.4.200.0070.04719.24
5.4.190.0130.07318.96
5.4.180.0130.07019.24
5.4.170.0100.05319.23
5.4.160.0030.05318.99
5.4.150.0100.07718.99
5.4.140.0070.06716.40
5.4.130.0070.05316.43
5.4.120.0100.06316.41
5.4.110.0030.03716.58
5.4.100.0030.03716.50
5.4.90.0130.03316.51
5.4.80.0100.06716.53
5.4.70.0070.03316.45
5.4.60.0130.03716.39
5.4.50.0070.07016.31
5.4.40.0000.07716.43
5.4.30.0000.08316.64
5.4.20.0070.06016.38
5.4.10.0030.07016.36
5.4.00.0030.04315.77
5.3.290.0000.08314.66
5.3.280.0100.08014.63
5.3.270.0070.04714.76
5.3.260.0070.05314.75
5.3.250.0000.05314.60
5.3.240.0070.07014.77
5.3.230.0130.07014.61
5.3.220.0030.04714.62
5.3.210.0100.07314.62
5.3.200.0070.04714.72
5.3.190.0130.04314.74
5.3.180.0030.04314.60
5.3.170.0100.04014.61
5.3.160.0070.04714.64
5.3.150.0070.07314.57
5.3.140.0070.04714.58
5.3.130.0070.05014.69
5.3.120.0070.06714.64
5.3.110.0030.05014.60
5.3.100.0100.05314.04
5.3.90.0030.07713.91
5.3.80.0170.06314.07
5.3.70.0030.05314.18
5.3.60.0030.07714.00
5.3.50.0030.07713.99
5.3.40.0070.04713.86
5.3.30.0000.05313.94
5.3.20.0070.06713.62
5.3.10.0100.06313.63
5.3.00.0070.05013.64
5.2.170.0030.03311.20
5.2.160.0070.06011.11
5.2.150.0100.02711.12
5.2.140.0030.04011.15
5.2.130.0000.05311.04
5.2.120.0030.05311.04
5.2.110.0070.04311.09
5.2.100.0070.04011.18
5.2.90.0070.03311.00
5.2.80.0030.03311.18
5.2.70.0070.06011.09
5.2.60.0070.02711.21
5.2.50.0030.06310.96
5.2.40.0100.05710.89
5.2.30.0000.06711.00
5.2.20.0070.06010.96
5.2.10.0030.05710.90
5.2.00.0000.04010.73
5.1.60.0030.0309.99
5.1.50.0100.0309.98
5.1.40.0070.0479.95
5.1.30.0100.03310.39
5.1.20.0030.02710.35
5.1.10.0070.02310.22
5.1.00.0030.06310.14
5.0.50.0070.0378.88
5.0.40.0100.0378.88
5.0.30.0030.0678.88
5.0.20.0070.0438.88
5.0.10.0000.0308.88
5.0.00.0000.0338.88
4.4.90.0030.0138.88
4.4.80.0030.0208.88
4.4.70.0000.0278.88
4.4.60.0000.0378.88
4.4.50.0030.0338.88
4.4.40.0000.0538.88
4.4.30.0070.0278.88
4.4.20.0070.0108.88
4.4.10.0070.0138.88
4.4.00.0100.0478.88
4.3.110.0030.0378.88
4.3.100.0070.0238.88
4.3.90.0000.0208.88
4.3.80.0030.0238.88
4.3.70.0000.0378.88
4.3.60.0000.0338.88
4.3.50.0070.0278.88
4.3.40.0100.0438.88
4.3.30.0000.0208.88
4.3.20.0070.0138.88
4.3.10.0000.0178.88
4.3.00.0000.0138.88

preferences:
40.79 ms | 400 KiB | 5 Q