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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sun Dec 22 02:01:28 2024 UTC