Re: [SMARTY] Method Request

From: Date: Thu, 20 Feb 2003 20:08:41 +0000
Subject: Re: [SMARTY] Method Request
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8043@lists.php.net to get a copy of this message
Monte Ohrt wrote:
It does return a reference though, not a copy. So if you get a var and change it, the value of the assigned var will change as well. Expected behavior?
I think you would probably only find this if you read the manual and when reading the manual you would probably notice that it returns a reference. Also, this is what should be done. You can loop over the array and perform global actions such as stripslashes() or something. Reference is to be expected. ~ Paul

« previous php.smarty.general (#8043) next »