original_string: public function executeProcedure($strProcName, $params = null)
      {
          $strParams = '';
          if ($params) {
              $a = array_map(function ($val) {
                  return $this->sqlVariable($val);
              }, $params);
              $strParams = implode(',', $a);
          }
          $strSql = "call {$strProcName}({$strParams})";
          return $this->multiQuery($strSql);
      }
code: public function executeProcedure($strProcName, $params = null)
      {
          $strParams = '';
          if ($params) {
              $a = array_map(function ($val) {
                  return $this->sqlVariable($val);
              }, $params);
              $strParams = implode(',', $a);
          }
          $strSql = "call {$strProcName}({$strParams})";
          return $this->multiQuery($strSql);
      }
code_tokens: public function executeProcedure ( $ strProcName , $ params = null ) { $ strParams = '' ; if ( $ params ) { $ a = array_map ( function ( $ val ) { return $ this -> sqlVariable ( $ val ) ; } , $ params ) ; $ strParams = implode ( ',' , $ a ) ; } $ strSql = "call {$strProcName}({$strParams})" ; return $ this -> multiQuery ( $ strSql ) ; }
docstring: Generic stored procedure executor. For Mysql 5, you can have your stored procedure return results by
  "SELECT"ing the results. The results will be returned as an array.
  
  @param string $strProcName Name of stored procedure
  @param array|null $params
  @return Result[]
  @throws MysqliException
docstring_tokens: Generic stored procedure executor . For Mysql 5 you can have your stored procedure return results by SELECT ing the results . The results will be returned as an array .