|default=''
| From: | Pupeno | Date: | Tue, 11 Jun 2002 19:36:54 +0000 |
| Subject: | |default='' | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4786@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm using E_ALL in the error reporting and I declare every variable before I
use it, etc, etc... this is good for debugin, because if you misstype the
name of a variable, you'll have an error and not just a weird behaviour,
since I use my own error reporting function which stores error in a mysql
database (or a file) I keep E_ALL even in the production enviroment, so, I
periodically check the database to see if everything is going ok (in fact, I
get errors mailed to me so I can trak bugs faster, before the client finds
out what's going on), if any of you are intrested in this error reporting
function, I'll post it, BTW...
I would like that when the default parameter is passed, that the variable is
not used, so no error is generated, can this be posible ? I could code it,
but I didn't check if this is posible in the way smarty works.
Thank you.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9BlFYLr8z5XzmSDQRApNcAJ44vNaOLyAzp2vDnrBd/q10iFeKuQCgohym
uzUN3nMa3c9BQmHaCHxSmFk=
=4UZv
-----END PGP SIGNATURE-----