call-time pass-by-reference feature really deprecated?
| From: | dorgon | Date: | Thu, 19 Jun 2003 15:53:57 +0000 |
| Subject: | call-time pass-by-reference feature really deprecated? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152174@lists.php.net to get a copy of this message | ||
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