You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
391 B

--TEST--
Reflection Bug #26640 (__autoload() not invoked by Reflection classes)
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
function __autoload($c)
{
class autoload_class
{
public function __construct()
{
print "autoload success\n";
}
}
}
$a = new ReflectionClass('autoload_class');
if (is_object($a)) {
echo "OK\n";
}
?>
--EXPECT--
OK