Arquivos
hhvm/hphp/test/vm/SetOp.php
T
Jordan Delong 363d1bb20f Code move src/ -> hphp/
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.
2013-02-11 02:10:41 -08:00

18 linhas
236 B
PHP

<?php
function main() {
$y = 20;
var_dump($y += 10);
$var = 'x';
$x = 20;
var_dump($$var += 10);
$_SERVER = 20;
var_dump($_SERVER += 10);
class C { public static $a; }
C::$a = 20;
var_dump(C::$a += 10);
}
main();