Re: new proposal : PHP_Debug
| From: | Loïc Vernet | Date: | Mon, 20 Jun 2005 12:20:32 +0000 |
| Subject: | Re: new proposal : PHP_Debug | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38176@lists.php.net to get a copy of this message | ||
> sounds like a good idea, it's also helpfull to
> announce a couple of weeks before you call for votes
> that you intend to do that..
Ok.
> Please follow CS, and use PHP_DEBUG_* to prefix all
> your constants..
Yes, i still have some work to do to be 100% pear cs
compliant. Then i'll change the status to "proposal".
> you can use PEAR::getStaticProperty to
> store/retrieve configuration
But the standalone version is supposed to work w/o
pear.
> or preferably use some static method
> eg.. PHP_Debug::useVersion(PHP_DEBUG_STANDALONE);
Well in fact actually, before declaration of my class
i conditionnally include Var_Dump and SQL_Parser if
PHP_DEBUG_VERSION is set to PHP_DEBUG_VERSION_PEAR,
but the variable need to be changed in the file wich
is not very smart. So perhaps i could simply make the
include at the object creation. (not before)
And what about the functionalities of the class ?
Thanks Alan for your feedback. :)
-------
PHP_Debug :
http://pear.php.net/pepr/pepr-proposal-show.php?id=260
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com