1--TEST--
2Bug #69793: Remotely triggerable stack exhaustion via recursive method calls
3--FILE--
4<?php
5$e = unserialize('O:9:"Exception":7:{s:17:"'."\0".'Exception'."\0".'string";s:1:"a";s:7:"'."\0".'*'."\0".'code";i:0;s:7:"'."\0".'*'."\0".'file";s:0:"";s:7:"'."\0".'*'."\0".'line";i:1337;s:16:"'."\0".'Exception'."\0".'trace";a:0:{}s:19:"'."\0".'Exception'."\0".'previous";i:10;s:10:"'."\0".'*'."\0".'message";N;}');
6
7var_dump($e."");
8?>
9--EXPECTF--
10Fatal error: Uncaught TypeError: Cannot assign int to property Exception::$previous of type ?Throwable in %s:%d
11Stack trace:
12#0 %s(%d): unserialize('O:9:"Exception"...')
13#1 {main}
14  thrown in %s on line %d
15