AW: [SMARTY] Method Request
| From: | Joscha Feth | Date: | Thu, 20 Feb 2003 20:04:36 +0000 |
| Subject: | AW: [SMARTY] Method Request | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8042@lists.php.net to get a copy of this message | ||
> -----Ursprüngliche Nachricht-----
> Von: Monte Ohrt [mailto:monte@ispi.net]
> > why is it called _vars and not _var ;)
>
> Probably because its original intention was just to get all
> the vars. I
> didn't write it either :D
>
> 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?
Yes, should be like that, think of a counter assigned to a var...
Greets,
Joscha