Re: call-time pass-by-reference feature really deprecated?
| From: | dorgon | Date: | Thu, 19 Jun 2003 15:53:08 +0000 |
| Subject: | Re: call-time pass-by-reference feature really deprecated? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6128@lists.php.net to get a copy of this message | ||
sorry, wrong ng. mozilla trims the newsgroup names and if you
were drunk the day before, your eyes are slow, such things happen ;-)
Dorgon wrote:
Hi, I just got a warning message on a system using php version 4.3.1: <snip> Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. </snip> This msg does not appear on my machine running php 4.3.2. Maybe it's because of the different configuration? Will the pass-by-reference feature really be dropped?! Many software design patterns wouldn't be possible anymore! It's an essential feature. The config of the system throwing the warning is: './configure' '--with-mysql=/usr/local/mysql/' '--with-apache=../apache_1.3.27/' '--enable-track-vars' '--with-config-file-path=/etc/' '--with-imap=/usr/local/imap-2001a' '--with-gettext' '--with-exec-dir=/usr/local/typo3sh/bin' '--with-gd=/usr/local/typo3sh' '--with-jpeg-dir' '--with-png-dir' '--with-tiff-dir' '--with-ttf=/usr/local/typo3sh' '--with-zlib=yes' '--enable-gd-nativ-ttf' '--enable-ftp' '--with-xml' /dorgon