3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Class Controller */ class Controller { /** * @param Conference $conference */ public function __construct(Conference $conference) { $this->conference = $conference; } /** * @return array */ public function speakersAction() { $speakers = $this->conference->listSpeakers(); /** Pass to template or CLI runner **/ return $speakers; } } /** Controller Resolver **/ $controller = 'Controller'; // Retrieved from URL + YAML config $action = 'speakersAction'; // Retrieved from URL + Yaml config $params = array(); // Retrieved from GET / POST parameters return (new $controller)->$action($params);

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.0120.00916.62
8.3.50.0040.01416.25
8.3.40.0040.01118.83
8.3.30.0130.01018.66
8.3.20.0000.00720.19
8.3.10.0060.00323.66
8.3.00.0000.00819.57
8.2.180.0070.01018.29
8.2.170.0150.00322.96
8.2.160.0060.01020.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0060.00317.50
8.2.110.0030.00622.05
8.2.100.0090.00317.50
8.2.90.0000.00819.05
8.2.80.0030.00517.97
8.2.70.0060.00317.49
8.2.60.0050.00317.80
8.2.50.0050.00518.07
8.2.40.0100.00019.28
8.2.30.0040.00419.79
8.2.20.0050.00317.73
8.2.10.0040.00418.13
8.2.00.0000.00918.03
8.1.280.0140.00725.92
8.1.270.0100.01020.21
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.42
8.1.230.0060.00617.42
8.1.220.0050.00317.79
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0000.00917.13
8.1.180.0000.00818.10
8.1.170.0080.00018.55
8.1.160.0000.00721.88
8.1.150.0040.00418.80
8.1.140.0050.00217.44
8.1.130.0000.00717.60
8.1.120.0030.00517.28
8.1.110.0070.00317.44
8.1.100.0050.00317.39
8.1.90.0030.00417.46
8.1.80.0040.00417.36
8.1.70.0030.00317.39
8.1.60.0090.00417.43
8.1.50.0080.00017.50
8.1.40.0050.00317.56
8.1.30.0100.00017.56
8.1.20.0040.00417.61
8.1.10.0040.00417.61
8.1.00.0040.00417.54
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0070.00018.36
8.0.270.0000.00716.84
8.0.260.0040.00417.17
8.0.250.0000.00616.98
8.0.240.0000.00716.96
8.0.230.0070.00016.98
8.0.220.0000.00816.91
8.0.210.0070.00016.88
8.0.200.0030.00317.00
8.0.190.0060.00316.98
8.0.180.0050.00216.86
8.0.170.0030.00616.95
8.0.160.0040.00416.95
8.0.150.0000.00716.88
8.0.140.0080.00016.75
8.0.130.0000.00813.35
8.0.120.0000.00816.93
8.0.110.0040.00416.93
8.0.100.0000.00716.97
8.0.90.0050.00516.80
8.0.80.0040.01116.86
8.0.70.0040.00416.93
8.0.60.0050.00216.69
8.0.50.0040.00416.93
8.0.30.0130.00717.21
8.0.20.0070.01117.40
8.0.10.0000.00717.03
8.0.00.0140.00416.67
7.4.330.0000.00615.08
7.4.320.0030.00616.45
7.4.300.0060.00016.50
7.4.290.0030.00316.42
7.4.280.0000.00716.59
7.4.270.0030.00316.63
7.4.260.0070.00016.59
7.4.250.0040.00416.63
7.4.240.0020.00516.57
7.4.230.0030.00316.52
7.4.220.0070.01816.56
7.4.210.0060.00916.68
7.4.200.0030.00316.51
7.4.160.0110.01116.79
7.4.150.0110.01517.40
7.4.140.0110.00617.86
7.4.130.0110.01016.70
7.4.120.0140.00616.64
7.4.110.0080.01116.65
7.4.100.0030.01916.52
7.4.90.0150.00616.45
7.4.80.0060.01819.39
7.4.70.0110.00516.63
7.4.60.0110.00716.64
7.4.50.0050.00016.47
7.4.40.0060.00916.57
7.4.30.0070.01016.57
7.4.00.0100.00714.91
7.3.330.0070.00013.42
7.3.320.0050.00013.25
7.3.310.0000.00716.43
7.3.300.0000.00616.35
7.3.290.0070.01016.44
7.3.280.0110.00616.46
7.3.270.0000.01717.40
7.3.260.0000.01716.38
7.3.250.0110.00616.38
7.3.240.0170.00016.45
7.3.230.0130.00316.39
7.3.210.0090.00916.43
7.3.200.0130.00316.56
7.3.190.0080.01116.46
7.3.180.0100.00716.63
7.3.170.0060.01516.43
7.3.160.0080.00916.34
7.2.330.0060.01216.53
7.2.320.0100.00716.52
7.2.310.0090.00616.63
7.2.300.0090.00916.51
7.2.290.0070.01516.33
7.2.60.0060.01016.79
7.2.00.0100.00519.35
7.1.200.0030.00915.64
7.1.100.0050.01017.82
7.1.70.0000.00916.95
7.1.60.0070.01719.17
7.1.50.0060.00616.87
7.1.00.0070.07322.30
7.0.200.0040.00416.57
7.0.60.0030.07719.86
7.0.50.0130.07317.90
7.0.40.0170.07720.13
7.0.30.0530.05020.23
7.0.20.0200.05320.24
7.0.10.0030.05020.05
7.0.00.0030.04720.06
5.6.280.0030.03021.05
5.6.210.0070.05720.70
5.6.200.0130.08318.23
5.6.190.0000.09020.68
5.6.180.0170.05720.67
5.6.170.0130.05720.51
5.6.160.0100.04720.71
5.6.150.0070.08318.18
5.6.140.0070.03718.18
5.6.130.0030.04318.27
5.6.120.0100.07721.00
5.6.110.0130.09021.04
5.6.100.0070.08020.97
5.6.90.0130.08720.98
5.6.80.0300.05720.54
5.6.70.4430.03720.38
5.5.350.0100.07720.53
5.5.340.0070.08017.98
5.5.330.0100.07720.29
5.5.320.0200.04020.38
5.5.310.0200.05320.26
5.5.300.0100.05718.09
5.5.290.0200.07018.07
5.5.280.0030.04020.80
5.5.270.0070.04020.88
5.5.260.0100.07720.85
5.5.250.0070.04020.59
5.5.240.0000.07720.26
5.4.450.0370.07319.20
5.4.440.0300.07719.40
5.4.430.0270.04019.63
5.4.420.0270.03719.39
5.4.410.0300.04319.46
5.4.400.0300.06719.08
5.4.390.0330.06019.22
5.4.380.0330.07019.21
5.4.370.0270.03719.31
5.4.360.0230.03719.31
5.4.350.0170.04018.98
5.4.340.0200.03318.88
5.4.320.0130.04719.00
5.4.310.0170.04318.85
5.4.300.0170.05719.18
5.4.290.0230.05719.21
5.4.280.0200.07019.06
5.4.270.0230.03319.07
5.4.260.0230.04018.98
5.4.250.0170.04718.84
5.4.240.0170.05718.86
5.4.230.0270.03319.19
5.4.220.0270.03318.94
5.4.210.0230.03319.16
5.4.200.0230.04018.86
5.4.190.0130.05018.97
5.4.180.0270.03019.21
5.4.170.0170.04019.00
5.4.160.0130.04018.85
5.4.150.0200.04019.18
5.4.140.0200.03316.36
5.4.130.0230.03016.30
5.4.120.0200.03316.38
5.4.110.0200.03716.54
5.4.100.0270.03016.58
5.4.90.0270.04716.45
5.4.80.0330.03716.59

preferences:
43.01 ms | 400 KiB | 5 Q