sniper          Fri Jan 16 13:24:32 2004 EDT

  Added files:                 
    /php-src/tests/lang bug26640.phpt 
  Log:
  Added test case for bug #26640
  

Index: php-src/tests/lang/bug26640.phpt
+++ php-src/tests/lang/bug26640.phpt
--TEST--
Bug #26640 (__autoload() not invoked by Reflection classes)
--FILE--
<?php

function __autoload($c)
{
        class autoload_class
        {
                public function __construct()
                {
                        print "autoload success\n";
                }
        }
}

$a = new Reflection_Class('autoload_class');

if (is_object($a)) {
        echo "OK\n";
}

?>
--EXPECT--
OK

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to