php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 - 1 = ?
Subscribe to this entry?

 
 [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)

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

ALSO 
not part of the docu.

Was it droped? 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 09:08 UTC] bs_php at infeer dot com
.
 [2001-12-18 07:25 UTC] sander@php.net
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] mfischer@php.net
There was no is_enum() every. The NEWS entry is wrong (or out of context, whatever). It should be com_isenum().
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jan 24 04:01:24 2020 UTC