Re: [SMARTY-DEV] Strict PHP5 Compatibility

[email protected] (Ruben Vermeersch)
Newsgroups php.smarty.dev
Message-ID <1090541877.9838.10.camel@ruben>
Note: this is only a patched Smarty.class.php file, rest will follow,
but it's getting quite late.

Ruben

On Fri, 2004-07-23 at 02:14 +0200, Ruben Vermeersch wrote:
> Patching Smarty for my latest project again. This time, it's E_STRICT
> compatibility (PHP5). Offcourse, this cannot be taken into HEAD, since
> it would break backwards compatibility. Just posting it anyway, there
> was some interest.
> 
> Ain't a big patch anyway (took my 5 minutes), just put all the normal
> vars public, the @access private vars protected. The latter is because I
> still want to be able to access em when overloading Smarty. This does
> add some crap in PhpDocumentor, although i find it rather usefull to
> have these vars in the docs too. The most important change is the
> renaming of the constructor (It's PHP5 after all ;)).
> 
> If anyone can use it, enjoy!
> 
> Regards,
> Ruben
> 
-- 
Ruben Vermeersch
http://www.Lambda1.be/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBAFk14xxhPkoR/ZURAlBzAJ9HFrzWB7cOwN8nwvVnPZqtzbptbwCgjNtW
PD6Cz2mJDkHvr5kyzZV4Djs=
=xsQa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.