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:{}}"; pr($str);
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'Property' (T_STRING) in /in/iiFU7 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/iiFU7 on line 2
Process exited with code 255.