Home
last modified time | relevance | path

Searched refs:as (Results 251 – 275 of 3756) sorted by relevance

1...<<11121314151617181920>>...151

/PHP-7.4/Zend/tests/try/
H A Dtry_finally_015.phpt8 foreach ($array as $value) {
12 foreach ($array as $_) {
H A Dbug70228_7.phpt8 foreach ($array as $value) {
12 foreach ($array as $_) {
/PHP-7.4/Zend/tests/use_const/
H A Dalias.phpt15 use const foo\baz as foo_baz,
16 bar\baz as bar_baz;
H A Ddefine_imported_before.phpt2 using const with same name as defined should fail
18 Fatal error: Cannot use const foo\bar as bar because the name is already in use in %s on line %d
/PHP-7.4/ext/standard/tests/strings/
H A Dstrrpos_variation15.phpt95 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
99 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
103 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
109 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
115 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
121 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
131 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
135 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
159 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
163 Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an expl…
[all …]
H A Dstrstr.phpt72 echo "-- Passing objects as string and needle --\n";
75 The error can be avoided by choosing the __toString magix method as follows: */
96 echo "\n-- passing an array as string and needle --\n";
103 echo "\n-- passing Resources as string and needle --\n";
155 echo "- Positions of some chars in the string '$str' are as follows -\n";
236 Deprecated: strstr(): Non-string needles will be interpreted as strings in %s on line %d
246 Deprecated: strstr(): Non-string needles will be interpreted as strings in %s on line %d
342 -- Passing objects as string and needle --
345 -- passing an array as string and needle --
352 -- passing Resources as string and needle --
[all …]
/PHP-7.4/ext/pdo/tests/
H A Dbug_43139.phpt27 var_dump($db->query("select 0 as abc, 1 as xyz, 2 as def $from")->fetchAll(PDO::FETCH_GROUP));
/PHP-7.4/ext/standard/tests/serialize/
H A Dsleep_undefined_declared_properties.phpt24 Notice: serialize(): "pub" returned as member variable from __sleep() but does not exist in %s on l…
26 Notice: serialize(): "prot" returned as member variable from __sleep() but does not exist in %s on …
28 Notice: serialize(): "priv" returned as member variable from __sleep() but does not exist in %s on …
/PHP-7.4/ext/standard/tests/array/
H A Darray_push_error2.phpt2 Test array_push() function : error conditions - max int value as key
11 * Use PHP's maximum integer value as array key
27 Warning: array_push(): Cannot add element to the array as the next element is already occupied in %…
H A Duasort_variation7.phpt2 Test uasort() function : usage variations - anonymous function as 'cmp_function'
11 * Passing different anonymous functions as 'cmp_function'
16 echo "*** Testing uasort() : anonymous function as 'cmp_function' ***\n";
43 *** Testing uasort() : anonymous function as 'cmp_function' ***
H A Darray_intersect_uassoc_variation10.phpt28 echo "\n-- Testing array_intersect_uassoc() function using class with static method as callback --\…
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_uassoc() function using class with static method as callback --
50 -- Testing array_intersect_uassoc() function using class with regular method as callback --
H A Darray_intersect_ukey_variation9.phpt28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_ukey() function using class with static method as callback --
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
/PHP-7.4/ext/zlib/tests/
H A Dgzread_basic.phpt12 // the same as fread
18 foreach ($lengths as $length) {
33 as it turns "
H A Dreadgzfile_variation10.phpt27 foreach ( $variation as $var ) {
37 as it turns around
44 as it turns around
57 as it turns around
64 as it turns around
/PHP-7.4/ext/date/tests/
H A Dbug33957.phpt15 foreach (range(1992, 2019) as $year) {
22 foreach (range(1992, 2019) as $year) {
30 foreach (range(1993, 2020) as $year) {
/PHP-7.4/Zend/tests/
H A Dbug52051.phpt26 Deprecated: Methods with the same name as their class will not be constructors in a future version …
28 Deprecated: Methods with the same name as their class will not be constructors in a future version …
30 Deprecated: Methods with the same name as their class will not be constructors in a future version …
32 Deprecated: Methods with the same name as their class will not be constructors in a future version …
H A Dforeach_003.phpt28 foreach(['rewind', 'valid', 'key', 'current', 'next'] as $trap) {
32 foreach ($obj as $key => $val) echo "$val\n";
40 foreach (new IT(3, $trap) as $key => $val) echo "$val\n";
47 foreach ((object)new IT(2, $trap) as $key => $val) echo "$val\n";
H A Dbug37046.phpt10 foreach (s() as $k => $function) {
13 foreach (s() as $k => $function) {
H A Dstrict_001.phpt2 using resource as array offset
17 Notice: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d
H A Derrmsg_044.phpt2 Trying use object of type stdClass as array
11 Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_loadHTML_error2.phpt2 DOMDocument::loadHTML() should fail if empty string provided as input
15 Warning: DOMDocument::loadHTML(): Empty string supplied as input in %s on line %d
/PHP-7.4/ext/spl/tests/
H A Darray_006.phpt13 foreach($obj as $ak=>$av) {
14 foreach($obj as $bk=>$bv) {
H A Darray_016.phpt8 foreach(new IteratorIterator($it) as $v)
15 foreach(new IteratorIterator($it) as $v)
/PHP-7.4/ext/reflection/tests/
H A Dbug77772.phpt12 foreach ($rc->getMethods(null) as $method) {
15 foreach ($rc->getProperties(null) as $prop) {
/PHP-7.4/Zend/tests/use_function/
H A Dconflicting_use_const_alias.phpt14 use const foo as bar;
15 use function foo as bar;

Completed in 27 milliseconds

1...<<11121314151617181920>>...151