3v4l.org

run code in 300+ PHP versions simultaneously
<?php /******************************************************************************* * Copyright 2009-2015 Amazon Services. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * You may obtain a copy of the License at: http://aws.amazon.com/apache2.0 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. ******************************************************************************* * PHP Version 5 * @category Amazon * @package MWS Customer Service * @version 2014-03-01 * Library Version: 2015-03-12 * Generated: Wed Mar 11 20:28:49 GMT 2015 */ /** * @see MWSCustomerService_Model */ require_once (dirname(__FILE__) . '/../Model.php'); /** * MWSCustomerService_Model_GetServiceStatusResult * * Properties: * <ul> * * <li>Status: string</li> * <li>Timestamp: string</li> * * </ul> */ class MWSCustomerService_Model_GetServiceStatusResult extends MWSCustomerService_Model { public function __construct($data = null) { $this->_fields = array ( 'Status' => array('FieldValue' => null, 'FieldType' => 'string'), 'Timestamp' => array('FieldValue' => null, 'FieldType' => 'string'), ); parent::__construct($data); } /** * Get the value of the Status property. * * @return String Status. */ public function getStatus() { return $this->_fields['Status']['FieldValue']; } /** * Set the value of the Status property. * * @param string status * @return this instance */ public function setStatus($value) { $this->_fields['Status']['FieldValue'] = $value; return $this; } /** * Check to see if Status is set. * * @return true if Status is set. */ public function isSetStatus() { return !is_null($this->_fields['Status']['FieldValue']); } /** * Set the value of Status, return this. * * @param status * The new value to set. * * @return This instance. */ public function withStatus($value) { $this->setStatus($value); return $this; } /** * Get the value of the Timestamp property. * * @return XMLGregorianCalendar Timestamp. */ public function getTimestamp() { return $this->_fields['Timestamp']['FieldValue']; } /** * Set the value of the Timestamp property. * * @param string timestamp * @return this instance */ public function setTimestamp($value) { $this->_fields['Timestamp']['FieldValue'] = $value; return $this; } /** * Check to see if Timestamp is set. * * @return true if Timestamp is set. */ public function isSetTimestamp() { return !is_null($this->_fields['Timestamp']['FieldValue']); } /** * Set the value of Timestamp, return this. * * @param timestamp * The new value to set. * * @return This instance. */ public function withTimestamp($value) { $this->setTimestamp($value); return $this; } }

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.0150.00618.21
8.3.50.0130.00422.06
8.3.40.0030.01319.02
8.3.30.0120.00318.92
8.3.20.0080.00020.16
8.3.10.0040.00421.90
8.3.00.0000.00819.38
8.2.180.0100.01018.46
8.2.170.0040.01522.96
8.2.160.0120.00320.44
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00319.36
8.2.110.0100.00021.04
8.2.100.0060.00617.75
8.2.90.0000.00819.05
8.2.80.0060.00317.97
8.2.70.0040.00417.63
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0040.00420.01
8.2.30.0080.00018.09
8.2.20.0050.00317.72
8.2.10.0040.00418.16
8.2.00.0040.00417.84
8.1.280.0110.00425.92
8.1.270.0060.00318.88
8.1.260.0070.00026.35
8.1.250.0090.00628.09
8.1.240.0060.00323.88
8.1.230.0040.00818.79
8.1.220.0040.00417.78
8.1.210.0000.00918.77
8.1.200.0030.00617.38
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0030.00520.30
8.1.160.0040.00421.97
8.1.150.0040.00418.86
8.1.140.0040.00417.41
8.1.130.0000.00717.73
8.1.120.0040.00417.27
8.1.110.0000.00817.41
8.1.100.0070.00017.28
8.1.90.0030.00417.34
8.1.80.0000.00817.45
8.1.70.0000.00817.45
8.1.60.0000.00717.66
8.1.50.0000.00917.59
8.1.40.0030.00617.49
8.1.30.0000.00917.75
8.1.20.0040.00417.66
8.1.10.0030.00617.58
8.1.00.0070.00017.45
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00818.54
8.0.270.0000.00817.35
8.0.260.0040.00417.26
8.0.250.0070.00016.95
8.0.240.0030.00317.08
8.0.230.0040.00417.07
8.0.220.0000.00816.93
8.0.210.0000.00717.05
8.0.200.0060.00317.00
8.0.190.0000.00817.14
8.0.180.0080.00416.95
8.0.170.0040.00417.09
8.0.160.0040.00417.04
8.0.150.0000.00716.94
8.0.140.0040.00416.98
8.0.130.0030.00313.40
8.0.120.0020.00715.26
8.0.110.0060.00215.23
8.0.100.0010.00715.18
8.0.90.0080.00015.27
8.0.80.0080.00515.29
8.0.70.0050.00215.13
8.0.60.0030.00615.27
8.0.50.0040.00415.28
8.0.30.0080.00915.86
8.0.20.0070.00916.09
8.0.10.0080.00015.11
8.0.00.0040.01015.66
7.4.330.0000.00515.11
7.4.320.0000.00616.54
7.4.300.0030.00316.44
7.4.290.0040.00416.66
7.4.280.0000.00716.56
7.4.270.0030.00316.63
7.4.260.0000.00716.64
7.4.250.0070.00114.84
7.4.240.0030.00515.45
7.4.230.0030.00514.85
7.4.220.0080.00514.92
7.4.210.0060.00814.91
7.4.200.0030.00414.97
7.4.190.0000.00513.33
7.4.180.0050.00013.39
7.4.160.0060.00514.94
7.4.150.0030.00915.36
7.4.140.0100.00516.31
7.4.130.0090.00615.37
7.4.120.0080.00515.36
7.4.110.0060.00614.85
7.4.100.0070.00714.87
7.4.90.0040.00714.93
7.4.80.0100.00416.29
7.4.70.0060.00614.90
7.4.60.0050.00714.84
7.4.50.0060.00114.73
7.4.40.0090.00514.70
7.4.30.0060.00514.80
7.4.20.0030.00313.12
7.4.10.0000.00513.15
7.4.00.0050.00614.40
7.3.330.0000.00513.31
7.3.320.0000.01313.34
7.3.310.0060.00114.81
7.3.300.0050.00114.90
7.3.290.0070.00815.62
7.3.280.0050.01215.56
7.3.270.0030.00815.38
7.3.260.0040.00914.85
7.3.250.0190.00915.41
7.3.240.0030.00814.87
7.3.230.0110.00114.90
7.3.220.0030.00313.15
7.3.210.0110.00314.87
7.3.200.0110.00216.34
7.3.190.0100.00514.85
7.3.180.0060.00514.94
7.3.170.0050.01014.91
7.3.160.0030.00814.97
7.3.150.0030.00313.30
7.3.140.0050.00013.36
7.3.130.0000.00513.17
7.3.120.0090.00214.04
7.3.110.0050.00613.99
7.3.100.0040.00714.02
7.3.90.0060.00614.02
7.3.80.0050.00514.21
7.3.70.0030.00913.93
7.3.60.0030.00614.01
7.3.50.0050.00314.17
7.3.40.0020.00614.11
7.3.30.0000.00714.01
7.3.20.0060.00315.80
7.3.10.0060.00516.09
7.3.00.0080.00416.15
7.2.340.0060.00613.05
7.2.330.0090.01014.82
7.2.320.0080.00915.03
7.2.310.0090.01114.92
7.2.300.0070.00814.96
7.2.290.0110.00514.83
7.2.280.0080.00413.24
7.2.270.0080.00413.25
7.2.260.0100.00213.29
7.2.250.0080.00714.12
7.2.240.0060.01014.12
7.2.230.0070.00614.04
7.2.220.0040.00713.82
7.2.210.0090.00514.04
7.2.200.0040.00914.16
7.2.190.0090.00614.18
7.2.180.0050.00813.97
7.2.170.0050.00514.11
7.2.160.0120.00013.42
7.2.150.0140.00015.23
7.2.140.0130.00015.22
7.2.130.0080.00616.08
7.2.120.0100.00516.04
7.2.110.0080.00316.04
7.2.100.0100.00415.87
7.2.90.0070.00516.03
7.2.80.0050.00615.76
7.2.70.0130.00216.04
7.2.60.0030.00916.08
7.2.50.0070.00415.91
7.2.40.0080.00615.95
7.2.30.0070.00616.01
7.2.20.0100.00416.12
7.2.10.0100.00416.03
7.2.00.0030.00917.20
7.1.330.0050.00714.90
7.1.320.0070.00414.98
7.1.310.0090.00514.99
7.1.300.0080.00514.98
7.1.290.0050.00914.94
7.1.280.0050.00514.97
7.1.270.0050.00714.89
7.1.260.0060.00814.96
7.1.250.0080.00514.98
7.1.240.0000.01214.02
7.1.230.0130.00014.31
7.1.220.0100.00214.36
7.1.210.0080.00414.33
7.1.200.0100.00214.00
7.1.190.0120.00014.33
7.1.180.0120.00014.00
7.1.170.0120.00013.98
7.1.160.0090.00314.13
7.1.150.0120.00014.23
7.1.140.0040.00814.24
7.1.130.0000.01214.23
7.1.120.0060.00614.19
7.1.110.0040.00814.05
7.1.100.0050.00815.95
7.1.90.0090.00414.24
7.1.80.0070.00514.37
7.1.70.0030.00915.49
7.1.60.0080.00716.90
7.1.50.0120.00715.46
7.1.40.0060.00614.11
7.1.30.0120.00014.26
7.1.20.0000.01214.23
7.1.10.0070.00414.14
7.1.00.0110.03518.30
7.0.330.0080.00414.15
7.0.320.0080.00414.20
7.0.310.0090.00214.27
7.0.300.0100.00214.17
7.0.290.0100.00314.18
7.0.280.0120.00014.14
7.0.270.0090.00314.05
7.0.260.0110.00014.27
7.0.250.0080.00414.13
7.0.240.0070.00414.25
7.0.230.0090.00314.12
7.0.220.0060.00614.02
7.0.210.0090.00314.13
7.0.200.0040.00615.39
7.0.190.0030.00914.23
7.0.180.0110.00013.97
7.0.170.0120.00014.23
7.0.160.0120.00014.14
7.0.150.0060.00614.14
7.0.140.0080.03218.08
7.0.130.0100.00213.98
7.0.120.0090.00314.12
7.0.110.0060.00613.91
7.0.100.0090.00213.92
7.0.90.0120.00014.07
7.0.80.0120.00014.00
7.0.70.0080.00513.91
7.0.60.0100.02016.96
7.0.50.0090.01815.96
7.0.40.0140.03517.19
7.0.30.0300.03517.01
7.0.20.0140.02317.06
7.0.10.0170.03917.18
7.0.00.0110.04417.15
5.6.400.0110.00012.83
5.6.390.0060.00612.79
5.6.380.0060.00612.82
5.6.370.0120.00012.67
5.6.360.0100.00212.75
5.6.350.0090.00212.71
5.6.340.0080.00312.71
5.6.330.0110.00012.64
5.6.320.0110.00012.51
5.6.310.0110.00012.62
5.6.300.0060.00512.62
5.6.290.0110.00012.51
5.6.280.0060.03916.73
5.6.270.0080.00412.64
5.6.260.0040.00712.79
5.6.250.0110.00012.32
5.6.240.0040.00712.46
5.6.230.0090.00212.69
5.6.220.0080.00412.67
5.6.210.0110.04016.61
5.6.200.0050.04415.47
5.6.190.0050.04816.75
5.6.180.0220.03516.53
5.6.170.0120.02716.68
5.6.160.0120.04016.49
5.6.150.0110.03815.44
5.6.140.0140.03515.47
5.6.130.0060.02715.41
5.6.120.0050.02516.90
5.6.110.0050.04016.80
5.6.100.0070.03216.89
5.6.90.0090.04716.73
5.6.80.0090.02916.42
5.6.70.1530.02016.53
5.6.60.0040.00712.43
5.6.50.0040.00812.56
5.6.40.0080.00412.45
5.6.30.0110.00012.82
5.6.20.0000.01012.46
5.6.10.0070.00312.75
5.6.00.0050.00512.68
5.5.380.0070.00412.61
5.5.370.0060.00612.69
5.5.360.0060.00612.54
5.5.350.0070.03616.47
5.5.340.0090.03315.28
5.5.330.0060.04616.45
5.5.320.0240.04016.49
5.5.310.0160.03016.31
5.5.300.0100.03515.37
5.5.290.0050.02815.17
5.5.280.0120.04016.57
5.5.270.0030.02916.70
5.5.260.0090.02516.71
5.5.250.0040.03616.53
5.5.240.0220.02016.45
5.5.230.0090.00212.44
5.5.220.0090.00212.74
5.5.210.0110.00012.77
5.5.200.0060.00612.38
5.5.190.0090.00212.37
5.5.180.0090.00312.52
5.5.170.0080.00312.69
5.5.160.0110.00012.38
5.5.150.0120.00012.65
5.5.140.0070.00712.26
5.5.130.0060.00612.37
5.5.120.0060.00612.39
5.5.110.0110.00012.41
5.5.100.0000.01112.66
5.5.90.0100.00012.43
5.5.80.0000.01112.59
5.5.70.0100.00012.36
5.5.60.0110.00012.45
5.5.50.0050.00512.60
5.5.40.0080.00312.66
5.5.30.0040.00812.39
5.5.20.0060.00612.47
5.5.10.0050.00512.45
5.5.00.0080.00312.67
5.4.450.0250.02716.11
5.4.440.0100.03515.85
5.4.430.0130.03415.97
5.4.420.0090.03016.13
5.4.410.0060.03315.77
5.4.400.0730.03515.73
5.4.390.0140.03115.47
5.4.380.0200.04215.69
5.4.370.0190.02815.63
5.4.360.0550.03315.59
5.4.350.0230.03515.53
5.4.340.0540.03015.63
5.4.330.0080.00412.61
5.4.320.0180.03115.58
5.4.310.0170.03115.72
5.4.300.0560.02915.55
5.4.290.0200.03015.67
5.4.280.0190.02615.61
5.4.270.0690.03015.77
5.4.260.0930.03715.52
5.4.250.0200.03015.58
5.4.240.0220.03015.46
5.4.230.0570.02815.69
5.4.220.0200.03415.62
5.4.210.0180.02715.35
5.4.200.0100.03114.55
5.4.190.0640.02815.57
5.4.180.0190.02815.67
5.4.170.0180.03115.53
5.4.160.0650.02315.63
5.4.150.0190.02815.52
5.4.140.0140.03314.43
5.4.130.0470.03014.30
5.4.120.0190.02314.46
5.4.110.0150.02814.49
5.4.100.0190.03014.44
5.4.90.0080.03514.50
5.4.80.0220.02714.37
5.4.70.0200.02514.47
5.4.60.0230.02314.42
5.4.50.0650.02914.32
5.4.40.0240.02514.40
5.4.30.0150.03014.38
5.4.20.0170.03914.40
5.4.10.0200.02814.43
5.4.00.0140.03314.08
5.3.290.0170.03313.83
5.3.280.0180.03613.83
5.3.270.0210.02613.77
5.3.260.0320.03513.75
5.3.250.0140.03413.74
5.3.240.0180.03513.69
5.3.230.0140.03213.81
5.3.220.0300.02813.86
5.3.210.0170.03513.85
5.3.200.0170.03213.67
5.3.190.0350.02513.71
5.3.180.0130.02913.88
5.3.170.0090.03113.81
5.3.160.0160.03313.77
5.3.150.0270.02913.94
5.3.140.0170.03913.75
5.3.130.0270.03413.97
5.3.120.0740.02813.89
5.3.110.0170.03613.75
5.3.100.0200.03913.49
5.3.90.0950.03213.60
5.3.80.0470.03513.41
5.3.70.0190.03213.51
5.3.60.0260.03213.45
5.3.50.0230.02413.49
5.3.40.0250.02213.55
5.3.30.0150.02713.58
5.3.20.2220.02813.29
5.3.10.0200.02513.34
5.3.00.0140.03113.18
5.2.170.0130.02311.62
5.2.160.0190.01911.63
5.2.150.0140.02211.50
5.2.140.0180.01711.68
5.2.130.0140.02011.49
5.2.120.0110.02711.59
5.2.110.0130.02611.43
5.2.100.0170.02011.62
5.2.90.0250.02311.44
5.2.80.0120.02511.51
5.2.70.0160.02011.45
5.2.60.0170.02011.36
5.2.50.0140.02311.48
5.2.40.0090.02211.55
5.2.30.0160.02011.37
5.2.20.0150.02211.28
5.2.10.0170.02011.40
5.2.00.0150.02211.20
5.1.60.0070.02410.56
5.1.50.0110.02010.44
5.1.40.0110.02110.55
5.1.30.0140.02210.70
5.1.20.0130.02010.75
5.1.10.0170.01810.60
5.1.00.0120.02310.63
5.0.50.0100.0179.59
5.0.40.0080.0199.57
5.0.30.0150.0229.38
5.0.20.0100.0159.37
5.0.10.0080.0179.44
5.0.00.0100.0229.36
4.4.90.0050.0158.21
4.4.80.0100.0088.18
4.4.70.0090.0148.21
4.4.60.0120.0128.21
4.4.50.0100.0178.20
4.4.40.0090.0228.21
4.4.30.0060.0138.25
4.4.20.0090.0128.24
4.4.10.0050.0138.25
4.4.00.0070.0188.21
4.3.110.0080.0108.15
4.3.100.0120.0138.22
4.3.90.0090.0158.17
4.3.80.0120.0178.16
4.3.70.0080.0108.14
4.3.60.0090.0108.13
4.3.50.0090.0128.13
4.3.40.0150.0158.17
4.3.30.0060.0137.57
4.3.20.0040.0167.52
4.3.10.0100.0157.49
4.3.00.0010.0128.52

preferences:
56.03 ms | 401 KiB | 5 Q