3 abstract final class ZendGoodZendTestsBug31102
{
4 public static $test = 0;
7 function __autoload($class)
11 echo __METHOD__
. "($class,".ZendGoodZendTestsBug31102
::$test.")\n";
12 switch(ZendGoodZendTestsBug31102
::$test)
15 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
18 eval("class $class { function __construct(){throw new Exception('$class::__construct');}}");
19 throw new Exception(__METHOD__
);
26 while(ZendGoodZendTestsBug31102
::$test++
< 5)
30 eval("\$bug = new Test".ZendGoodZendTestsBug31102
::$test."();");
34 echo "Caught: " . $e->getMessage() . "\n";