Found some incompatibilities

From: Date: Wed, 18 Feb 2004 10:51:21 +0000
Subject: Found some incompatibilities
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2121@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 HI! I just upgraded to php 4.3.5 RC3 and wanted to know if our software works with it (currently our software is developed under 4.2.2 - but we are engaging an upgrade now ;) ). We also use a pretty old smarty version (1.3.1). I discovered a few oddities and i don't really know if that's a bug or intented (probably it is just our stupid smarty code): {if $logo1 ne $baseurl."layout/pixel_t.gif" OR $logo3 ne $baseurl."layout/pixel_t.gif"} that worked pretty fine using 1.3.1 but using the current smarty it produces parse errors .... i attached a simple patch which fixes that for me. I guess you had a good reason to put these quotes in there but i don't have any idea of the internal smarty code, so maybe that is really a bug? Would be nice to hear if that is a bug. If it is not a bug in smarty we would have serious trouble upgrading as we have thousands of these files ;) Furthermore our config file had a size of 0 bytes...the behaviour of fread seems to have changed since 4.2.2...i "fixed" that too... Regards, Andreas Streichardt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAM0OpWy5LAOeI9r4RAls8AJ9FUC6h3aAloE+2YkOV/MeguXAwCACeKpnf WrKJ0gVJe7ZcuCofSJAck90= =1UQN -----END PGP SIGNATURE-----

Attachment: [text/x-diff] Config_File.class.php.diff
Attachment: [text/x-diff] Smarty.class.php.diff
Attachment: [text/x-diff] Smarty_Compiler.class.php.diff
« previous php.smarty.dev (#2121) next »