Run »
"; echo substr_compare("world","ld",-2,2)."
"; echo substr_compare("world","orl",1,2)."
"; echo substr_compare("world","OR",1,2,TRUE)."
"; echo substr_compare("world","or",1,3)."
"; echo substr_compare("world","rl",1,2)."
"; ?>
0
0
0
0
1
-3