<?php
$array = <<<ARR
a:16:{s:11:"post_status";s:7:"publish";s:11:"post_author";s:8:"original";s:10:"map_author";s:1:"1";s:10:"allow_cats";s:2:"on";s:12:"exclude_cats";s:6:"1,2584";s:11:"default_cat";s:2:"13";s:8:"cat_type";s:6:"normal";s:21:"enable_featured_image";s:2:"no";s:16:"allow_attachment";s:2:"no";s:14:"attachment_num";s:1:"0";s:19:"attachment_max_size";s:4:"2048";s:11:"editor_type";s:5:"plain";s:10:"allow_tags";s:2:"on";s:19:"enable_custom_field";s:2:"on";s:16:"enable_post_date";s:3:"off";s:18:"enable_post_expiry";s:3:"off";}
ARR;
var_dump(unserialize($array));
- 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(16) {
["post_status"]=>
string(7) "publish"
["post_author"]=>
string(8) "original"
["map_author"]=>
string(1) "1"
["allow_cats"]=>
string(2) "on"
["exclude_cats"]=>
string(6) "1,2584"
["default_cat"]=>
string(2) "13"
["cat_type"]=>
string(6) "normal"
["enable_featured_image"]=>
string(2) "no"
["allow_attachment"]=>
string(2) "no"
["attachment_num"]=>
string(1) "0"
["attachment_max_size"]=>
string(4) "2048"
["editor_type"]=>
string(5) "plain"
["allow_tags"]=>
string(2) "on"
["enable_custom_field"]=>
string(2) "on"
["enable_post_date"]=>
string(3) "off"
["enable_post_expiry"]=>
string(3) "off"
}
preferences:
295.89 ms | 407 KiB | 459 Q