3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:18:{s:19:"wp_inactive_widgets";a:1:{i:0;s:17:"penny_subscribe-2";}s:12:"blog-sidebar";a:1:{i:0;s:14:"penny_author-2";}s:17:"offcanvas-sidebar";a:2:{i:0;s:17:"recent-comments-2";i:1;s:14:"recent-posts-3";}s:20:"widgetized-sidebar-1";a:0:{}s:20:"widgetized-sidebar-2";a:0:{}s:20:"widgetized-sidebar-3";a:0:{}s:20:"widgetized-sidebar-4";a:0:{}s:20:"widgetized-sidebar-5";a:0:{}s:20:"widgetized-sidebar-6";a:0:{}s:20:"widgetized-sidebar-7";a:0:{}s:20:"widgetized-sidebar-8";a:0:{}s:20:"widgetized-sidebar-9";a:0:{}s:21:"widgetized-sidebar-10";a:0:{}s:21:"widgetized-sidebar-11";a:0:{}s:21:"widgetized-sidebar-12";a:0:{}s:16:"footer-sidebar-1";a:0:{}s:16:"footer-sidebar-2";a:0:{}s:13:"array_version";i:3;}')); var_dump(unserialize('a:2:{i:2;a:2:{s:5:"title";s:0:"";s:6:"author";i:1;}s:12:"_multiwidget";i:1;}'));
based on NSjUs
Output for 5.3.18 - 7.2.0
array(18) { ["wp_inactive_widgets"]=> array(1) { [0]=> string(17) "penny_subscribe-2" } ["blog-sidebar"]=> array(1) { [0]=> string(14) "penny_author-2" } ["offcanvas-sidebar"]=> array(2) { [0]=> string(17) "recent-comments-2" [1]=> string(14) "recent-posts-3" } ["widgetized-sidebar-1"]=> array(0) { } ["widgetized-sidebar-2"]=> array(0) { } ["widgetized-sidebar-3"]=> array(0) { } ["widgetized-sidebar-4"]=> array(0) { } ["widgetized-sidebar-5"]=> array(0) { } ["widgetized-sidebar-6"]=> array(0) { } ["widgetized-sidebar-7"]=> array(0) { } ["widgetized-sidebar-8"]=> array(0) { } ["widgetized-sidebar-9"]=> array(0) { } ["widgetized-sidebar-10"]=> array(0) { } ["widgetized-sidebar-11"]=> array(0) { } ["widgetized-sidebar-12"]=> array(0) { } ["footer-sidebar-1"]=> array(0) { } ["footer-sidebar-2"]=> array(0) { } ["array_version"]=> int(3) } array(2) { [2]=> array(2) { ["title"]=> string(0) "" ["author"]=> int(1) } ["_multiwidget"]=> int(1) }