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

ID: 16150
Comment by: kornel@aardvarkmedia.co.uk
Reported By: kornel at aardvarkmedia dot co dot uk
Summary: PEAR_ErrorStack::singleton() method is not declared
static
Status: Open
Type: Bug
Package: PEAR_ErrorStack
Operating System: *
PHP Version: 5_3 CVS-2009-04-24
Roadmap Versions:
New Comment:

I've noticed that it's just a tip of the iceberg and whole PEAR is far
from
working properly on PHP5. I guess it must be by design, so feel free to

close this bug.


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

[2009-04-25 00:58:03] kornel

Description:
------------
PEAR_ErrorStack::singleton() method is not declared static.


Expected result:
----------------
static function singleton($package, $msgCallback = false,
$contextCallback
= false,
$throwPEAR_Error = false, $stackClass =
'PEAR_ErrorStack')

Actual result:
--------------
function &singleton($package, $msgCallback = false, $contextCallback =

false,
$throwPEAR_Error = false, $stackClass =
'PEAR_ErrorStack')

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

Search Discussions

  • Greg at Apr 25, 2009 at 5:03 am
    Edit report at http://pear.php.net/bugs/bug.php?id=16150&edit=1

    ID: 16150
    Updated by: greg@chiaraquartet.net
    Reported By: kornel at aardvarkmedia dot co dot uk
    Summary: PEAR_ErrorStack::singleton() method is not declared
    static
    -Status: Open
    +Status: Wont fix
    Type: Bug
    Package: PEAR_ErrorStack
    Operating System: *
    PHP Version: 5_3 CVS-2009-04-24
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Wont fix

    static was introduced in PHP 5.0.0, PEAR supports PHP 4.4.0 and newer

    disable E_STRICT to use PEAR_ErrorStack or other PEAR components and it
    works as advertised :)


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

    [2009-04-25 02:25:24] kornel

    I've noticed that it's just a tip of the iceberg and whole PEAR is far
    from
    working properly on PHP5. I guess it must be by design, so feel free to

    close this bug.

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

    [2009-04-25 00:58:03] kornel

    Description:
    ------------
    PEAR_ErrorStack::singleton() method is not declared static.


    Expected result:
    ----------------
    static function singleton($package, $msgCallback = false,
    $contextCallback
    = false,
    $throwPEAR_Error = false, $stackClass =
    'PEAR_ErrorStack')

    Actual result:
    --------------
    function &singleton($package, $msgCallback = false, $contextCallback =

    false,
    $throwPEAR_Error = false, $stackClass =
    'PEAR_ErrorStack')

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 25, '09 at 12:25a
activeApr 25, '09 at 5:03a
posts2
users2
websitepear.php.net

2 users in discussion

Greg: 1 post Kornel: 1 post

People

Translate

site design / logo © 2021 Grokbase