array_push() v/s array[$index] = and reference construct &



I am using a mysql IN clause and building a array of references for
call_user_func_array().

In my XP env (xp, apache, php 5.3.8) this will work:

array_push($param_array, &$include_unique[$i]);

On a linux box, apache, php 5.3.6, it does not. Says " Call-time pass-
by-reference has been deprecated"

But this is allowed...

$param_array[$i] = &$include_unique[$i];

Is there a way to use a push with a reference construct?

Thank you.

.



Relevant Pages

  • Re: uptime script
    ... when trying to set the variable and start apache, ... env STARTTIME=`date -u %s`apachectl startssl: ... env STARTTIME=`date -u '+%s'` apachectl startssl ... settling on PHP - Perl and Python would be the canonical alternatives. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: apache 1.3.27 and php 4.3.4
    ... > support, and now not only does this not work, but apache is no longer ... > processing php pages! ... In the httpd.conf file there are references to if ... Dipl.Ing.Karl Heinz Marbaise | www.marbaise.org ...
    (comp.lang.php)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)