Lines Matching refs:needle
6 var_dump( strrchr("Hello, World", "H") ); //needle as single char
7 var_dump( strrchr("Hello, World", "H", true) ); //needle as single char
8 var_dump( strrchr("Hello, World", "Hello") ); //needle as a first word of haystack
9 var_dump( strrchr("Hello, World", "Hello", true) ); //needle as a first word of haystack
21 //needle as second word of haystack
27 //needle as special char
33 var_dump( strrchr("Hello, World", "Hello, World") ); //needle as haystack
34 var_dump( strrchr("Hello, World", "Hello, World", true) ); //needle as haystack
36 //needle string containing one existing and one non-existing char
40 //multiple existence of needle in haystack
46 var_dump( strrchr("Hello, World", "Zzzz") ); //non-existent needle in haystack
47 var_dump( strrchr("Hello, World", "Zzzz", true) ); //non-existent needle in haystack