3v4l.org

run code in 300+ PHP versions simultaneously
<?php class uWU{ var $nxt=array(); function __wakeup(){ $this->nxt=array(); } } $x=unserialize('a:2{i:0;O:3:"uWU":1:{s:3:"nxt";a:1:{i:0;s:1:"x";}}i:1;R:4;}'); $a=str_repeat('a',10); var_dump($x); ?>
Output for 8.3.0 - 8.3.6
Warning: unserialize(): Error at offset 0 of 59 bytes in /in/Bp8mC on line 9 bool(false)
Output for 5.4.8 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Notice: unserialize(): Error at offset 0 of 59 bytes in /in/Bp8mC on line 9 bool(false)
Output for 7.3.32 - 7.3.33
bool(false)

preferences:
219.31 ms | 401 KiB | 219 Q