= $len && 0 === substr_compare( $haystack, $needle, -$len, $len ) ); }