Fix issue with calling a unique, non-persistent method
[hiphop-php.git] / hphp / test / slow / hhbbc / pseudomain_001.php
blob589d459ed4759d6f9e4834dd1646311469be4f6b
1 <?php
3 function foo() {
4 global $x;
5 $x = 'yep';
6 return 'hehehe';
9 function al() { return 2; }
10 unset($x);
11 $x = al();
12 var_dump(foo());
13 var_dump($x);