ScalarComparator.php Interfaces, Classes and Traits ScalarComparator Compares scalar or NULL values for equality.