Home
last modified time | relevance | path

Searched refs:class_alias (Results 1 – 25 of 41) sorted by relevance

12

/PHP-8.2/Zend/tests/traits/
H A Dget_declared_traits_004.phpt2 Testing get_declared_traits() and class_alias()
7 class_alias("T", "A");
/PHP-8.2/Zend/tests/
H A Dbug62343.phpt2 Bug #62343 (Show class_alias In get_declared_classes())
6 class_alias("a", "b");
H A Dclass_alias_007.phpt2 Testing class_alias() using autoload
10 class_alias('foo', 'bar', 1);
H A Dbug54624.phpt2 Bug #54624 (class_alias and type hint)
12 class_alias('A', 'AliasA');
H A Dclass_alias_002.phpt2 Trying redeclare class with class_alias()
8 class_alias('foo', 'FOO');
H A Dclass_alias_006.phpt7 class_alias('stdclass', 'foo');
14 class_alias(): Argument #1 ($class) must be a user-defined class name, internal class name given
H A Dclass_alias_019.phpt12 class_alias(__NAMESPACE__ .'\foo', 'foo');
13 class_alias('\foo', 'foo');
H A Dclass_alias_008.phpt2 Testing class_alias() with abstract class using an arbitrary class name as alias
8 class_alias('foo', "\0");
H A Dclass_alias_013.phpt14 class_alias(__NAMESPACE__ .'\foo', $alias1);
17 class_alias($alias1, $alias2);
H A Dclass_alias_001.phpt2 Testing class_alias()
8 class_alias('foo', 'bar');
H A Dclass_alias_020.phpt12 class_alias(__NAMESPACE__ .'\foo', 'foo');
19 class_alias(__NAMESPACE__ .'\foo', 'bar');
H A Dbug76451.inc4 class_alias('Foo', 'Bar');
H A Dbug76451_2.phpt6 class_alias('Foo', 'Bar');
H A Dclass_alias_014.phpt11 class_alias('bar', 'baz');
/PHP-8.2/Zend/tests/anon/
H A D011.phpt2 Ensure proper inheritance with get_class(anon class instance) used via class_alias (see also bug #7…
6 class_alias(get_class(new class { protected $foo = 1; }), "AnonBase");
/PHP-8.2/Zend/tests/type_declarations/
H A Dscalar_reserved3_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (3) - class_alias
7 class_alias("foobar", "float");
H A Dscalar_reserved4_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (4) - class_alias
7 class_alias("foobar", "string");
H A Dscalar_reserved2_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (2) - class_alias
7 class_alias("foobar", "int");
H A Dscalar_reserved6_class_alias.phpt2 Scalar type names cannot be used as class, trait or interface names (6) - class_alias
7 class_alias("foobar", "bool");
/PHP-8.2/ext/opcache/tests/
H A Dpreload_class_alias.inc3 class_alias(A::class, 'B');
H A Dpreload_class_alias_2.inc4 class_alias('B', 'C');
/PHP-8.2/Zend/tests/type_declarations/intersection_types/redundant_types/
H A Dduplicate_class_alias_type_runtime.phpt8 class_alias('A', 'B');
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dduplicate_class_alias_type_runtime.phpt9 class_alias('A', 'B');
/PHP-8.2/Zend/tests/grammar/
H A Dregression_011.phpt11 class_alias('foo\bar', 'foo\baz');
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dproperty_types_early_bind.phpt7 class_alias('X', 'Y');

Completed in 17 milliseconds

12