Strict PHP5 Compatibility
| From: | Ruben Vermeersch | Date: | Fri, 23 Jul 2004 00:14:53 +0000 |
| Subject: | Strict PHP5 Compatibility | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-2505@lists.php.net to get a copy of this message | ||
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
Attachment: [text/x-patch] smarty-php5-strict.diff
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc