original_string: public function insert($table, array $bind)
      {
          $this->_connect();
          $newbind = array();
          if (is_array($bind)) {
              foreach ($bind as $name => $value) {
                  if($value !== null) {
                      $newbind[$name] = $value;
                  }
              }
          }
  
          return parent::insert($table, $newbind);
      }
code: public function insert($table, array $bind)
      {
          $this->_connect();
          $newbind = array();
          if (is_array($bind)) {
              foreach ($bind as $name => $value) {
                  if($value !== null) {
                      $newbind[$name] = $value;
                  }
              }
          }
  
          return parent::insert($table, $newbind);
      }
code_tokens: public function insert ( $ table , array $ bind ) { $ this -> _connect ( ) ; $ newbind = array ( ) ; if ( is_array ( $ bind ) ) { foreach ( $ bind as $ name => $ value ) { if ( $ value !== null ) { $ newbind [ $ name ] = $ value ; } } } return parent :: insert ( $ table , $ newbind ) ; }
docstring: Inserts a table row with specified data.
  Special handling for PDO_IBM
  remove empty slots
  
  @param mixed $table The table to insert data into.
  @param array $bind Column-value pairs.
  @return int The number of affected rows.
docstring_tokens: Inserts a table row with specified data . Special handling for PDO_IBM remove empty slots