Annotation of embedaddon/php/Zend/tests/bug46665.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: $baz = '\\Foo\\Bar\\Baz';
                      7: new $baz();
                      8: function __autoload($class) {
                      9:     var_dump($class);
                     10:     require __DIR__ .'/bug46665_autoload.inc';
                     11: }
                     12: 
                     13: ?>
                     14: --EXPECTF--
                     15: %string|unicode%(11) "Foo\Bar\Baz"

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