Home
last modified time | relevance | path

Searched refs:use (Results 1 – 25 of 1306) sorted by relevance

12345678910>>...53

/PHP-8.2/Zend/tests/
H A Dbug53958.phpt2 Bug #53958 (Closures can't 'use' shared variables by value and by reference)
7 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
8 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
37 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
38 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
H A Dns_093.phpt2 Group use declarations and whitespace nuances
8 use Foo\Bar \{ A };
10 use Foo\Bar\ { B };
12 use Foo\Bar
17 use Foo\Bar\
H A Dstring_offset_as_object.phpt55 Cannot use string offset as an object
56 Cannot use string offset as an object
57 Cannot use string offset as an object
58 Cannot use string offset as an object
59 Cannot use string offset as an object
60 Cannot use string offset as an object
61 Cannot use string offset as an object
62 Cannot use string offset as an object
63 Cannot use string offset as an object
H A Dindexing_001.phpt64 Cannot use a scalar value as an array
66 Cannot use a scalar value as an array
68 Cannot use a scalar value as an array
83 Cannot use a scalar value as an array
101 Cannot use a scalar value as an array
103 Cannot use a scalar value as an array
105 Cannot use a scalar value as an array
116 Cannot use a scalar value as an array
133 Cannot use a scalar value as an array
135 Cannot use a scalar value as an array
[all …]
H A Dbug42859.phpt8 use Blah\Exception;
9 use Blah\Ex;
12 Fatal error: Cannot use Blah\Ex as Ex because the name is already in use in %sbug42859.php on line 6
H A Dns_033.phpt5 use A;
6 use \B;
9 Warning: The use statement with non-compound name 'A' has no effect in %sns_033.php on line 2
11 Warning: The use statement with non-compound name 'B' has no effect in %sns_033.php on line 3
/PHP-8.2/Zend/tests/traits/
H A Dconstant_002.phpt15 use TestTrait2;
20 use TestTrait1;
21 use TestTrait2;
25 use TestTrait1;
26 use TestTrait3;
30 use TestTrait1;
31 use TestTrait3;
H A Dbug60717.phpt2 Bug #60717 (Order of traits in use statement can cause unexpected unresolved abstract method)
35 use TextArea, HTMLAttributes, TextUTF8;
40 use TextArea, TextUTF8, HTMLAttributes;
45 use HTMLAttributes, TextArea, TextUTF8;
50 use HTMLAttributes, TextUTF8, TextArea;
55 use TextUTF8, TextArea, HTMLAttributes;
60 use TextUTF8, HTMLAttributes, TextArea;
/PHP-8.2/ext/opcache/tests/
H A Dbug70423.phpt19 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
20 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
29 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
30 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
39 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
40 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
49 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
50 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
/PHP-8.2/sapi/cli/tests/
H A D012.phpt22 string(32) "You can use -R or -F only once.
24 string(32) "You can use -R or -F only once.
26 string(32) "You can use -R or -F only once.
28 string(32) "You can use -R or -F only once.
30 string(26) "You can use -f only once.
32 string(26) "You can use -B only once.
34 string(26) "You can use -E only once.
36 string(26) "You can use -r only once.
/PHP-8.2/ext/random/tests/03_randomizer/methods/
H A DgetBytes.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
H A DnextInt.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
H A DgetInt.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
H A DshuffleArray.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
H A DshuffleBytes.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Secure;
10 use Random\Engine\Test\TestShaEngine;
11 use Random\Engine\Xoshiro256StarStar;
12 use Random\Randomizer;
/PHP-8.2/Zend/tests/use_const/
H A Dconflicting_use_alias.phpt2 use and use const with the same alias
11 use foo as bar;
12 use const foo as bar;
H A Dconflicting_use.phpt2 use const statements with conflicting names
15 use const foo\baz, bar\baz;
21 Fatal error: Cannot use const bar\baz as baz because the name is already in use in %s on line %d
/PHP-8.2/Zend/tests/use_function/
H A Dconflicting_use_alias.phpt2 use and use function with the same alias
13 use foo as bar;
14 use function foo as bar;
H A Dconflicting_use_const_alias.phpt2 use const and use function with the same alias
14 use const foo as bar;
15 use function foo as bar;
H A Dcase_insensivity.phpt7 use function foo\bar;
8 use function foo\BAR;
13 Fatal error: Cannot use function foo\BAR as BAR because the name is already in use in %s on line %d
H A Dconditional_function_declaration.phpt2 function that is conditionally defined is subject to symbol use checks
11 use function bar\foo;
17 Fatal error: Cannot use function bar\foo as foo because the name is already in use in %s on line %d
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dcompatibility_user.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestWrapperEngine;
10 use Random\Engine\Xoshiro256StarStar;
11 use Random\Randomizer;
H A Dserialize.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestShaEngine;
10 use Random\Engine\Xoshiro256StarStar;
11 use Random\Randomizer;
/PHP-8.2/ext/random/tests/02_engine/
H A Duser_compatibility.phpt6 use Random\Engine;
7 use Random\Engine\Mt19937;
8 use Random\Engine\PcgOneseq128XslRr64;
9 use Random\Engine\Test\TestWrapperEngine;
10 use Random\Engine\Xoshiro256StarStar;
/PHP-8.2/Zend/Optimizer/
H A Dzend_dfg.c30 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
39 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
47 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
75 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
90 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
105 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
117 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
129 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
189 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
195 zend_bitset_incl(use, var_num); in _zend_dfg_add_use_def_op()
[all …]

Completed in 43 milliseconds

12345678910>>...53