Problem with reference variables.

From: Date: Thu, 07 Nov 2002 17:45:39 +0000
Subject: Problem with reference variables.
Groups: php.general 
Request: Send a blank email to php-general+get-123199@lists.php.net to get a copy of this message
Hello, If i set display_errors = on and error_reporting = E_ALL in my php.ini file, then i get this warning: 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. I'm trying to pass a variable by reference to a function, ex: <?php myTestFunction(&$x); ?> Do anyones know the new sintax for use reference variables? I don't understand the warning text: "If you would like to pass it by reference, modify the declaration of [runtime function name]()." If anyone have an example, better.. thanks, RB _________________________________________________________________ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.microsoft.com/es

« previous php.general (#123199) next »