1--TEST--
2Bad unserialize_callback_func
3--FILE--
4<?php
5ini_set('unserialize_callback_func','Nonexistent');
6$o = unserialize('O:3:"FOO":0:{}');
7var_dump($o);
8echo "Done";
9?>
10--EXPECTF--
11Warning: unserialize(): defined (Nonexistent) but not found in %s on line %d
12object(__PHP_Incomplete_Class)#%d (1) {
13  ["__PHP_Incomplete_Class_Name"]=>
14  string(3) "FOO"
15}
16Done
17