FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=19087&edit=1

ID: 19087
Updated by: daniel.oconnor@gmail.com
Reported By: jwohlers at waubonsee dot edu
Summary: Generates E_STRICT error due to use of
PEAR::isError()
Status: Open
Type: Bug
Package: Net_LDAP2
Operating System: Linux
Package Version: 2.0.12
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

It'd be good to convert to exceptions rather than the pear error
behaviour.

http://svn.php.net/viewvc/pear/packages/Net_LDAP2/trunk/Net/LDAP2.php?
view=markup

s/PEAR::raiseError/throw new Net_LDAP2_Exception/

I don't know if that counts as a BC break exactly - you didn't seem to
get much time
before it hit "2.0.0 stable".


Previous Comments:
------------------------------------------------------------------------

[2011-11-29 18:17:52] cap60552

Description:
------------
The library generates a "Non-static method PEAR::isError() should not be
called statically" error if the php error level includes E_STRICT.



Test script:
---------------
Occurs with all sample code if the server has E_STRICT error level set.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 30, '11 at 11:31a
activeNov 30, '11 at 11:31a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2021 Grokbase