3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'a:6:{s:8:"Property";a:75:{s:2:"id";s:5:"32163";s:7:"user_id";s:3:"510";s:16:"property_type_id";s:1:"4";s:5:"title";s:12:"rental title";s:7:"address";s:39:"Hyderabad, Andhra Pradesh 500004, India";s:8:"address2";N;s:4:"unit";N;s:10:"country_id";s:2:"IN";s:4:"city";s:9:"Hyderabad";s:8:"state_id";N;s:9:"island_id";N;s:3:"zip";s:6:"500004";s:10:"directions";s:0:"";s:11:"house_rules";s:0:"";s:6:"manual";s:0:"";s:10:"daily_rate";s:5:"50.00";s:11:"weekly_rate";s:5:"60.00";s:12:"monthly_rate";s:5:"50.00";s:12:"weekend_rate";N;s:8:"usd_rate";s:5:"50.00";s:7:"deposit";s:4:"0.00";s:8:"tax_rate";N;s:6:"petfee";N;s:10:"short_stay";N;s:12:"extra_charge";N;s:8:"currency";s:3:"USD";s:21:"additional_guest_cost";N;s:32:"additional_guest_cost_appy_after";s:1:"1";s:13:"check_in_time";N;s:14:"check_out_time";N;s:18:"minimum_night_stay";s:1:"1";s:18:"maximum_night_stay";N;s:14:"square_footage";s:7:"2000.00";s:9:"bathrooms";s:3:"6.0";s:8:"bedrooms";s:1:"2";s:17:"sleeping_capacity";s:2:"13";s:12:"pets_allowed";s:1:"0";s:15:"smoking_allowed";s:1:"0";s:21:"wheelchair_accessible";s:1:"0";s:15:"credit_accepted";s:1:"0";s:15:"age_requirement";s:1:"0";s:20:"suitable_for_elderly";s:1:"0";s:12:"kid_friendly";s:1:"0";s:11:"description";s:5:"rents";s:8:"relation";N;s:8:"latitude";s:10:"17.3939770";s:9:"longitude";s:10:"78.4677680";s:13:"area_latitude";s:10:"17.3952918";s:14:"area_longitude";s:10:"78.4646615";s:11:"area_radius";s:3:"500";s:12:"contact_name";N;s:13:"contact_email";s:24:"hb.kamal@hiddenbrains.in";s:19:"contact_number_type";s:1:"1";s:21:"contact_primary_phone";s:14:"77777777778789";s:23:"contact_secondary_phone";N;s:12:"cleaning_fee";s:4:"0.00";s:7:"created";s:19:"2013-09-27 00:55:59";s:8:"modified";s:19:"2014-03-11 08:15:22";s:9:"published";s:1:"1";s:5:"views";s:1:"0";s:3:"toc";b:1;s:8:"toc_date";N;s:10:"geoname_id";s:7:"1269843";s:13:"admin_code_id";s:4:"1282";s:19:"cancellation_policy";s:30:"Predefined Cancellation Policy";s:22:"cancellation_policy_id";s:1:"2";s:6:"refund";s:1:"5";s:10:"percentage";s:3:"100";s:9:"import_id";N;s:15:"instant_booking";N;s:17:"import_propertyid";N;s:16:"pets_on_premises";s:2:"No";s:9:"pet_types";s:6:"others";s:15:"pet_description";s:0:"";s:14:"address_status";s:1:"1";}s:12:"PropertyType";a:3:{s:2:"id";s:1:"4";s:4:"name";s:15:"Condo/Apartment";s:4:"sort";s:2:"20";}s:18:"CancellationPolicy";a:6:{s:2:"id";s:1:"2";s:10:"valid_from";s:3:"106";s:8:"valid_to";s:3:"365";s:6:"amount";s:5:"50.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32412";}s:13:"PropertyPrice";a:1:{i:0;a:10:{s:2:"id";s:3:"175";s:11:"property_id";s:5:"32163";s:9:"rate_name";N;s:10:"start_date";s:10:"2013-12-20";s:8:"end_date";s:10:"2013-12-30";s:14:"min_night_stay";s:1:"1";s:15:"price_per_night";s:3:"100";s:13:"weekend_night";s:3:"150";s:12:"weekly_price";N;s:13:"monthly_price";N;}}s:16:"PropertyDiscount";a:1:{i:0;a:4:{s:2:"id";s:3:"106";s:11:"property_id";s:5:"32163";s:12:"night_booked";s:1:"1";s:8:"discount";s:1:"5";}}s:17:"PropertyCustomfee";a:0:{}}'; print_r(unserialize($str));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [Property] => Array ( [id] => 32163 [user_id] => 510 [property_type_id] => 4 [title] => rental title [address] => Hyderabad, Andhra Pradesh 500004, India [address2] => [unit] => [country_id] => IN [city] => Hyderabad [state_id] => [island_id] => [zip] => 500004 [directions] => [house_rules] => [manual] => [daily_rate] => 50.00 [weekly_rate] => 60.00 [monthly_rate] => 50.00 [weekend_rate] => [usd_rate] => 50.00 [deposit] => 0.00 [tax_rate] => [petfee] => [short_stay] => [extra_charge] => [currency] => USD [additional_guest_cost] => [additional_guest_cost_appy_after] => 1 [check_in_time] => [check_out_time] => [minimum_night_stay] => 1 [maximum_night_stay] => [square_footage] => 2000.00 [bathrooms] => 6.0 [bedrooms] => 2 [sleeping_capacity] => 13 [pets_allowed] => 0 [smoking_allowed] => 0 [wheelchair_accessible] => 0 [credit_accepted] => 0 [age_requirement] => 0 [suitable_for_elderly] => 0 [kid_friendly] => 0 [description] => rents [relation] => [latitude] => 17.3939770 [longitude] => 78.4677680 [area_latitude] => 17.3952918 [area_longitude] => 78.4646615 [area_radius] => 500 [contact_name] => [contact_email] => hb.kamal@hiddenbrains.in [contact_number_type] => 1 [contact_primary_phone] => 77777777778789 [contact_secondary_phone] => [cleaning_fee] => 0.00 [created] => 2013-09-27 00:55:59 [modified] => 2014-03-11 08:15:22 [published] => 1 [views] => 0 [toc] => 1 [toc_date] => [geoname_id] => 1269843 [admin_code_id] => 1282 [cancellation_policy] => Predefined Cancellation Policy [cancellation_policy_id] => 2 [refund] => 5 [percentage] => 100 [import_id] => [instant_booking] => [import_propertyid] => [pets_on_premises] => No [pet_types] => others [pet_description] => [address_status] => 1 ) [PropertyType] => Array ( [id] => 4 [name] => Condo/Apartment [sort] => 20 ) [CancellationPolicy] => Array ( [id] => 2 [valid_from] => 106 [valid_to] => 365 [amount] => 50.00 [fixed_amount] => [property_id] => 32412 ) [PropertyPrice] => Array ( [0] => Array ( [id] => 175 [property_id] => 32163 [rate_name] => [start_date] => 2013-12-20 [end_date] => 2013-12-30 [min_night_stay] => 1 [price_per_night] => 100 [weekend_night] => 150 [weekly_price] => [monthly_price] => ) ) [PropertyDiscount] => Array ( [0] => Array ( [id] => 106 [property_id] => 32163 [night_booked] => 1 [discount] => 5 ) ) [PropertyCustomfee] => Array ( ) )