Annotation of embedaddon/php/ext/reflection/tests/bug26640.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Reflection Bug #26640 (__autoload() not invoked by Reflection classes)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: function __autoload($c)
                      7: {
                      8:        class autoload_class
                      9:        {
                     10:                public function __construct()
                     11:                {
                     12:                        print "autoload success\n";
                     13:                }
                     14:        }
                     15: }
                     16: 
                     17: $a = new ReflectionClass('autoload_class');
                     18: 
                     19: if (is_object($a)) {
                     20:        echo "OK\n";
                     21: }
                     22: 
                     23: ?>
                     24: --EXPECT--
                     25: OK

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>