Home
last modified time | relevance | path

Searched refs:use (Results 26 – 50 of 1030) sorted by relevance

12345678910>>...42

/PHP-8.0/Zend/tests/
H A Dclosure_use_auto_global.phpt2 Cannot use() auto-global
7 $fn = function() use($GLOBALS) {
16 Fatal error: Cannot use auto-global as lexical variable in %s on line %d
H A Dclosure_use_variable_twice.phpt2 Closure cannot use one variable twice
7 $fn = function() use ($a, &$a) {
15 Fatal error: Cannot use variable $a twice in %s on line %d
H A Dbug43183.phpt2 Bug #43183 ("use" of the same class in difference scripts results in a fatal error)
6 use Test\Foo;
9 use Test\Bar;
H A Dspecial_name_error2.phpt2 Cannot use special class name as alias
6 use Foo\Bar as self;
10 Fatal error: Cannot use Foo\Bar as self because 'self' is a special class name in %s on line %d
H A Dclass_uses_static.phpt2 Class cannot use static as a trait, as it is reserved
7 use static;
12 Fatal error: Cannot use 'static' as trait name, as it is reserved in %s on line %d
H A Dbug55086.phpt2 Bug #55086 (Namespace alias does not work inside trait's use block)
17 use N1\T1;
18 use N1\T2;
20 use T1, T2 {
H A Dclosure_use_parameter_name.phpt2 Can't use name of lexical variable for parameter
7 $fn = function ($a) use ($a) {
14 Fatal error: Cannot use lexical variable $a as a parameter name in %s on line %d
H A Dns_030.phpt8 use A\B as Foo;
13 Fatal error: Cannot use A\B as Foo because the name is already in use in %sns_030.php on line 5
H A Dstatic_in_trait_insteadof_list.phpt2 Cannot use static in trait insteadof list
11 use SomeTrait {
18 Fatal error: Cannot use 'static' as trait name, as it is reserved in %s on line %d
H A Dstatic_in_trait_insteadof_reference.phpt2 Cannot use static in trait insteadof method reference
11 use SomeTrait {
18 Fatal error: Cannot use 'static' as trait name, as it is reserved in %s on line %d
/PHP-8.0/Zend/tests/traits/
H A Derror_003.phpt2 Trying to use an interface as trait
10 use abc;
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_004.phpt2 Trying to use a class as trait
10 use abc;
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_005.phpt2 Trying to use a final class as trait
10 use abc;
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Derror_006.phpt2 Trying to use an abstract class as trait
10 use abc;
15 Fatal error: A cannot use abc - it is not a trait in %s on line %d
H A Dbug63911.phpt13 use A;
17 use A;
21 use B, C;
H A Dbug60145.phpt2 Bug #60145 (Usage of trait's use statement inside interfaces not properly checked.)
11 use foo;
18 Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in %s on line %d
H A Derror_013.phpt2 Trying to use static as method modifier
11 use foo { test as static; }
19 Fatal error: Cannot use 'static' as method modifier in %s on line %d
H A Dbug76700.phpt12 use T1 {
19 use T1;
24 use T2;
/PHP-8.0/Zend/tests/type_declarations/
H A Dscalar_reserved2_use.phpt2 Scalar type names cannot be used as class, trait or interface names (2) - use
6 use foobar as int;
9 Fatal error: Cannot use foobar as int because 'int' is a special class name in %s on line %d
H A Dscalar_reserved3_use.phpt2 Scalar type names cannot be used as class, trait or interface names (3) - use
6 use foobar as float;
9 Fatal error: Cannot use foobar as float because 'float' is a special class name in %s on line %d
H A Dscalar_reserved4_use.phpt2 Scalar type names cannot be used as class, trait or interface names (4) - use
6 use foobar as string;
9 Fatal error: Cannot use foobar as string because 'string' is a special class name in %s on line %d
H A Dscalar_reserved6_use.phpt2 Scalar type names cannot be used as class, trait or interface names (6) - use
6 use foobar as bool;
9 Fatal error: Cannot use foobar as bool because 'bool' is a special class name in %s on line %d
/PHP-8.0/ext/fileinfo/
H A Dmagicdata.patch23 ->>>>>0 use tga-image
25 ->>>>>0 use tga-image
27 ->>>>>0 use tga-image
29 ->>>>>0 use tga-image
31 ->>>>>0 use tga-image
35 +>>>>0 use tga-image
37 +>>>>0 use tga-image
39 +>>>>0 use tga-image
41 +>>>>0 use tga-image
43 +>>>>0 use tga-image
[all …]
/PHP-8.0/Zend/tests/use_const/
H A Ddefine_imported_before.phpt9 use const foo\bar;
18 Fatal error: Cannot use const foo\bar as bar because the name is already in use in %s on line %d
/PHP-8.0/Zend/tests/use_function/
H A Ddefine_imported_before.phpt9 use function foo\bar;
18 Fatal error: Cannot use function foo\bar as bar because the name is already in use in %s on line %d

Completed in 41 milliseconds

12345678910>>...42