php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12430 is_subclass_of
Submitted: 2001-07-27 11:59 UTC Modified: 2001-10-21 19:59 UTC
From: mailling at bigfoot dot com Assigned:
Status: Closed Package: Class/Object related
PHP Version: 4.0.6 OS: windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mailling at bigfoot dot com
New email:
PHP Version: OS:

 

 [2001-07-27 11:59 UTC] mailling at bigfoot dot com
if I have a class like this
class PEAR_Error {
Note the uppercase !


and $a=new PEAR_Error();


if I do is_subclass_of($a,'PEAR_Error'), it won't work
but is_subclass_of($a,'pear_error') will work

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-21 19:59 UTC] sniper@php.net
Works for me just fine with PHP 4.1.0RC1

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 20:01:29 2024 UTC