All help topics · Link to this topic
Showing help on 'equal()'
Syntax: equal(value1, value2) => INTReturns true if <value1> is completely indistinguishable from <value2>. This is much the same operation as "<value1> == <value2>" except that, unlike ==, the `equal()' function does not treat upper- and lower-case characters in strings as equal.
Raises E_ARGS if none, one, or more than two arguments are given.
equal(1, 2) => 0
equal("ChIcKeN", "chicken") => 0
equal("ABC123", "ABC123") => 1