1--TEST-- 2Ensure catch blocks for unknown exception types do not trigger autoload. 3--FILE-- 4<?php 5 function __autoload($name) 6 { 7 echo "In autoload: "; 8 var_dump($name); 9 } 10 11 function f() 12 { 13 throw new Exception(); 14 } 15 try { 16 f(); 17 } 18 catch (UndefC $u) { 19 echo "In UndefClass catch block.\n"; 20 } 21 catch (Exception $e) { 22 echo "In Exception catch block. Autoload should not have been triggered.\n"; 23 } 24?> 25--EXPECTF-- 26In Exception catch block. Autoload should not have been triggered. 27