1--TEST--
2No packed -> mixed reallocation while populating __unserialize() array
3--FILE--
4<?php
5
6$payload = 'O:13:"ArrayIterator":2:{i:0;i:0;s:1:"x";R:2;}';
7try {
8    var_dump(unserialize($payload));
9} catch (Exception $e) {
10    echo $e->getMessage(), "\n";
11}
12
13?>
14--EXPECT--
15Incomplete or ill-typed serialization data
16