Annotation of embedaddon/php/Zend/tests/bug43343.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #43343 (Variable class name)
        !             3: --FILE--
        !             4: <?php
        !             5: namespace Foo;
        !             6: class Bar { }
        !             7: $foo = 'bar';
        !             8: var_dump(new namespace::$foo);
        !             9: ?>
        !            10: --EXPECTF--
        !            11: Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5

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