title: Call-time pass-by-reference has been deprecated, array_push error
body: <p>I'm using a MysqliDb class and it gives this error:</p>
  
  <blockquote>
    <p>"Deprecated: Call-time pass-by-reference has been deprecated in C:...\MySqlDb.php on line 101", 340, 348 and 375</p>
  </blockquote>
  
  <p>where is a array_push function:</p>
  
  <pre><code>array_push($params, &amp;$bindParams[$prop]);
  
  array_push($this-&gt;_bindParams, &amp;$tableData[$prop]);
  </code></pre>
  
  <p>I removed the "&amp;" and it worked but just for these /\ two,
  but not for these / two (giving a lot of errors)</p>
  
  <pre><code>if($hasConditional) {
              if ($this-&gt;_where) {
                  $this-&gt;_bindParams[0] .= $this-&gt;_whereTypeList;
                  foreach ($this-&gt;_where as $prop =&gt; $val) {
                      array_push($this-&gt;_bindParams, &amp;$this-&gt;_where[$prop]);
                  }
              }   
          }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>while ($field = $meta-&gt;fetch_field()) {
              array_push($parameters, &amp;$row[$field-&gt;name]);
          }
  </code></pre>
  
  <p>The MysqliDb class can be found here: <a href="https://github.com/ajillion/PHP-MySQLi-Database-Class" rel="nofollow">https://github.com/ajillion/PHP-MySQLi-Database-Class</a></p>