363d1bb20f
This change is mostly for FB internal organizational reasons. Building is not effected beyond the fact that the target now lands in hphp/hhvm/hhvm rather than src/hhvm/hhvm.
21 linhas
289 B
PHP
21 linhas
289 B
PHP
<?php
|
|
|
|
function f() {
|
|
$n = "x";
|
|
$g = "y";
|
|
global $$g;
|
|
|
|
$x = 0;
|
|
$$g = 0;
|
|
print ":".empty($x).":\n";
|
|
print ":".empty($$n).":\n";
|
|
print ":".empty($$g).":\n";
|
|
|
|
$x = 1;
|
|
$$g = 1;
|
|
print ":".empty($x).":\n";
|
|
print ":".empty($$n).":\n";
|
|
print ":".empty($$g).":\n";
|
|
}
|
|
f();
|