Annotation of embedaddon/php/tests/lang/bug26182.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #26182 (Object properties created redundantly)
        !             3: --INI--
        !             4: error_reporting=4095
        !             5: --FILE--
        !             6: <?php
        !             7: 
        !             8: class A {
        !             9:     function NotAConstructor ()
        !            10:     {
        !            11:         if (isset($this->x)) {
        !            12:             //just for demo
        !            13:         }
        !            14:     }
        !            15: }
        !            16: 
        !            17: $t = new A ();
        !            18: 
        !            19: print_r($t);
        !            20: 
        !            21: ?>
        !            22: --EXPECT--
        !            23: A Object
        !            24: (
        !            25: )

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