Fix zend tests to stop using $GLOBALS
[hiphop-php.git] / hphp / hack / test / full_fidelity / cases / globals-read.php
blob87b3706aebbd3c3c891243a1230763c57282f47f
1 <?hh // partial
4 function g() {
5 $y = $GLOBALS['foo']; // ok
6 $x = $GLOBALS; // not ok