Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

spaceship operator php

Return 0 if values on either side are equal
Return 1 if the value on the left is greater
Return -1 if the value on the right is greater
 
PREVIOUS NEXT
Tagged: #spaceship #operator #php
ADD COMMENT
Topic
Name
9+4 =