File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug52001.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:47:52 2012 UTC (13 years, 1 month ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    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>