Home
last modified time | relevance | path

Searched refs:as (Results 151 – 175 of 3756) sorted by relevance

12345678910>>...151

/PHP-7.4/ext/standard/tests/strings/
H A Dstrrchr_variation8.phpt24 $empty_str //needle as haystack
28 foreach($needles as $needle) {
38 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d
41 Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d
H A Dstrrchr_basic.phpt11 var_dump( strrchr("Hello, World", "H") ); //needle as single char
12 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack
20 //needle as second word of haystack
24 //needle as special char
28 var_dump( strrchr("Hello, World", "Hello, World") ); //needle as haystack
H A Dstripos_variation2.phpt72 42, //needle as int(ASCII value of '*')
73 $haystack //haystack as needle
123 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
126 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
130 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
133 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
137 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
140 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
144 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
147 Deprecated: stripos(): Non-string needles will be interpreted as strings in the future. Use an expl…
[all …]
H A Dmd5_file.phpt41 /* Scalar value as filename */
44 /* NULL as filename */
53 /* Hexadecimal Output for Empty file as input */
54 echo "\n*** Hexadecimal Output for Empty file as Argument ***\n";
57 /* Raw Binary Output for Empty file as input */
58 echo "\n*** Raw Binary Output for Empty file as Argument ***\n";
96 *** Hexadecimal Output for Empty file as Argument ***
99 *** Raw Binary Output for Empty file as Argument ***
/PHP-7.4/ext/intl/tests/
H A Dmsgfmt_format_subpatterns.phpt24 other {{2} invites {3} as one of the # people invited to her party.}}}
29 other {{2} invites {3} as one of the # other people invited to his party.}}}
34 other {{2} invites {3} as one of the # other people invited to their party.}}}}
52 foreach ($args as $arg) {
72 'Alice invites Bob as one of the 26 people invited to her party.'
73 'Alice invites Bob as one of the 26 people invited to her party.'
/PHP-7.4/Zend/tests/
H A Dspecial_name_error1.phpt2 Cannot use special class name as namespace
10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
H A Dforeach_005.phpt6 foreach($a as &$x) {
7 foreach($a as &$y) {
H A Dthis_as_global.phpt2 $this as global variable
12 Fatal error: Cannot use $this as global variable in %sthis_as_global.php on line 3
H A Dthis_as_static.phpt2 $this as static variable
12 Fatal error: Cannot use $this as static variable in %sthis_as_static.php on line 3
H A Dbug39017.phpt2 Bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults)
6 foreach(($a=(object)new A()) as $v);
H A Dbug67111.phpt9 foreach ($array1 as $x) {
10 foreach ($array2 as $y) {
H A Dforeach_004.phpt25 foreach(['rewind', 'valid', 'key', 'next'] as $trap) {
29 foreach ($obj as $key => &$val) echo "$val\n";
37 foreach (new IT($trap) as $key => &$val) echo "$val\n";
44 foreach ((object)new IT($trap) as $key => &$val) echo "$val\n";
/PHP-7.4/ext/spl/tests/
H A Dbug50579.phpt17 foreach ($i as $name=>$value) {
22 foreach ($i as $name=>$value) {
29 foreach ($i as $name=>$value) {
H A Dobserver_003.phpt18 foreach(array(1,"2","foo",true) as $value)
25 foreach($storage as $object)
37 foreach($storage2 as $object)
/PHP-7.4/tests/lang/
H A DforeachLoop.002.phpt8 foreach ($a as $k=>$v) {
16 foreach ($a as $k=>$v) {
24 foreach ($a as $k=>&$v) {
32 foreach ($a as $v) {
46 foreach ($a as &$v) {
59 foreach ($a as $v) {
67 foreach ($a as &$v) {
/PHP-7.4/ext/mbstring/tests/
H A Dmb_str_split_utf8_utf16.phpt35 /* print each chunk as HEX string */
37 foreach(mb_str_split($utf8, 2) as $chunk){
43 foreach(mb_str_split($utf8_bad, 2) as $chunk){
49 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){
55 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){
61 foreach(mb_str_split($utf16be_bad, 1, "UTF-16BE") as $chunk){
67 foreach(mb_str_split($utf16le_bad, 1, "UTF-16LE") as $chunk){
/PHP-7.4/ext/standard/tests/array/
H A Dbug54459.phpt7 foreach (range(90, 100, .1) as $i => $v){
10 foreach (range("90", "100", .1) as $i => $v){
H A Din_array_variation3.phpt2 Test in_array() function : usage variations - haystack as sub-array/object
12 /* Test in_array() with haystack as sub-array and object */
38 //error: as wrong datatype for second argument
40 //error: as wrong datatype for second argument
42 //element found as "one" exists in array $array_var
H A Darray_change_key_case_variation6.phpt20 echo "\n-- Pass a two-dimensional array as \$input argument --\n";
23 echo "\n-- Pass a sub-arry as \$input argument --\n";
31 -- Pass a two-dimensional array as $input argument --
62 -- Pass a sub-arry as $input argument --
H A Darray_walk_variation8.phpt2 Test array_walk() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk() : built-in function as callback ***\n";
33 *** Testing array_walk() : built-in function as callback ***
/PHP-7.4/ext/zlib/tests/
H A Dgzfile_variation12.phpt22 foreach ( $variation as $var ) {
42 string(19) "as it turns around
62 string(19) "as it turns around
82 string(19) "as it turns around
102 string(19) "as it turns around
/PHP-7.4/tests/classes/
H A Dstatic_properties_003.phpt33 Notice: Accessing static property C::$x as non static in %s on line 11
35 Notice: Accessing static property C::$x as non static in %s on line 12
39 Notice: Accessing static property C::$x as non static in %s on line 13
41 Notice: Accessing static property C::$x as non static in %s on line 15
43 Notice: Accessing static property C::$x as non static in %s on line 16
/PHP-7.4/Zend/tests/try/
H A Dtry_finally_021.phpt6 foreach ([0] as $_) {
7 foreach ($array as $v) {
/PHP-7.4/ext/standard/tests/file/
H A Dbug66509.phpt2 Bug #66509 (copy() showing $context parameter as required)
8 foreach($r->getParameters() as $p) {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dintval_binary_prefix.phpt35 foreach ($goodInputs as $input) {
43 foreach ($goodInputs as $input) {
51 foreach ($goodInputs as $input) {
59 foreach ($badInputs as $input) {

Completed in 33 milliseconds

12345678910>>...151