<?php
$test = unserialize('a:10:{s:11:"post_status";s:7:"publish";s:9:"post_type";s:4:"post";s:11:"post_author";i:0;s:13:"post_password";s:0:"";s:12:"post_excerpt";s:0:"";s:12:"post_content";s:13:"just for test";s:10:"post_title";s:8:"fuck you";s:9:"post_date";a:0:{}s:14:"comment_status";s:4:"open";s:11:"terms_names";a:2:{s:8:"category";a:1:{i:0;s:5:"apple";}s:8:"post_tag";a:1:{i:0;s:9:"road bike";}}}');
print_r($test);
- 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
(
[post_status] => publish
[post_type] => post
[post_author] => 0
[post_password] =>
[post_excerpt] =>
[post_content] => just for test
[post_title] => fuck you
[post_date] => Array
(
)
[comment_status] => open
[terms_names] => Array
(
[category] => Array
(
[0] => apple
)
[post_tag] => Array
(
[0] => road bike
)
)
)
preferences:
294.19 ms | 407 KiB | 460 Q