public static function getFieldsWithAllData($tbl): array
    {
        if (isset(self::$_cached_tbl_fields[$tbl])) {
            return self::$_cached_tbl_fields[$tbl];
        }

        return self::$_cached_tbl_fields = self::q_assoc_id("SHOW FIELDS FROM `$tbl`");
    }
public static function getFieldsWithAllData($tbl): array
    {
        if (isset(self::$_cached_tbl_fields[$tbl])) {
            return self::$_cached_tbl_fields[$tbl];
        }

        return self::$_cached_tbl_fields = self::q_assoc_id("SHOW FIELDS FROM `$tbl`");
    }
public static function getFieldsWithAllData ( $ tbl ) : array { if ( isset ( self :: $ _cached_tbl_fields [ $ tbl ] ) ) { return self :: $ _cached_tbl_fields [ $ tbl ] ; } return self :: $ _cached_tbl_fields = self :: q_assoc_id ( "SHOW FIELDS FROM `$tbl`" ) ; }
Show all columns in table with all data like type

@param string $tbl - table name
@return array - list
Show all columns in table with all data like type