src/bbn/x.php
public static function convert_uids($st){
    if ( \is_array($st) || \is_object($st) ){
      foreach ( $st as &$s ){
        $s = self::convert_uids($s);
      }
    }
    else if ( \bbn\str::is_uid($st) ){
      $st = bin2hex($st);
    }
    return $st;
  }
public static function convert_uids($st){
    if ( \is_array($st) || \is_object($st) ){
      foreach ( $st as &$s ){
        $s = self::convert_uids($s);
      }
    }
    else if ( \bbn\str::is_uid($st) ){
      $st = bin2hex($st);
    }
    return $st;
  }
public static function convert_uids ( $ st ) { if ( \ is_array ( $ st ) || \ is_object ( $ st ) ) { foreach ( $ st as & $ s ) { $ s = self :: convert_uids ( $ s ) ; } } else if ( \ bbn \ str :: is_uid ( $ st ) ) { $ st = bin2hex ( $ st ) ; } return $ st ; }
Converts a hex UID to a binary UID. You can also give an array or an object to convert the array's items or the object's properties.
@param string|array|object $st
@return string
Converts a hex UID to a binary UID . You can also give an array or an object to convert the array s items or the object s properties .