3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'O:8:"stdClass":5:{s:15:"HighestSeverity";s:7:"SUCCESS";s:13:"Notifications";O:8:"stdClass":5:{s:8:"Severity";s:7:"SUCCESS";s:6:"Source";s:4:"trck";s:4:"Code";s:1:"0";s:7:"Message";s:35:"Request was successfully processed.";s:16:"LocalizedMessage";s:35:"Request was successfully processed.";}s:17:"TransactionDetail";O:8:"stdClass":1:{s:21:"CustomerTransactionId";s:34:"*** Track Request v8 using PHP ***";}s:7:"Version";O:8:"stdClass":4:{s:9:"ServiceId";s:4:"trck";s:5:"Major";i:8;s:12:"Intermediate";i:0;s:5:"Minor";i:0;}s:21:"CompletedTrackDetails";O:8:"stdClass":6:{s:15:"HighestSeverity";s:7:"SUCCESS";s:13:"Notifications";O:8:"stdClass":5:{s:8:"Severity";s:7:"SUCCESS";s:6:"Source";s:4:"trck";s:4:"Code";s:1:"0";s:7:"Message";s:35:"Request was successfully processed.";s:16:"LocalizedMessage";s:35:"Request was successfully processed.";}s:16:"DuplicateWaybill";b:0;s:8:"MoreData";b:0;s:17:"TrackDetailsCount";i:0;s:12:"TrackDetails";O:8:"stdClass":8:{s:12:"Notification";O:8:"stdClass":5:{s:8:"Severity";s:5:"ERROR";s:6:"Source";s:4:"trck";s:4:"Code";s:4:"9040";s:7:"Message";s:84:"This tracking number cannot be found. Please check the number or contact the sender.";s:16:"LocalizedMessage";s:84:"This tracking number cannot be found. Please check the number or contact the sender.";}s:14:"TrackingNumber";s:22:"9611804797128302268252";s:12:"StatusDetail";O:8:"stdClass":1:{s:8:"Location";O:8:"stdClass":1:{s:11:"Residential";b:0;}}s:21:"PackageSequenceNumber";i:0;s:12:"PackageCount";i:0;s:16:"DeliveryAttempts";i:0;s:38:"TotalUniqueAddressCountInConsolidation";i:0;s:32:"DeliveryOptionEligibilityDetails";a:4:{i:0;O:8:"stdClass":2:{s:6:"Option";s:26:"INDIRECT_SIGNATURE_RELEASE";s:11:"Eligibility";s:10:"INELIGIBLE";}i:1;O:8:"stdClass":2:{s:6:"Option";s:28:"REDIRECT_TO_HOLD_AT_LOCATION";s:11:"Eligibility";s:10:"INELIGIBLE";}i:2;O:8:"stdClass":2:{s:6:"Option";s:7:"REROUTE";s:11:"Eligibility";s:10:"INELIGIBLE";}i:3;O:8:"stdClass":2:{s:6:"Option";s:10:"RESCHEDULE";s:11:"Eligibility";s:10:"INELIGIBLE";}}}}}'; $data = unserialize($a); echo $data->CompletedTrackDetails;
based on 6160l
Output for 7.1.0 - 7.2.0
Recoverable fatal error: Object of class stdClass could not be converted to string in /in/vE72J on line 7
Process exited with code 255.
Output for 5.3.18 - 7.0.20
Catchable fatal error: Object of class stdClass could not be converted to string in /in/vE72J on line 7
Process exited with code 255.