3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data ='O:3:"s:3:"aaa";a:5:{i:0;i:1;i:1;i:2;i:2;s:39:"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";i:3;i:4;i:4;i:5;}s:3:"aaa";i:1;s:3:"ccc";R:5;}}'; $x = unserialize($data); var_dump($x);
based on qRdGZ
Output for 7.2.0 - 7.2.34, 7.3.0 - 7.3.24, 7.4.0 - 7.4.12, 8.0.0
Notice: unserialize(): Error at offset 8 of 134 bytes in /in/883Pv on line 4 bool(false)