1--TEST-- 2Validation of class names in the autoload process 3--FILE-- 4<?php 5function __autoload($name) { 6 echo "$name\n"; 7} 8$a = "../BUG"; 9$x = new $a; 10echo "BUG\n"; 11?> 12--EXPECTF-- 13Fatal error: Uncaught Error: Class '../BUG' not found in %sautoload_021.php:6 14Stack trace: 15#0 {main} 16 thrown in %sautoload_021.php on line 6 17