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:"32776";s:7:"user_id";s:3:"511";s:16:"property_type_id";s:1:"4";s:5:"title";s:13:"South special";s:7:"address";s:51:"24/1, Vittal Mallya Road, KG Halli, Shanthala Nagar";s:8:"address2";N;s:4:"unit";N;s:10:"country_id";s:2:"IN";s:4:"city";s:9:"Bangalore";s:8:"state_id";N;s:9:"island_id";N;s:3:"zip";s:6:"560001";s:10:"directions";s:14:"bangalore city";s:11:"house_rules";s:0:"";s:6:"manual";s:14:"bangalore city";s:10:"daily_rate";s:5:"46.25";s:11:"weekly_rate";s:6:"540.71";s:12:"monthly_rate";s:7:"1081.42";s:12:"weekend_rate";s:6:"257.00";s:8:"usd_rate";s:6:"162.21";s:7:"deposit";s:5:"50.00";s:8:"tax_rate";s:5:"20.00";s:6:"petfee";s:5:"20.00";s:10:"short_stay";s:1:"1";s:12:"extra_charge";s:5:"10.00";s:8:"currency";s:3:"USD";s:21:"additional_guest_cost";s:2:"10";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";N;s:18:"maximum_night_stay";N;s:14:"square_footage";s:6:"175.75";s:9:"bathrooms";s:3:"2.0";s:8:"bedrooms";s:1:"3";s:17:"sleeping_capacity";s:2:"13";s:12:"pets_allowed";s:1:"1";s:15:"smoking_allowed";s:1:"0";s:21:"wheelchair_accessible";s:1:"1";s:15:"credit_accepted";s:1:"0";s:15:"age_requirement";s:1:"0";s:20:"suitable_for_elderly";s:1:"1";s:12:"kid_friendly";s:1:"0";s:11:"description";s:13:"South special";s:8:"relation";N;s:8:"latitude";s:10:"12.9720835";s:9:"longitude";s:10:"77.5949076";s:13:"area_latitude";s:10:"12.9729918";s:14:"area_longitude";s:10:"77.5974033";s:11:"area_radius";s:3:"500";s:12:"contact_name";N;s:13:"contact_email";N;s:19:"contact_number_type";N;s:21:"contact_primary_phone";N;s:23:"contact_secondary_phone";N;s:12:"cleaning_fee";s:5:"10.00";s:7:"created";s:19:"2014-03-28 05:00:08";s:8:"modified";s:19:"2014-04-05 11:12:23";s:9:"published";s:1:"1";s:5:"views";s:1:"0";s:3:"toc";N;s:8:"toc_date";N;s:10:"geoname_id";s:7:"1277333";s:13:"admin_code_id";s:4:"1269";s:19:"cancellation_policy";s:30:"Predefined Cancellation Policy";s:22:"cancellation_policy_id";s:1:"0";s:6:"refund";N;s:10:"percentage";N;s:9:"import_id";N;s:15:"instant_booking";N;s:17:"import_propertyid";N;s:16:"pets_on_premises";s:3:"Yes";s:9:"pet_types";s:4:"cats";s:15:"pet_description";s:0:"";s:14:"address_status";s:1:"0";}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:8:{s:2:"id";N;s:10:"valid_from";N;s:8:"valid_to";N;s:6:"amount";N;s:12:"fixed_amount";N;s:11:"property_id";N;i:0;a:6:{s:2:"id";s:2:"72";s:10:"valid_from";s:3:"270";s:8:"valid_to";s:3:"365";s:6:"amount";s:4:"0.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32776";}i:1;a:6:{s:2:"id";s:2:"73";s:10:"valid_from";s:3:"113";s:8:"valid_to";s:3:"269";s:6:"amount";s:5:"36.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32776";}}s:13:"PropertyPrice";a:0:{}s:16:"PropertyDiscount";a:0:{}s:17:"PropertyCustomfee";a:0:{}}'; echo '<pre>'; print_r(unserialize($str));
Output for 4.3.0 - 7.1.0
<pre>Array ( [Property] => Array ( [id] => 32776 [user_id] => 511 [property_type_id] => 4 [title] => South special [address] => 24/1, Vittal Mallya Road, KG Halli, Shanthala Nagar [address2] => [unit] => [country_id] => IN [city] => Bangalore [state_id] => [island_id] => [zip] => 560001 [directions] => bangalore city [house_rules] => [manual] => bangalore city [daily_rate] => 46.25 [weekly_rate] => 540.71 [monthly_rate] => 1081.42 [weekend_rate] => 257.00 [usd_rate] => 162.21 [deposit] => 50.00 [tax_rate] => 20.00 [petfee] => 20.00 [short_stay] => 1 [extra_charge] => 10.00 [currency] => USD [additional_guest_cost] => 10 [additional_guest_cost_appy_after] => 1 [check_in_time] => [check_out_time] => [minimum_night_stay] => [maximum_night_stay] => [square_footage] => 175.75 [bathrooms] => 2.0 [bedrooms] => 3 [sleeping_capacity] => 13 [pets_allowed] => 1 [smoking_allowed] => 0 [wheelchair_accessible] => 1 [credit_accepted] => 0 [age_requirement] => 0 [suitable_for_elderly] => 1 [kid_friendly] => 0 [description] => South special [relation] => [latitude] => 12.9720835 [longitude] => 77.5949076 [area_latitude] => 12.9729918 [area_longitude] => 77.5974033 [area_radius] => 500 [contact_name] => [contact_email] => [contact_number_type] => [contact_primary_phone] => [contact_secondary_phone] => [cleaning_fee] => 10.00 [created] => 2014-03-28 05:00:08 [modified] => 2014-04-05 11:12:23 [published] => 1 [views] => 0 [toc] => [toc_date] => [geoname_id] => 1277333 [admin_code_id] => 1269 [cancellation_policy] => Predefined Cancellation Policy [cancellation_policy_id] => 0 [refund] => [percentage] => [import_id] => [instant_booking] => [import_propertyid] => [pets_on_premises] => Yes [pet_types] => cats [pet_description] => [address_status] => 0 ) [PropertyType] => Array ( [id] => 4 [name] => Condo/Apartment [sort] => 20 ) [CancellationPolicy] => Array ( [id] => [valid_from] => [valid_to] => [amount] => [fixed_amount] => [property_id] => [0] => Array ( [id] => 72 [valid_from] => 270 [valid_to] => 365 [amount] => 0.00 [fixed_amount] => [property_id] => 32776 ) [1] => Array ( [id] => 73 [valid_from] => 113 [valid_to] => 269 [amount] => 36.00 [fixed_amount] => [property_id] => 32776 ) ) [PropertyPrice] => Array ( ) [PropertyDiscount] => Array ( ) [PropertyCustomfee] => Array ( ) )