3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Station { public $platform = null; public function start() { $this->platform = new Platform(); $this->platform->ConfigurePlatform('test'); } public function getOrders() { return $this->platform->GetOrdersFromPlatform(); } } class Platform { private $orders = null; public function ConfigurePlatform($string) { $this->orders = $string; return $this; } public function GetOrdersFromPlatform() { return $this->orders; } } $test = new Station(); $test->start(); echo $test->platform->GetOrdersFromPlatform(); //or echo $test->getOrders();

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.30.0100.01021.13
8.5.20.0060.01219.55
8.5.10.0130.01016.81
8.5.00.0120.01020.02
8.4.180.0130.00921.52
8.4.170.0110.01020.37
8.4.160.0110.01123.93
8.4.150.0090.00416.86
8.4.140.0140.01217.46
8.4.130.0110.00917.86
8.4.120.0130.00720.54
8.4.110.0080.01122.34
8.4.100.0090.00417.80
8.4.90.0130.00718.57
8.4.80.0140.00717.82
8.4.70.0050.00417.59
8.4.60.0090.01018.84
8.4.50.0110.00920.37
8.4.40.0130.00717.61
8.4.30.0030.01619.08
8.4.20.0000.00918.61
8.4.10.0040.00417.30
8.3.300.0100.01120.82
8.3.290.0050.00618.40
8.3.280.0090.01218.14
8.3.270.0120.00816.51
8.3.260.0110.00816.56
8.3.250.0080.00718.80
8.3.240.0130.00616.41
8.3.230.0100.01016.68
8.3.220.0080.00517.33
8.3.210.0030.00418.37
8.3.200.0030.00616.60
8.3.190.0110.00917.09
8.3.180.0040.00318.56
8.3.170.0180.00017.18
8.3.160.0120.00918.35
8.3.150.0110.00720.62
8.3.140.0140.00018.95
8.3.130.0090.00618.28
8.3.120.0050.00317.02
8.3.110.0000.00716.50
8.3.100.0070.00716.75
8.3.90.0070.00018.31
8.3.80.0030.00617.97
8.3.70.0150.00318.43
8.3.60.0110.00418.43
8.3.50.0090.00517.18
8.3.40.0110.00418.90
8.3.30.0070.00718.67
8.3.20.0080.00019.25
8.3.10.0040.00423.48
8.3.00.0040.00422.34
8.2.300.0110.01118.12
8.2.290.0100.00120.88
8.2.280.0110.00718.39
8.2.270.0160.00317.07
8.2.260.0070.00019.15
8.2.250.0080.00018.52
8.2.240.0060.00318.78
8.2.230.0090.00020.94
8.2.220.0090.00924.06
8.2.210.0130.00726.77
8.2.200.0040.00418.16
8.2.190.0110.00716.75
8.2.180.0090.00616.75
8.2.170.0110.00322.96
8.2.160.0070.00721.02
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00021.06
8.2.110.0090.00021.03
8.2.100.0040.00717.78
8.2.90.0080.00017.63
8.2.80.0100.00017.97
8.2.70.0050.00318.04
8.2.60.0070.00018.22
8.2.50.0040.00418.10
8.2.40.0030.00621.20
8.2.30.0030.00420.69
8.2.20.0040.00417.99
8.2.10.0040.00417.96
8.2.00.0000.00719.24
8.1.340.0140.00621.48
8.1.330.0100.00921.63
8.1.320.0090.01116.00
8.1.310.0140.00720.20
8.1.300.0040.00418.32
8.1.290.0090.00018.88
8.1.280.0140.00325.92
8.1.270.0070.00024.66
8.1.260.0090.00026.35
8.1.250.0140.00428.09
8.1.240.0030.00622.77
8.1.230.0120.00318.95
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0050.00317.23
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00818.81
8.1.160.0060.00318.87
8.1.150.0000.00718.83
8.1.140.0000.00919.06
8.1.130.0030.00518.88
8.1.120.0000.00817.45
8.1.110.0040.00417.28
8.1.100.0000.00817.41
8.1.90.0030.00517.36
8.1.80.0000.00917.41
8.1.70.0070.00017.43
8.1.60.0060.00317.57
8.1.50.0040.00417.50
8.1.40.0000.00717.51
8.1.30.0060.00317.54
8.1.20.0050.00217.61
8.1.10.0000.00717.59
8.1.00.0000.00817.44
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.44
8.0.270.0000.00717.10
8.0.260.0060.00318.40
8.0.250.0000.00817.01
8.0.240.0040.00416.89
8.0.230.0050.00216.89
8.0.220.0030.00316.79
8.0.210.0000.00716.83
8.0.200.0000.00716.78
8.0.190.0030.00616.91
8.0.180.0070.00016.88
8.0.170.0030.00616.78
8.0.160.0070.00016.93
8.0.150.0000.00716.73
8.0.140.0030.00316.77
8.0.130.0000.00713.19
8.0.120.0070.00016.70
8.0.110.0040.00416.82
8.0.100.0000.00816.65
8.0.90.0030.00516.84
8.0.80.0080.00916.84
8.0.70.0040.00416.63
8.0.60.0050.00316.65
8.0.50.0000.00716.86
8.0.30.0120.00717.06
8.0.20.0140.00517.40
8.0.10.0040.00416.94
8.0.00.0100.00916.89
7.4.330.0000.00415.55
7.4.320.0040.00416.55
7.4.300.0000.00716.44
7.4.290.0070.00016.46
7.4.280.0050.00216.44
7.4.270.0030.00316.49
7.4.260.0040.00416.63
7.4.250.0000.00716.44
7.4.240.0000.00716.51
7.4.230.0030.00316.41
7.4.220.0000.00916.46
7.4.210.0100.00516.54
7.4.200.0000.00716.48
7.4.160.0070.00816.55
7.4.140.0090.01217.86
7.4.130.0030.01416.64
7.4.120.0090.00916.54
7.4.110.0110.00616.50
7.4.100.0090.01316.54
7.4.90.0120.00616.52
7.4.80.0120.00919.39
7.4.70.0130.00316.50
7.4.60.0110.00616.42
7.4.50.0030.01016.55
7.4.40.0120.01116.54
7.4.00.0070.00714.57
7.3.330.0000.00513.22
7.3.320.0000.00713.05
7.3.310.0030.00316.26
7.3.300.0060.00016.15
7.3.290.0060.00316.30
7.3.280.0090.01016.29
7.3.260.0110.01016.51
7.3.240.0090.00816.41
7.3.230.0110.01116.31
7.3.210.0000.01616.65
7.3.200.0090.01216.23
7.3.190.0090.00916.63
7.3.180.0140.00716.45
7.3.170.0120.00316.38
7.3.160.0130.00616.36
7.2.330.0100.00616.40
7.2.320.0190.00616.65
7.2.310.0030.01716.36
7.2.300.0130.01016.40
7.2.290.0080.01216.39
7.2.90.0560.01014.65
7.2.80.0850.01015.10
7.2.70.1180.00314.80
7.2.60.0720.01115.05
7.2.50.0760.00315.17
7.2.40.0980.00315.02
7.2.30.0770.01014.85
7.2.20.0770.01314.88
7.2.10.0610.00614.76
7.2.00.0930.00014.99
7.1.210.0780.00713.89
7.1.200.1000.00713.93
7.1.190.0800.00613.83
7.1.180.1220.00913.79
7.1.170.0620.00313.88
7.1.160.0830.00714.03
7.1.150.0870.00613.95
7.1.140.0850.00313.94
7.1.130.0650.01013.89
7.1.120.1250.00913.48
7.1.110.0700.00613.79
7.1.100.0690.01314.08
7.1.90.0640.00713.72
7.1.80.0760.00614.07
7.1.70.0940.00613.77
7.1.60.0390.01031.89
7.1.50.0460.00931.91
7.1.40.1290.00331.84
7.1.30.0280.00331.87
7.1.20.0330.00331.86
7.1.10.0120.00413.84
7.1.00.1020.00013.82

preferences:
146.25 ms | 1416 KiB | 5 Q