Archive for November 24th, 2015

Tuesday, November 24th, 2015

Two More Comparisons

PHP 7 introduces two new comparison operators. One is the null coalesce operator which allows you to substitute a default value easily when the original field is null. The second compares two values and returns -1, 0 or 1 depending on which is greater. Two More Comparisons