Lines Matching refs:str
5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]])
13 * Testing strspn() : with different strings as str argument and default start and len args
16 echo "*** Testing strspn() : with different str and default start and len args ***\n";
44 // loop through each element of the array for str argument
46 foreach($strings as $str) {
47 echo "\n-- Iteration with str value \"$str\" --\n";
50 var_dump( strspn($str,$mask) );
56 *** Testing strspn() : with different str and default start and len args ***
58 -- Iteration with str value "" --
61 -- Iteration with str value "" --
64 -- Iteration with str value "
68 -- Iteration with str value "\n" --
71 -- Iteration with str value "hello world
77 -- Iteration with str value "hello\tworld\nhello\nworld\n" --
80 -- Iteration with str value "1234hello45world 123" --
83 -- Iteration with str value "1234hello45world\t123" --
86 -- Iteration with str value "hello%0world
90 -- Iteration with str value "hello\0world\012" --
93 -- Iteration with str value "%0%0" --
96 -- Iteration with str value "%0hello%0world%0" --
99 -- Iteration with str value "%0hello\0world%0" --
102 -- Iteration with str value "hello%0world" --
105 -- Iteration with str value "hello%0world" --
108 -- Iteration with str value "hello%0@�aworld" --
111 -- Iteration with str value "hello\0\100\xaaaworld" --