Home
last modified time | relevance | path

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

12345678910>>...58

/php-src/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 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 Ddynamic_class_const_fetch.phpt49 Cannot use value of type null as class constant name
52 Cannot use value of type null as class constant name
57 Cannot use value of type int as class constant name
58 Cannot use value of type int as class constant name
59 Cannot use value of type int as class constant name
60 Cannot use value of type int as class constant name
61 Cannot use value of type array as class constant name
62 Cannot use value of type array as class constant name
63 Cannot use value of type array as class constant name
64 Cannot use value of type array as class constant name
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
/php-src/Zend/tests/offsets/
H A Dobject_container_offset_behaviour.phpt10 Cannot use object of type stdClass as array
12 Cannot use object of type stdClass as array
14 Cannot use object of type stdClass as array
16 Cannot use object of type stdClass as array
18 Cannot use object of type stdClass as array
20 Cannot use object of type stdClass as array
22 Cannot use object of type stdClass as array
24 Cannot use object of type stdClass as array
26 Cannot use object of type stdClass as array
28 Cannot use object of type stdClass as array
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_check.c74 uint32_t b2 = ctx->cfg_map[use]; in ir_check_domination()
80 return def < use; in ir_check_domination()
91 ir_ref i, j, n, *p, use; in ir_check() local
106 use = *p; in ir_check()
107 if (use != IR_UNUSED) { in ir_check()
108 if (IR_IS_CONST_REF(use)) { in ir_check()
129 && use >= i in ir_check()
216 && use >= i in ir_check()
249 && use > 0 in ir_check()
301 use = *p; in ir_check()
[all …]
/php-src/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;
/php-src/ext/zip/tests/
H A Dzip_entry_compressedsize.phpt17 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
19 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
21 Deprecated: Function zip_entry_compressedsize() is deprecated since 8.0, use ZipArchive::statIndex(…
24 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
26 Deprecated: Function zip_entry_compressedsize() is deprecated since 8.0, use ZipArchive::statIndex(…
29 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
31 Deprecated: Function zip_entry_compressedsize() is deprecated since 8.0, use ZipArchive::statIndex(…
34 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
36 Deprecated: Function zip_entry_compressedsize() is deprecated since 8.0, use ZipArchive::statIndex(…
39 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
[all …]
H A Dzip_entry_compressionmethod.phpt17 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
19 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
21 Deprecated: Function zip_entry_compressionmethod() is deprecated since 8.0, use ZipArchive::statInd…
24 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
26 Deprecated: Function zip_entry_compressionmethod() is deprecated since 8.0, use ZipArchive::statInd…
29 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
31 Deprecated: Function zip_entry_compressionmethod() is deprecated since 8.0, use ZipArchive::statInd…
34 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
36 Deprecated: Function zip_entry_compressionmethod() is deprecated since 8.0, use ZipArchive::statInd…
39 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
[all …]
H A Dzip_entry_filesize.phpt17 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
19 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
21 Deprecated: Function zip_entry_filesize() is deprecated since 8.0, use ZipArchive::statIndex() inst…
24 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
26 Deprecated: Function zip_entry_filesize() is deprecated since 8.0, use ZipArchive::statIndex() inst…
29 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
31 Deprecated: Function zip_entry_filesize() is deprecated since 8.0, use ZipArchive::statIndex() inst…
34 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
36 Deprecated: Function zip_entry_filesize() is deprecated since 8.0, use ZipArchive::statIndex() inst…
39 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
[all …]
H A Dzip_entry_name.phpt17 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
19 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
21 Deprecated: Function zip_entry_name() is deprecated since 8.0, use ZipArchive::statIndex() instead …
24 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
26 Deprecated: Function zip_entry_name() is deprecated since 8.0, use ZipArchive::statIndex() instead …
29 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
31 Deprecated: Function zip_entry_name() is deprecated since 8.0, use ZipArchive::statIndex() instead …
34 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
36 Deprecated: Function zip_entry_name() is deprecated since 8.0, use ZipArchive::statIndex() instead …
39 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
[all …]
H A Doo_setcompression.phpt64 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
66 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
68 Deprecated: Function zip_entry_name() is deprecated since 8.0, use ZipArchive::statIndex() instead …
73 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
80 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
87 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
94 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
101 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
108 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
115 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
[all …]
H A Dzip_read.phpt18 Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on li…
20 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
22 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
24 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
26 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
28 Deprecated: Function zip_read() is deprecated since 8.0, use ZipArchive::statIndex() instead in %s …
30 Deprecated: Function zip_close() is deprecated since 8.0, use ZipArchive::close() instead in %s on …
/php-src/Zend/tests/namespaces/
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\
/php-src/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-src/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-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat.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\IntervalBoundary;
13 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 DnextFloat.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 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;
/php-src/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;
/php-src/ext/pgsql/tests/
H A D98old_api.phpt48 Deprecated: Function pg_numrows() is deprecated since 8.0, use pg_num_rows() instead in %s on line …
50 Deprecated: Function pg_numfields() is deprecated since 8.0, use pg_num_fields() instead in %s on l…
52 Deprecated: Function pg_fieldname() is deprecated since 8.0, use pg_field_name() instead in %s on l…
54 Deprecated: Function pg_fieldsize() is deprecated since 8.0, use pg_field_size() instead in %s on l…
56 Deprecated: Function pg_fieldtype() is deprecated since 8.0, use pg_field_type() instead in %s on l…
58 Deprecated: Function pg_fieldprtlen() is deprecated since 8.0, use pg_field_prtlen() instead in %s …
60 Deprecated: Function pg_fieldprtlen() is deprecated since 8.0, use pg_field_prtlen() instead in %s …
70 Deprecated: Function pg_result() is deprecated since 8.0, use pg_fetch_result() instead in %s on li…
72 Deprecated: Function pg_result() is deprecated since 8.0, use pg_fetch_result() instead in %s on li…
76 Deprecated: Function pg_getlastoid() is deprecated since 8.0, use pg_last_oid() instead in %s on li…
[all …]
/php-src/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;
/php-src/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;

Completed in 25 milliseconds

12345678910>>...58