Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <?php setlocale (LC_COLLATE, 'NL'); echo strcoll("Hello World!","Hello World!"); echo "<br>"; setlocale (LC_COLLATE, 'en_US'); echo strcoll("Hello World!","Hello World!"); ?> <p>If this function returns 0, the two strings are equal.</p> </body> </html>
0
0
If this function returns 0, the two strings are equal.