Lines Matching refs:str
5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
13 * Testing strspn() : with different heredoc strings as str argument
66 // loop through each element of the array for str argument
68 foreach($heredoc_strings as $str) {
69 echo "\n-- Iteration with str value as \"$str\" --\n";
70 var_dump( strspn($str,$mask) ); // with default start and len values
78 -- Iteration with str value as "" --
81 -- Iteration with str value as "
86 -- Iteration with str value as "first line of heredoc string
91 -- Iteration with str value as "hello world
97 -- Iteration with str value as "hello123world456
101 -- Iteration with str value as "helloworldhello
105 -- Iteration with str value as "hello@�worldhello