1--TEST-- 2Bug #26762 (unserialize() produces lowercase classnames) 3--SKIPIF-- 4<?php 5 if (class_exists('autoload_root')) die('skip Autoload test classes exist already'); 6?> 7--FILE-- 8<?php 9 10ini_set('unserialize_callback_func','check'); 11 12function check($name) { 13 var_dump($name); 14 throw new exception; 15} 16 17try { 18 @unserialize('O:3:"FOO":0:{}'); 19} 20catch (Exception $e) { 21 /* ignore */ 22} 23 24?> 25--EXPECT-- 26string(3) "FOO" 27