3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = <<<EOF a:13:{i:1;a:11:{s:2:"id";i:1;s:8:"naviname";s:6:"首页";s:3:"url";s:0:"";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"y";s:4:"type";i:1;s:6:"typeId";i:0;s:5:"taxis";i:1;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:4;a:11:{s:2:"id";i:4;s:8:"naviname";s:3:"PHP";s:3:"url";s:31:"http://blog.libnav.com/sort/php";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:1;s:5:"taxis";i:4;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:30;a:11:{s:2:"id";i:30;s:8:"naviname";s:6:"Python";s:3:"url";s:34:"http://blog.libnav.com/sort/python";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:18;s:5:"taxis";i:5;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:15;a:11:{s:2:"id";i:15;s:8:"naviname";s:9:"服务端";s:3:"url";s:33:"http://blog.libnav.com/sort/linux";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:6;s:5:"taxis";i:6;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:23;a:11:{s:2:"id";i:23;s:8:"naviname";s:9:"数据库";s:3:"url";s:31:"http://blog.libnav.com/sort/sql";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:16;s:5:"taxis";i:7;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:19;a:11:{s:2:"id";i:19;s:8:"naviname";s:6:"版本";s:3:"url";s:31:"http://blog.libnav.com/sort/git";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:12;s:5:"taxis";i:8;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:27;a:11:{s:2:"id";i:27;s:8:"naviname";s:6:"开源";s:3:"url";s:32:"http://blog.libnav.com/sort/open";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:19;s:5:"taxis";i:9;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:24;a:11:{s:2:"id";i:24;s:8:"naviname";s:6:"前端";s:3:"url";s:36:"http://blog.libnav.com/sort/frontend";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:17;s:5:"taxis";i:10;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:20;a:11:{s:2:"id";i:20;s:8:"naviname";s:6:"随笔";s:3:"url";s:33:"http://blog.libnav.com/sort/essay";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:4;s:6:"typeId";i:13;s:5:"taxis";i:11;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:28;a:11:{s:2:"id";i:28;s:8:"naviname";s:6:"留言";s:3:"url";s:40:"http://blog.libnav.com/message-wall.html";s:6:"newtab";s:1:"n";s:9:"isdefault";s:1:"n";s:4:"type";i:5;s:6:"typeId";i:322;s:5:"taxis";i:12;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}}i:31;a:12:{s:2:"id";i:31;s:8:"naviname";s:12:"分享导航";s:3:"url";s:24:"http://share.libnav.com/";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:14;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}i:34;a:12:{s:2:"id";i:34;s:8:"naviname";s:14:"Github Project";s:3:"url";s:20:"http://sae.cfphp.com";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:15;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}i:33;a:12:{s:2:"id";i:33;s:8:"naviname";s:6:"投稿";s:3:"url";s:45:"http://blog.libnav.com/?plugin=qiukong_submit";s:6:"newtab";s:1:"y";s:9:"isdefault";s:1:"n";s:4:"type";i:0;s:6:"typeId";i:0;s:5:"taxis";i:100;s:4:"hide";s:1:"n";s:3:"pid";i:0;s:8:"children";a:0:{}s:9:"childnavi";a:0:{}}} EOF; $a = unserialize($a); var_dump($a);
based on fQK0Z
Output for 4.3.0 - 7.2.0
array(13) { [1]=> array(11) { ["id"]=> int(1) ["naviname"]=> string(6) "首页" ["url"]=> string(0) "" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "y" ["type"]=> int(1) ["typeId"]=> int(0) ["taxis"]=> int(1) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [4]=> array(11) { ["id"]=> int(4) ["naviname"]=> string(3) "PHP" ["url"]=> string(31) "http://blog.libnav.com/sort/php" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(1) ["taxis"]=> int(4) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [30]=> array(11) { ["id"]=> int(30) ["naviname"]=> string(6) "Python" ["url"]=> string(34) "http://blog.libnav.com/sort/python" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(18) ["taxis"]=> int(5) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [15]=> array(11) { ["id"]=> int(15) ["naviname"]=> string(9) "服务端" ["url"]=> string(33) "http://blog.libnav.com/sort/linux" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(6) ["taxis"]=> int(6) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [23]=> array(11) { ["id"]=> int(23) ["naviname"]=> string(9) "数据库" ["url"]=> string(31) "http://blog.libnav.com/sort/sql" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(16) ["taxis"]=> int(7) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [19]=> array(11) { ["id"]=> int(19) ["naviname"]=> string(6) "版本" ["url"]=> string(31) "http://blog.libnav.com/sort/git" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(12) ["taxis"]=> int(8) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [27]=> array(11) { ["id"]=> int(27) ["naviname"]=> string(6) "开源" ["url"]=> string(32) "http://blog.libnav.com/sort/open" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(19) ["taxis"]=> int(9) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [24]=> array(11) { ["id"]=> int(24) ["naviname"]=> string(6) "前端" ["url"]=> string(36) "http://blog.libnav.com/sort/frontend" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(17) ["taxis"]=> int(10) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [20]=> array(11) { ["id"]=> int(20) ["naviname"]=> string(6) "随笔" ["url"]=> string(33) "http://blog.libnav.com/sort/essay" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(4) ["typeId"]=> int(13) ["taxis"]=> int(11) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [28]=> array(11) { ["id"]=> int(28) ["naviname"]=> string(6) "留言" ["url"]=> string(40) "http://blog.libnav.com/message-wall.html" ["newtab"]=> string(1) "n" ["isdefault"]=> string(1) "n" ["type"]=> int(5) ["typeId"]=> int(322) ["taxis"]=> int(12) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } } [31]=> array(12) { ["id"]=> int(31) ["naviname"]=> string(12) "分享导航" ["url"]=> string(24) "http://share.libnav.com/" ["newtab"]=> string(1) "y" ["isdefault"]=> string(1) "n" ["type"]=> int(0) ["typeId"]=> int(0) ["taxis"]=> int(14) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } ["childnavi"]=> array(0) { } } [34]=> array(12) { ["id"]=> int(34) ["naviname"]=> string(14) "Github Project" ["url"]=> string(20) "http://sae.cfphp.com" ["newtab"]=> string(1) "y" ["isdefault"]=> string(1) "n" ["type"]=> int(0) ["typeId"]=> int(0) ["taxis"]=> int(15) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } ["childnavi"]=> array(0) { } } [33]=> array(12) { ["id"]=> int(33) ["naviname"]=> string(6) "投稿" ["url"]=> string(45) "http://blog.libnav.com/?plugin=qiukong_submit" ["newtab"]=> string(1) "y" ["isdefault"]=> string(1) "n" ["type"]=> int(0) ["typeId"]=> int(0) ["taxis"]=> int(100) ["hide"]=> string(1) "n" ["pid"]=> int(0) ["children"]=> array(0) { } ["childnavi"]=> array(0) { } } }