3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'a:1:{s:32:"entity_legal_document_acceptance";a:1:{s:11:"primary key";a:1:{i:0;s:3:"aid";}}}a:1:{s:32:"entity_legal_document_acceptance";a:1:{s:11:"primary key";a:1:{i:0;s:3:"aid";}}}'; var_dump(unserialize($data));
Output for 8.3.0 - 8.3.16, 8.4.1 - 8.4.3
Warning: unserialize(): Extra data starting at offset 91 of 182 bytes in /in/mr8AW on line 4 array(1) { ["entity_legal_document_acceptance"]=> array(1) { ["primary key"]=> array(1) { [0]=> string(3) "aid" } } }
Output for 8.1.0 - 8.1.31, 8.2.0 - 8.2.27
array(1) { ["entity_legal_document_acceptance"]=> array(1) { ["primary key"]=> array(1) { [0]=> string(3) "aid" } } }

preferences:
60.13 ms | 407 KiB | 5 Q