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

1.1     ! misho       1: --TEST--
        !             2: Bug #52001 (Memory allocation problems after using variable variables)
        !             3: --FILE--
        !             4: <?php
        !             5: a(0,$$var);
        !             6: 
        !             7: $temp1=1;
        !             8: $temp2=2;
        !             9: var_dump($temp1);
        !            10: 
        !            11: function a($b,$c) {}
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Notice: Undefined variable: var in %sbug52001.php on line 2
        !            15: 
        !            16: Notice: Undefined variable:  in %sbug52001.php on line 2
        !            17: int(1)

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