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

ID: 18763
Updated by: alan@akbkhome.com
Reported By: jha dot rajeev at gmail dot com
Summary: PHP 5.3.7 is_a behavior change breaks
HTML_Template_Flexy
Status: Open
Type: Bug
Package: HTML_Template_Flexy
Operating System: Mac OSX Lion
Package Version: 1.3.11
PHP Version: 5.3.7
Roadmap Versions:
New Comment:

It's fixed in svn, i will get a release out this week


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

[2011-08-28 09:50:13] rjha94

Description:
------------
PHP is_a() behavior has been changed in 5.3.7. As a result tests
like is_a($string, 'PEAR_Error') no longer works in flexy code
base and results in triggering __autoload() function. If you are
using a custom autoload then Flexy is broken with 5.3.7


Please @see also
php 5.3.7 is_a bug report
https://bugs.php.net/bug.php?id=55475
PEAR bug report about similar issue in DB_DataObject package
http://pear.php.net/bugs/bug.php?id=18749&thanks=3

Expected result:
----------------
As perl Alan, the fix is to stick is_object($x) before all the is_a()
calls

Actual result:
--------------
Package should work with changes in 5.3.7 as PHP folks are not
going to revert/fix this behavior in 5.3.8 also

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

Search Discussions

  • Jha Rajeev at Aug 28, 2011 at 3:25 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18763&edit=1

    ID: 18763
    Updated by: jha.rajeev@gmail.com
    Reported By: jha dot rajeev at gmail dot com
    Summary: PHP 5.3.7 is_a behavior change breaks
    HTML_Template_Flexy
    Status: Open
    Type: Bug
    Package: HTML_Template_Flexy
    Operating System: Mac OSX Lion
    Package Version: 1.3.11
    PHP Version: 5.3.7
    Roadmap Versions:
    New Comment:

    Thanks. I pulled from SVN and working fine..


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

    [2011-08-28 13:03:11] alan_k

    It's fixed in svn, i will get a release out this week

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

    [2011-08-28 09:50:13] rjha94

    Description:
    ------------
    PHP is_a() behavior has been changed in 5.3.7. As a result tests
    like is_a($string, 'PEAR_Error') no longer works in flexy code
    base and results in triggering __autoload() function. If you are
    using a custom autoload then Flexy is broken with 5.3.7


    Please @see also
    php 5.3.7 is_a bug report
    https://bugs.php.net/bug.php?id=55475
    PEAR bug report about similar issue in DB_DataObject package
    http://pear.php.net/bugs/bug.php?id=18749&thanks=3

    Expected result:
    ----------------
    As perl Alan, the fix is to stick is_object($x) before all the is_a()
    calls

    Actual result:
    --------------
    Package should work with changes in 5.3.7 as PHP folks are not
    going to revert/fix this behavior in 5.3.8 also

    ------------------------------------------------------------------------
  • Alan at Aug 29, 2011 at 4:21 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18763&edit=1

    ID: 18763
    Updated by: alan@akbkhome.com
    Reported By: jha dot rajeev at gmail dot com
    Summary: PHP 5.3.7 is_a behavior change breaks
    HTML_Template_Flexy
    -Status: Open
    +Status: Closed
    Type: Bug
    Package: HTML_Template_Flexy
    Operating System: Mac OSX Lion
    Package Version: 1.3.11
    PHP Version: 5.3.7
    -Assigned To:
    +Assigned To: alan_k
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Closed
    -Assigned To:
    +Assigned To: alan_k
    Thank you for your bug report. This issue has been fixed
    in the latest released version of the package, which you can download at
    http://pear.php.net/get/




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

    [2011-08-28 17:26:02] rjha94

    Thanks. I pulled from SVN and working fine..

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

    [2011-08-28 13:03:11] alan_k

    It's fixed in svn, i will get a release out this week

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

    [2011-08-28 09:50:13] rjha94

    Description:
    ------------
    PHP is_a() behavior has been changed in 5.3.7. As a result tests
    like is_a($string, 'PEAR_Error') no longer works in flexy code
    base and results in triggering __autoload() function. If you are
    using a custom autoload then Flexy is broken with 5.3.7


    Please @see also
    php 5.3.7 is_a bug report
    https://bugs.php.net/bug.php?id=55475
    PEAR bug report about similar issue in DB_DataObject package
    http://pear.php.net/bugs/bug.php?id=18749&thanks=3

    Expected result:
    ----------------
    As perl Alan, the fix is to stick is_object($x) before all the is_a()
    calls

    Actual result:
    --------------
    Package should work with changes in 5.3.7 as PHP folks are not
    going to revert/fix this behavior in 5.3.8 also

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 28, '11 at 11:02a
activeAug 29, '11 at 4:21a
posts3
users2
websitepear.php.net

2 users in discussion

Alan: 2 posts Jha Rajeev: 1 post

People

Translate

site design / logo © 2021 Grokbase