Arquivos
hhvm/hphp/test/quick/BindS_twice.php
T
Jordan DeLong 9adc532349 Fix a type bug in BindS and BindG
They should load as a V not a C.
2013-06-03 10:54:39 -07:00

20 linhas
266 B
PHP

<?php
class C {
public static $blar;
public static $blor;
public static function buh(&$thinger = null) {
self::$blar = &$thinger;
self::$blor = &self::$blar;
}
}
function main() {
C::buh();
var_dump(C::$blar);
var_dump(C::$blor);
}
main();