1--TEST-- 2Validation of class names in the autoload process 3--FILE-- 4<?php 5spl_autoload_register(function ($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 %s:%d 14Stack trace: 15#0 {main} 16 thrown in %sautoload_021.php on line 6 17