3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
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" }