3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ /** * Location Header * * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 */ class Location extends AbstractLocation { /** * Return header name * * @return string */ public function getFieldName() { return 'Location'; } }

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.0070.01116.63
8.3.50.0090.01021.93
8.3.40.0110.00418.84
8.3.30.0070.00718.82
8.3.20.0040.00420.38
8.3.10.0000.00823.54
8.3.00.0000.00820.55
8.2.180.0060.01618.26
8.2.170.0040.01122.96
8.2.160.0100.01020.25
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.90
8.2.120.0000.00826.35
8.2.110.0090.00022.44
8.2.100.0040.00817.93
8.2.90.0080.00019.14
8.2.80.0060.00317.97
8.2.70.0000.00917.63
8.2.60.0080.00318.05
8.2.50.0000.00918.07
8.2.40.0000.00822.37
8.2.30.0080.00020.68
8.2.20.0070.00017.75
8.2.10.0040.00418.04
8.2.00.0000.00717.93
8.1.280.0160.00025.92
8.1.270.0040.01120.36
8.1.260.0040.00428.09
8.1.250.0080.00528.09
8.1.240.0030.00622.42
8.1.230.0110.00019.09
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0030.00517.12
8.1.180.0040.00418.10
8.1.170.0000.00818.18
8.1.160.0040.00420.76
8.1.150.0040.00418.77
8.1.140.0040.00419.51
8.1.130.0030.00317.64
8.1.120.0080.00017.43
8.1.110.0000.00717.35
8.1.100.0000.00717.36
8.1.90.0050.00217.40
8.1.80.0000.00817.38
8.1.70.0000.00817.28
8.1.60.0030.00517.59
8.1.50.0050.00317.48
8.1.40.0080.00017.44
8.1.30.0030.00517.64
8.1.20.0050.00317.48
8.1.10.0040.00717.53
8.1.00.0070.00017.34
8.0.300.0000.00718.77
8.0.290.0050.00216.88
8.0.280.0030.00318.43
8.0.270.0030.00317.32
8.0.260.0030.00317.18
8.0.250.0030.00316.95
8.0.240.0000.00716.91
8.0.230.0030.00317.05
8.0.220.0030.00316.97
8.0.210.0040.00416.93
8.0.200.0050.00217.01
8.0.190.0080.00016.93
8.0.180.0000.00816.98
8.0.170.0030.00516.84
8.0.160.0000.00716.88
8.0.150.0040.00417.03
8.0.140.0040.00416.91
8.0.130.0000.00613.37
8.0.120.0000.00816.81
8.0.110.0050.00216.80
8.0.100.0020.00517.00
8.0.90.0050.00217.01
8.0.80.0070.01117.02
8.0.70.0050.00317.00
8.0.60.0040.00416.95
8.0.50.0000.00817.00
8.0.30.0100.00917.16
8.0.20.0070.01117.40
8.0.10.0030.00517.08
8.0.00.0120.00816.74
7.4.330.0000.00516.77
7.4.320.0000.00616.57
7.4.300.0030.00316.52
7.4.290.0030.00616.55
7.4.280.0040.00416.49
7.4.270.0070.00016.45
7.4.260.0000.00816.46
7.4.250.0090.00016.51
7.4.240.0030.00516.54
7.4.230.0040.00416.33
7.4.220.0100.01616.39
7.4.210.0030.01316.63
7.4.200.0040.00316.48
7.4.160.0090.00616.41
7.4.150.0070.01017.40
7.4.140.0120.00717.86
7.4.130.0090.00916.52
7.4.120.0100.01116.47
7.4.110.0190.00316.69
7.4.100.0170.00316.57
7.4.90.0060.01616.39
7.4.80.0060.01119.39
7.4.70.0190.00516.44
7.4.60.0130.00316.39
7.4.50.0030.01216.40
7.4.40.0060.01116.46
7.4.30.0070.01316.37
7.4.00.0070.00715.15
7.3.330.0000.00513.13
7.3.320.0030.00313.13
7.3.310.0040.00416.40
7.3.300.0040.00416.16
7.3.290.0120.00516.29
7.3.280.0080.01016.24
7.3.270.0130.01017.40
7.3.260.0150.00316.42
7.3.250.0100.01116.37
7.3.240.0050.01216.42
7.3.230.0100.01016.39
7.3.210.0150.00716.32
7.3.200.0090.01216.43
7.3.190.0070.01016.59
7.3.180.0040.01216.32
7.3.170.0030.01216.33
7.3.160.0130.00616.44
7.3.120.0140.00314.77
7.3.110.0040.00714.80
7.3.100.0100.00714.89
7.3.90.0070.01014.44
7.3.80.0070.01014.73
7.3.70.0100.01014.71
7.3.60.0070.01014.72
7.3.50.0060.01014.51
7.3.40.0070.00414.84
7.3.30.0000.01514.90
7.3.20.0100.00316.62
7.3.10.0100.00316.75
7.3.00.0040.00716.70
7.2.330.0090.01216.44
7.2.320.0140.00716.42
7.2.310.0130.00316.57
7.2.300.0150.00416.46
7.2.290.0100.00716.51
7.2.240.0060.00914.82
7.2.230.0080.00414.92
7.2.220.0110.00414.84
7.2.210.0030.01014.70
7.2.200.0100.01014.80
7.2.190.0120.00314.86
7.2.180.0030.01214.55
7.2.170.0060.00614.88
7.2.160.0030.00714.68
7.2.150.0030.00916.44
7.2.140.0030.01016.72
7.2.130.0000.01716.92
7.2.120.0070.00716.61
7.2.110.0070.00716.41
7.2.100.0040.01116.86
7.2.90.0110.00016.86
7.2.80.0150.00316.67
7.2.70.0190.00016.61
7.2.60.0060.00516.79
7.2.50.0100.00716.55
7.2.40.0000.01516.66
7.2.30.0030.00916.74
7.2.20.0030.01216.64
7.2.10.0000.01516.67
7.2.00.0030.00916.85
7.1.330.0070.00715.75
7.1.320.0100.00615.52
7.1.310.0030.01315.57
7.1.300.0070.00715.50
7.1.290.0070.00715.64
7.1.280.0090.00315.38
7.1.270.0030.01015.64
7.1.260.0060.00615.58
7.1.250.0100.00315.52
7.1.200.0030.01015.66
7.1.70.0040.00416.68
7.1.60.0080.01519.52
7.1.50.0000.01116.86
7.1.00.0100.06722.30
7.0.200.0000.00816.79
7.0.60.0100.06019.93
7.0.50.0030.08017.84
7.0.40.0100.06020.14
7.0.30.0430.03720.07
7.0.20.0200.08720.03
7.0.10.0000.04720.19
7.0.00.0130.07720.18
5.6.280.0030.07320.99
5.6.210.0100.06020.67
5.6.200.0100.04018.27
5.6.190.0070.06020.79
5.6.180.0230.07020.41
5.6.170.0230.05720.56
5.6.160.0030.04320.39
5.6.150.0100.08018.15
5.6.140.0200.05718.18
5.6.130.0070.04318.24
5.6.120.0070.04021.10
5.6.110.0170.06320.89
5.6.100.0070.04020.88
5.6.90.0070.08320.95
5.6.80.0030.04320.51
5.5.350.4200.03720.38
5.5.340.0000.04318.04
5.5.330.0000.04320.26
5.5.320.0570.05320.30
5.5.310.0330.06320.26
5.5.300.0130.07318.04
5.5.290.0130.06317.94
5.5.280.0070.09020.88
5.5.270.0030.08320.76
5.5.260.0070.08320.72
5.5.250.0030.05020.68
5.5.240.3500.03020.27

preferences:
39.24 ms | 401 KiB | 5 Q