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

1.1       misho       1: --TEST--
                      2: errmsg: class declarations may not be nested
                      3: --FILE--
                      4: <?php
                      5: 
                      6: class test {
                      7:        function foo() {
                      8:                class test2 {
                      9:                }
                     10:        }
                     11: }
                     12: 
                     13: echo "Done\n";
                     14: ?>
                     15: --EXPECTF--    
                     16: Fatal error: Class declarations may not be nested in %s on line %d

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