src/POData/Providers/Metadata/Type/Binary.php
/**
     * Checks equality of binary values
     *     
     * @param string $binary1 First binary value
     * @param string $binary2 Second binary value
     * 
     * @return boolean
     */
Checks equality of binary values

@param string $binary1 First binary value
@param string $binary2 Second binary value

@return boolean
Checks equality of binary values @param string $binary1 First binary value @param string $binary2 Second binary value @return boolean
public static function binaryEqual($binary1, $binary2) 
    {
        if (is_null($binary1) || is_null($binary2)) {
            return false;
        }
        return (strcmp($binary1, $binary2) == 0);
    }
public static function binaryEqual ( $ binary1 , $ binary2 ) { if ( is_null ( $ binary1 ) || is_null ( $ binary2 ) ) { return false ; } return ( strcmp ( $ binary1 , $ binary2 ) == 0 ) ; }
Checks equality of binary values
Checks equality of binary values
//str cmp will return true if they are both null, so check short circuit that..