|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14454 is_enum() is not part of PHP4.1.0, as noted in the chang list.
Submitted: 2001-12-12 09:04 UTC Modified: 2001-12-18 08:07 UTC
From: bs_php at infeer dot com Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 4.1.0 OS: W2k
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: bs_php at infeer dot com
New email:
PHP Version: OS:


 [2001-12-12 09:04 UTC] bs_php at infeer dot com
In the change list you wrote:

- Added support for single dimensional SafeArrays and Enumerations.
   Added an is_enum() function to check if a component implements an
   enumeration. (Alan, Harald)

calling is_enum() results in a 
  Fatal error: Call to undefined function: is_enum()

not part of the docu.

Was it droped? 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 09:08 UTC] bs_php at infeer dot com
 [2001-12-18 07:25 UTC]
This is not a feature request.

Anyway, I can't find the function anywhere in the source (lxr). Can someone give some explanation about what happend to this function?
 [2001-12-18 08:07 UTC]
There was no is_enum() every. The NEWS entry is wrong (or out of context, whatever). It should be com_isenum().
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 11:03:34 2021 UTC