Home >Backend Development >PHP Tutorial >Combined comparison operator PHP7+
php7+ supports the combined comparison operator, that is, 96b4fef55684b9312718d5de63fb7121, which is called combined comparison operator in English. The combined comparison operator can easily compare two variables, and of course is not limited to the comparison of numerical data.
Syntax: $a96b4fef55684b9312718d5de63fb7121$b
If $a > $b, the returned value is 1
If $a == $b, the returned value is 0
If $a < $b, the returned value The value is -1
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($(' ').text(i)); }; $numbering.fadeIn(1700); }); });
The above introduces the combined comparison operator PHP7+, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.