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

1.1       misho       1: --TEST--
                      2: 007: Run-time name conflict (php name)
                      3: --FILE--
                      4: <?php
                      5: namespace test\ns1;
                      6: 
                      7: class Exception {
                      8: }
                      9: 
                     10: $x = "Exception";
                     11: echo get_class(new $x),"\n";
                     12: --EXPECT--
                     13: Exception

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