Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- E_STRICT notices on PEAR MDB2
September 20, 2007, 11:38 pm
rate this thread
Re: E_STRICT notices on PEAR MDB2
It's because MDB2 retains compatibility with PHP4. Pretty much all the
strict messages are related to using is_a() instead of the PHP5
instanceof operator and calling methods statically that don't have the
PHP5 static keyword. Neither should be a problem in practice.
As for other PEAR packages, that depends on the package. Newer PEAR
packages are PHP5-only, and generally should be E_STRICT compliant (and
if they're not, report it as a bug), but older packages (which includes
pretty much all the popular ones, judging by the stats page) retain PHP4
compatibility and hence will have similar issues with E_STRICT.
To e-mail: don't make an example out of me!