Compare two integers without using any Comparison operator | function return true if A ^ B > 0 else false ; Driver Code
< ? php function EqualNumber ( $ A , $ B ) { return ( $ A ^ $ B ) ; } $ A = 5 ; $ B = 6 ; echo ( ( int ) ! ( EqualNumber ( $ A , $ B ) ) ) . " STRNEWLINE " ; ? >