bug52001.phpt 308 B

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