ZF-12335: Optimalisation of quoting function in Zend_Db_Adapter_Abstract

Issue Type: Improvement Created: 2012-07-13T09:09:22.000+0000 Last Updated: 2012-07-13T10:20:45.000+0000 Status: Open Fix version(s): Reporter: Vaclav Hoblik (vaclav.hoblik) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db

  • Zend_Db_Adapter_Abstract
  • zemd_db_

Related issues: Attachments:


in abstract class Zend_Db_Adapter_Abstract in function quote() lines #871-873 is not effectivelly used recursive call. It is not needed to call recursive function for not array wars. So it should be replaced by:

<pre class="highlight">
  if (is_array($val)) {
    $val = $this->quote($val, $type);
  } else {
    $val = $this->_quote($val);


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.