the srtcmp() function will compares two strings in php. and this function is binary safe and case sensitive.
<?php
echo strcmp("easyscript4u","easyscript4u");
?>
If this function returns 0, the two strings are equal. the output will be above code is 0
<?php
echo strcmp("easyscript4u","easyscript4u");
?>
If this function returns 0, the two strings are equal. the output will be above code is 0
0 comments:
Post a Comment