text: Check if ' AB ' is smaller or ' BA ' and return bool value since comparison operator ' < = ' returns true or false
code: if ( ( int ) ( $ A . $ B ) <= ( int ) ( $ B . $ A ) ) { return true ; } else return false ; }