503f75d08b
These names don't make sense now that we run both suites the same way.
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);
|