3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str='a:11:{s:18:"nav_menu_locations";a:2:{s:7:"primary";i:2;s:9:"secondary";i:0;}s:16:"header_textcolor";s:3:"fff";s:12:"header_image";s:71:"http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png";s:17:"header_image_data";O:8:"stdClass":5:{s:13:"attachment_id";i:7;s:3:"url";s:71:"http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png";s:13:"thumbnail_url";s:71:"http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png";s:6:"height";i:51;s:5:"width";i:255;}s:16:"background_color";s:6:"f5f5f5";s:16:"background_image";s:0:"";s:17:"background_repeat";s:6:"repeat";s:21:"background_position_x";s:4:"left";s:21:"background_attachment";s:5:"fixed";s:23:"featured_content_layout";s:4:"grid";s:16:"sidebars_widgets";a:2:{s:4:"time";i:1392872554;s:4:"data";a:4:{s:19:"wp_inactive_widgets";a:0:{}s:9:"sidebar-1";a:0:{}s:9:"sidebar-2";a:3:{i:0;s:8:"search-2";i:1;s:11:"tag_cloud-2";i:2;s:10:"calendar-2";}s:9:"sidebar-3";a:0:{}}}}'; $arr=unserialize($str); print_r($arr);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [nav_menu_locations] => Array ( [primary] => 2 [secondary] => 0 ) [header_textcolor] => fff [header_image] => http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png [header_image_data] => stdClass Object ( [attachment_id] => 7 [url] => http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png [thumbnail_url] => http://www.configure.it/blog/wp-content/uploads/2014/02/copy-logo-2.png [height] => 51 [width] => 255 ) [background_color] => f5f5f5 [background_image] => [background_repeat] => repeat [background_position_x] => left [background_attachment] => fixed [featured_content_layout] => grid [sidebars_widgets] => Array ( [time] => 1392872554 [data] => Array ( [wp_inactive_widgets] => Array ( ) [sidebar-1] => Array ( ) [sidebar-2] => Array ( [0] => search-2 [1] => tag_cloud-2 [2] => calendar-2 ) [sidebar-3] => Array ( ) ) ) )
Output for hhvm-3.10.0

Process exited with code 153.