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:"32414";s:7:"user_id";s:3:"511";s:16:"property_type_id";s:2:"17";s:5:"title";s:4:"utha";s:7:"address";s:49:"Vasant Vihar 2, Naroda, Ahmedabad, Gujarat 382330";s:8:"address2";N;s:4:"unit";N;s:10:"country_id";s:2:"IN";s:4:"city";s:6:"Naroda";s:8:"state_id";N;s:9:"island_id";N;s:3:"zip";s:6:"382330";s:10:"directions";s:86:"Its the place nearest to the beach of odalarevu and its the opposite of royal bunglow.";s:11:"house_rules";s:47:"Treat as like your own home untill u will stay.";s:6:"manual";s:83:"Please keep clean the property as like your home and make decipline in the bunglow.";s:10:"daily_rate";s:6:"150.00";s:11:"weekly_rate";s:6:"750.00";s:12:"monthly_rate";s:7:"2500.00";s:12:"weekend_rate";s:6:"500.00";s:8:"usd_rate";s:6:"150.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";N;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";s:2:"10";s:14:"square_footage";s:6:"175.55";s:9:"bathrooms";s:3:"2.0";s:8:"bedrooms";s:1:"2";s:17:"sleeping_capacity";s:1:"8";s:12:"pets_allowed";s:1:"0";s:15:"smoking_allowed";s:1:"1";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:"1";s:12:"kid_friendly";s:1:"0";s:11:"description";s:4:"utha";s:8:"relation";N;s:8:"latitude";s:10:"23.0773136";s:9:"longitude";s:10:"72.6772016";s:13:"area_latitude";s:10:"23.0780141";s:14:"area_longitude";s:10:"72.6771839";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:4:"0.00";s:7:"created";s:19:"2014-01-15 06:57:26";s:8:"modified";s:19:"2014-04-29 03:11:20";s:9:"published";s:1:"0";s:5:"views";s:1:"0";s:3:"toc";N;s:8:"toc_date";N;s:10:"geoname_id";s:7:"1261768";s:13:"admin_code_id";s:4:"1273";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: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:2:"17";s:4:"name";s:6:"Studio";s:4:"sort";s:2:"10";}s:18:"CancellationPolicy";a:9:{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:3:"109";s:10:"valid_from";s:2:"83";s:8:"valid_to";s:3:"115";s:6:"amount";s:5:"36.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32414";}i:1;a:6:{s:2:"id";s:3:"110";s:10:"valid_from";s:3:"198";s:8:"valid_to";s:3:"276";s:6:"amount";s:5:"50.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32414";}i:2;a:6:{s:2:"id";s:3:"111";s:10:"valid_from";s:3:"124";s:8:"valid_to";s:3:"172";s:6:"amount";s:5:"96.00";s:12:"fixed_amount";b:0;s:11:"property_id";s:5:"32414";}}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] => 32414 [user_id] => 511 [property_type_id] => 17 [title] => utha [address] => Vasant Vihar 2, Naroda, Ahmedabad, Gujarat 382330 [address2] => [unit] => [country_id] => IN [city] => Naroda [state_id] => [island_id] => [zip] => 382330 [directions] => Its the place nearest to the beach of odalarevu and its the opposite of royal bunglow. [house_rules] => Treat as like your own home untill u will stay. [manual] => Please keep clean the property as like your home and make decipline in the bunglow. [daily_rate] => 150.00 [weekly_rate] => 750.00 [monthly_rate] => 2500.00 [weekend_rate] => 500.00 [usd_rate] => 150.00 [deposit] => 0.00 [tax_rate] => [petfee] => [short_stay] => [extra_charge] => [currency] => USD [additional_guest_cost] => [additional_guest_cost_appy_after] => [check_in_time] => [check_out_time] => [minimum_night_stay] => 1 [maximum_night_stay] => 10 [square_footage] => 175.55 [bathrooms] => 2.0 [bedrooms] => 2 [sleeping_capacity] => 8 [pets_allowed] => 0 [smoking_allowed] => 1 [wheelchair_accessible] => 0 [credit_accepted] => 0 [age_requirement] => 0 [suitable_for_elderly] => 1 [kid_friendly] => 0 [description] => utha [relation] => [latitude] => 23.0773136 [longitude] => 72.6772016 [area_latitude] => 23.0780141 [area_longitude] => 72.6771839 [area_radius] => 500 [contact_name] => [contact_email] => [contact_number_type] => [contact_primary_phone] => [contact_secondary_phone] => [cleaning_fee] => 0.00 [created] => 2014-01-15 06:57:26 [modified] => 2014-04-29 03:11:20 [published] => 0 [views] => 0 [toc] => [toc_date] => [geoname_id] => 1261768 [admin_code_id] => 1273 [cancellation_policy] => Predefined Cancellation Policy [cancellation_policy_id] => 0 [refund] => [percentage] => [import_id] => [instant_booking] => [import_propertyid] => [pets_on_premises] => No [pet_types] => others [pet_description] => [address_status] => 1 ) [PropertyType] => Array ( [id] => 17 [name] => Studio [sort] => 10 ) [CancellationPolicy] => Array ( [id] => [valid_from] => [valid_to] => [amount] => [fixed_amount] => [property_id] => [0] => Array ( [id] => 109 [valid_from] => 83 [valid_to] => 115 [amount] => 36.00 [fixed_amount] => [property_id] => 32414 ) [1] => Array ( [id] => 110 [valid_from] => 198 [valid_to] => 276 [amount] => 50.00 [fixed_amount] => [property_id] => 32414 ) [2] => Array ( [id] => 111 [valid_from] => 124 [valid_to] => 172 [amount] => 96.00 [fixed_amount] => [property_id] => 32414 ) ) [PropertyPrice] => Array ( ) [PropertyDiscount] => Array ( ) [PropertyCustomfee] => Array ( ) )