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

1.1       misho       1: --TEST--
                      2: Bug #64821 Custom Exceptions crash when internal properties overridden (variation 2)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: class a extends exception {
                      7:        public function __construct() {
                      8:                $this->line = array();
                      9:        }
                     10: }
                     11: 
                     12: throw new a;
                     13: 
                     14: ?>
                     15: --EXPECTF--
                     16: Fatal error: Uncaught exception 'a' in %s:0
                     17: Stack trace:
                     18: #0 {main}
                     19:   thrown in %s on line %d

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