Home
last modified time | relevance | path

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

12

/PHP-7.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.phpt6 class_alias('stdclass', 'foo');
10 Warning: First argument of class_alias() must be a name of user defined class in %s on line %d
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 Dclass_alias_015.phpt11 class_alias('foo\bar', 'foo\baz');
H A Dclass_alias_014.phpt11 class_alias('bar', 'baz');
H A Dclass_alias_004.phpt11 class_alias('foo', 'test');
H A Dclass_alias_010.phpt8 class_alias('a', 'b');
H A Dclass_alias_005.phpt15 class_alias('foo', 'baz');
H A Dclass_alias_009.phpt8 class_alias('a', 'b');
H A Dclass_alias_011.phpt15 class_alias('FOO', 'bar');
H A Dclass_alias_021.phpt10 class_alias('foo\bar', 'baz');
H A Dclass_exists_001.phpt12 class_alias(__NAMESPACE__ .'\foo', 'bar');
/PHP-7.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-7.2/Zend/tests/type_declarations/
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_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_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-7.2/Zend/tests/grammar/
H A Dregression_011.phpt11 class_alias('foo\bar', 'foo\baz');

Completed in 17 milliseconds

12