You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Knut Urdalen (JIRA)" <ji...@apache.org> on 2009/05/03 11:04:30 UTC

[jira] Created: (LOG4PHP-38) Replace is_a() with instanceof

Replace is_a() with instanceof
------------------------------

                 Key: LOG4PHP-38
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-38
             Project: Log4php
          Issue Type: Improvement
          Components: Code
            Reporter: Knut Urdalen
            Assignee: Knut Urdalen
            Priority: Trivial
             Fix For: 2.0


While is_a() is no longer deprecated in PHP 5.3, it throws an E_STRICT warning between PHP 5.0.0 and 5.3.0. So we should use instanceof anyway.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LOG4PHP-38) Replace is_a() with instanceof

Posted by "Knut Urdalen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4PHP-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Urdalen resolved LOG4PHP-38.
---------------------------------

    Resolution: Fixed

> Replace is_a() with instanceof
> ------------------------------
>
>                 Key: LOG4PHP-38
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-38
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>            Reporter: Knut Urdalen
>            Assignee: Knut Urdalen
>            Priority: Trivial
>             Fix For: 2.0
>
>
> While is_a() is no longer deprecated in PHP 5.3, it throws an E_STRICT warning between PHP 5.0.0 and 5.3.0. So we should use instanceof anyway.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.