Fix issue with calling a unique, non-persistent method
[hiphop-php.git] / hphp / test / slow / hhbbc / array_049.php
blob086e1fe617cb4279d91d6a286c00539efbe8514c
1 <?php
3 function a() { return 1; }
4 function foo() {
5 $x = array(a());
6 $x[] += 12;
7 return $x;
9 function d() {
10 $y = foo();
11 var_dump($y);
13 d();