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; } }
Output for 8.0.14 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: require_once(): open_basedir restriction in effect. File(/in/../Model.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/qOW1r on line 24 Warning: require_once(/in/../Model.php): Failed to open stream: Operation not permitted in /in/qOW1r on line 24 Fatal error: Uncaught Error: Failed opening required '/in/../Model.php' (include_path='.:') in /in/qOW1r:24 Stack trace: #0 {main} thrown in /in/qOW1r on line 24
Process exited with code 255.
Output for 8.0.0 - 8.0.13
Warning: require_once(/in/../Model.php): Failed to open stream: No such file or directory in /in/qOW1r on line 24 Fatal error: Uncaught Error: Failed opening required '/in/../Model.php' (include_path='.:') in /in/qOW1r:24 Stack trace: #0 {main} thrown in /in/qOW1r on line 24
Process exited with code 255.
Output for 5.2.3 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.25, 7.4.33
Warning: require_once(/in/../Model.php): failed to open stream: No such file or directory in /in/qOW1r on line 24 Fatal error: require_once(): Failed opening required '/in/../Model.php' (include_path='.:') in /in/qOW1r on line 24
Process exited with code 255.
Output for 7.4.26 - 7.4.32
Warning: require_once(): open_basedir restriction in effect. File(/in/../Model.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/qOW1r on line 24 Warning: require_once(/in/../Model.php): failed to open stream: Operation not permitted in /in/qOW1r on line 24 Fatal error: require_once(): Failed opening required '/in/../Model.php' (include_path='.:') in /in/qOW1r on line 24
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
<br /> <b>Warning</b>: require_once(/in/../Model.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/in/qOW1r</b> on line <b>24</b><br /> <br /> <b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/in/../Model.php' (include_path='.:') in <b>/in/qOW1r</b> on line <b>24</b><br />
Process exited with code 255.
Output for 5.0.0 - 5.0.5
<br /> <b>Warning</b>: main(/in/../Model.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/in/qOW1r</b> on line <b>24</b><br /> <br /> <b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required '/in/../Model.php' (include_path='.:') in <b>/in/qOW1r</b> on line <b>24</b><br />
Process exited with code 255.
Output for 4.4.2 - 4.4.9
<br /> <b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/qOW1r</b> on line <b>41</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
<br /> <b>Parse error</b>: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/qOW1r</b> on line <b>41</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br /> <b>Parse error</b>: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in <b>/in/qOW1r</b> on line <b>41</b><br />
Process exited with code 255.

preferences:
291.74 ms | 401 KiB | 464 Q