strnatcasecmp

PHP 4, PHP 5, PHP 7, PHP 8
strnatcasecmp - Case insensitive string comparisons using a "natural order" algorithm

Example #1 strnatcasecmp example

Result: int(-1) int(1) int(0)
PHP Version:


Example #2 of strnatcasecmp

PHP Version:


Function strnatcasecmp:

Strings Functions

Most used PHP functions