Universeorange.com/Docs/
{string.compare.natural.case.insensitive(String $string1, String $string2)}
Case-insensitive string comparisons using a "natural order" algorithm.
This function implements a comparison algorithm that orders alphanumeric strings in the way a human being would.
The behaviour of this function is similar to {string.compare.natural()}
, except that the comparison is not case-sensitive.
For more information see: Martin Pool's ยป Natural Order String Comparison page.
Returns an
integer
< 0
if string1 is less than string2;> 0
if string1 is greater than string2, and0
if they are equal.
https://www.php.net/manual/en/function.strnatcasecmp.php
Last modified: 2021-06-07
© 2021 universeorange.com