Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
"; // the two strings are equal echo substr_compare("Hello world!","Hello",0)."
"; // string1 is greater than string2 echo substr_compare("Hello world!","Hello world! Hello!",0)."
"; // string1 is less than string2 ?>
0
7
-7