PHP Source:
<!DOCTYPE html>
<html>
<body>

<?php
echo substr_compare("Hello world","Hello world",0);
?>


<p>If this function returns 0, the two strings are equal.</p>

</body>
</html>
Result:
Show PHP - © w3schools.com
Privacy Policy