public function getTypes($number)
    {
        $binstring = decbin((int) $number);
        $types = array();
        $mlen = strlen($binstring) - 3;
        $low = substr($binstring, $mlen, strlen($binstring));
        $high = substr($binstring, 0, $mlen) . '0000';
        $types['wired'] = bindec($low);
        $types['field'] = bindec($binstring) >> 3;
        return $types;
    }
public function getTypes($number)
    {
        $binstring = decbin((int) $number);
        $types = array();
        $mlen = strlen($binstring) - 3;
        $low = substr($binstring, $mlen, strlen($binstring));
        $high = substr($binstring, 0, $mlen) . '0000';
        $types['wired'] = bindec($low);
        $types['field'] = bindec($binstring) >> 3;
        return $types;
    }
public function getTypes ( $ number ) { $ binstring = decbin ( ( int ) $ number ) ; $ types = array ( ) ; $ mlen = strlen ( $ binstring ) - 3 ; $ low = substr ( $ binstring , $ mlen , strlen ( $ binstring ) ) ; $ high = substr ( $ binstring , 0 , $ mlen ) . '0000' ; $ types [ 'wired' ] = bindec ( $ low ) ; $ types [ 'field' ] = bindec ( $ binstring ) >> 3 ; return $ types ; }
Get the wired_type and field_type
@param $number
@return array wired_type, field_type
Get the wired_type and field_type