<?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 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 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
(
)
)
)
)
preferences:
316.62 ms | 408 KiB | 459 Q