Re: Three different ways to create a new Smarty object?
Posted by Richard Levasseur on 10/06/34 11:48
If you are using PHP4, use =&, it will assign by reference just like
PHP5 will do. If the official tutorial/guide/manual is using =&, then
you should too if you're using PHP4; there is probably a reason they
are using it.
=& is redundant in PHP5 with respect to objects, so you can happily
ignore using =&