3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = 'a:8:{s:10:"rental_fee";d:438.68000000000001;s:10:"custom_fee";i:0;s:12:"cleaning_fee";d:11;s:14:"short_stay_fee";d:60;s:15:"extra_guest_fee";d:40;s:5:"taxes";d:70.655200000000008;s:11:"service_fee";d:54.969999999999999;s:13:"itemized_cost";a:4:{i:1404194400;d:109.67;i:1404280800;d:109.67;i:1404367200;d:109.67;i:1404453600;d:109.67;}}'; print_r(unserialize($arr));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Array ( [rental_fee] => 438.68 [custom_fee] => 0 [cleaning_fee] => 11 [short_stay_fee] => 60 [extra_guest_fee] => 40 [taxes] => 70.6552 [service_fee] => 54.97 [itemized_cost] => Array ( [1404194400] => 109.67 [1404280800] => 109.67 [1404367200] => 109.67 [1404453600] => 109.67 ) )