mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
25 lines
428 B
PHP
25 lines
428 B
PHP
--TEST--
|
|
Preloading trait uses with aliased names
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.preload={PWD}/preload.inc
|
|
--EXTENSIONS--
|
|
opcache
|
|
--SKIPIF--
|
|
<?php
|
|
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(get_class_methods('TraitAliasTest'));
|
|
?>
|
|
--EXPECT--
|
|
array(2) {
|
|
[0]=>
|
|
string(3) "bar"
|
|
[1]=>
|
|
string(3) "foo"
|
|
}
|