3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 5.1.0 - 7.2.0
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 5.0.0 - 5.0.5
Warning: main(/in/../Model.php): failed to open stream: No such file or directory in /in/qOW1r on line 24 Fatal error: main(): Failed opening required '/in/../Model.php' (include_path='.:') in /in/qOW1r on line 24
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/qOW1r on line 41
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/qOW1r on line 41
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/qOW1r on line 41
Process exited with code 255.