1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Files
archived-php-src/ext/opcache/tests/preload.inc
T
Nikita Popov ffc7e953ea properties_info_table may be in arena or shm
For immutable classes it should be shm instead of in arena.

Related to bug #77615.
2019-02-15 10:27:30 +01:00

44 lines
441 B
PHP

<?php
function f1() {
}
if (isset($rt)) {
function f2() {
}
}
interface a {
function foo();
function bar();
}
interface b {
function foo();
}
abstract class c {
function bar() { }
}
class x extends c implements a, b {
function foo() { }
}
trait T1 {
static function foo() {
var_dump(__METHOD__);
}
}
trait T2 {
use T1;
static function bar() {
var_dump(__METHOD__);
}
}
class Y {
use T2;
}
class Z {
public $foo;
}