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.
20 linhas
373 B
PHP
20 linhas
373 B
PHP
<?php
|
|
|
|
// This is to trigger a specific refcounting bug in the VM, to do with object
|
|
// initialization templates. #668149
|
|
|
|
class Fub {
|
|
const FLUB = 'flub';
|
|
// This depends on a class constant, which means it will need a 86pinit().
|
|
public $dub = array(
|
|
self::FLUB => array(123)
|
|
);
|
|
}
|
|
|
|
$f = new Fub;
|
|
var_dump($f->dub);
|
|
unset($f);
|
|
|
|
$f = new Fub;
|
|
var_dump($f->dub);
|