Function

strcmp

Synopsis

strcmp(string, string): int

Area
Runtime\PS\Core\Strings\Compare\strcmpareas

Description

strcmp compares $string1 and $string2 byte by byte, answering a negative number when $string1 sorts first, a positive one when it sorts last, and 0 when they are equal.

Usage

$value = strcmp($arguments);
$fn = strcmp(...);

See also