Re: [SMARTY-DEV] Strict PHP5 Compatibility

From: Date: Fri, 23 Jul 2004 00:27:10 +0000
Subject: Re: [SMARTY-DEV] Strict PHP5 Compatibility
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2507@lists.php.net to get a copy of this message
Didn't feel like sleeping, here's the whole thing. Ruben On Fri, 2004-07-23 at 02:17 +0200, Ruben Vermeersch wrote: > 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/

Attachment: [text/x-patch] smarty-php5-strict.diff
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.smarty.dev (#2507) next »