3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"stdClass":2:{s:6:"result";O:8:"stdClass":24:{s:2:"id";i:1303524;s:5:"state";s:15:"host_to_confirm";s:8:"check_in";s:10:"2014-08-04";s:9:"check_out";s:10:"2014-08-07";s:10:"num_guests";i:1;s:12:"last_message";s:129:"本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。";s:13:"rental_amount";i:15;s:14:"additional_fee";i:0;s:8:"subtotal";i:15;s:3:"fee";i:3;s:5:"total";i:18;s:13:"currency_code";s:3:"EUR";s:12:"total_in_usd";i:25;s:12:"deposit_type";s:4:"cash";s:14:"deposit_amount";i:300;s:21:"deposit_currency_code";s:3:"EUR";s:15:"express_booking";b:1;s:26:"express_booking_expires_at";s:25:"2014-06-19T11:54:55+02:00";s:3:"url";s:45:"https://roomorama.com/guest/inquiries/1303524";s:10:"created_at";s:19:"2014-06-17 09:52:23";s:10:"updated_at";s:19:"2014-06-17 09:54:55";s:4:"room";O:8:"stdClass":3:{s:2:"id";i:189215;s:5:"title";s:12:"TI Room #002";s:9:"thumbnail";s:89:"https://staging-assets.roomorama-cache.com/photos/rooms/2208279/2208279_search_result.jpg";}s:4:"host";O:8:"stdClass":3:{s:2:"id";i:519679;s:7:"display";s:10:"ti_staging";s:3:"url";s:38:"https://roomorama.com/users/ti_staging";}s:8:"messages";a:1:{i:0;O:8:"stdClass":3:{s:7:"message";s:129:"本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。";s:10:"created_at";s:19:"2014-06-17 09:54:55";s:7:"_empty_";N;}}}s:6:"status";i:200;}'));
Output for 5.0.0 - 7.1.0
object(stdClass)#1 (2) { ["result"]=> object(stdClass)#2 (24) { ["id"]=> int(1303524) ["state"]=> string(15) "host_to_confirm" ["check_in"]=> string(10) "2014-08-04" ["check_out"]=> string(10) "2014-08-07" ["num_guests"]=> int(1) ["last_message"]=> string(129) "本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。" ["rental_amount"]=> int(15) ["additional_fee"]=> int(0) ["subtotal"]=> int(15) ["fee"]=> int(3) ["total"]=> int(18) ["currency_code"]=> string(3) "EUR" ["total_in_usd"]=> int(25) ["deposit_type"]=> string(4) "cash" ["deposit_amount"]=> int(300) ["deposit_currency_code"]=> string(3) "EUR" ["express_booking"]=> bool(true) ["express_booking_expires_at"]=> string(25) "2014-06-19T11:54:55+02:00" ["url"]=> string(45) "https://roomorama.com/guest/inquiries/1303524" ["created_at"]=> string(19) "2014-06-17 09:52:23" ["updated_at"]=> string(19) "2014-06-17 09:54:55" ["room"]=> object(stdClass)#3 (3) { ["id"]=> int(189215) ["title"]=> string(12) "TI Room #002" ["thumbnail"]=> string(89) "https://staging-assets.roomorama-cache.com/photos/rooms/2208279/2208279_search_result.jpg" } ["host"]=> object(stdClass)#4 (3) { ["id"]=> int(519679) ["display"]=> string(10) "ti_staging" ["url"]=> string(38) "https://roomorama.com/users/ti_staging" } ["messages"]=> array(1) { [0]=> object(stdClass)#5 (3) { ["message"]=> string(129) "本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。" ["created_at"]=> string(19) "2014-06-17 09:54:55" ["_empty_"]=> NULL } } } ["status"]=> int(200) }
Output for 4.3.0 - 4.4.9
object(stdClass)(2) { ["result"]=> object(stdClass)(24) { ["id"]=> int(1303524) ["state"]=> string(15) "host_to_confirm" ["check_in"]=> string(10) "2014-08-04" ["check_out"]=> string(10) "2014-08-07" ["num_guests"]=> int(1) ["last_message"]=> string(129) "本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。" ["rental_amount"]=> int(15) ["additional_fee"]=> int(0) ["subtotal"]=> int(15) ["fee"]=> int(3) ["total"]=> int(18) ["currency_code"]=> string(3) "EUR" ["total_in_usd"]=> int(25) ["deposit_type"]=> string(4) "cash" ["deposit_amount"]=> int(300) ["deposit_currency_code"]=> string(3) "EUR" ["express_booking"]=> bool(true) ["express_booking_expires_at"]=> string(25) "2014-06-19T11:54:55+02:00" ["url"]=> string(45) "https://roomorama.com/guest/inquiries/1303524" ["created_at"]=> string(19) "2014-06-17 09:52:23" ["updated_at"]=> string(19) "2014-06-17 09:54:55" ["room"]=> object(stdClass)(3) { ["id"]=> int(189215) ["title"]=> string(12) "TI Room #002" ["thumbnail"]=> string(89) "https://staging-assets.roomorama-cache.com/photos/rooms/2208279/2208279_search_result.jpg" } ["host"]=> object(stdClass)(3) { ["id"]=> int(519679) ["display"]=> string(10) "ti_staging" ["url"]=> string(38) "https://roomorama.com/users/ti_staging" } ["messages"]=> array(1) { [0]=> object(stdClass)(3) { ["message"]=> string(129) "本次快速预订的付款已得到确认。只要房东确认房屋在住宿期间可供租用,则立即预订下该房屋。" ["created_at"]=> string(19) "2014-06-17 09:54:55" ["_empty_"]=> NULL } } } ["status"]=> int(200) }