Edit report at https://bugs.php.net/bug.php?id=64147&edit=1

 ID:                 64147
 Updated by:         ras...@php.net
 Reported by:        superspring at gmail dot com
 Summary:            A few missing constants.
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *XML functions
 PHP Version:        5.3.21
 Block user comment: N
 Private report:     N

 New Comment:

The docs clearly state that these were added in PHP 5.4


Previous Comments:
------------------------------------------------------------------------
[2013-02-04 21:53:21] superspring at gmail dot com

Description:
------------
I am unable to find the constants
- ENT_SUBSTITUTE
- ENT_DISALLOWED
- ENT_HTML401
- ENT_XML1
- ENT_XHTML
- ENT_HTML5
As used in htmlentities.

Test script:
---------------
echo htmlentities('example text', ENT_XHTML);

Expected result:
----------------
Not to throw a warning.

Actual result:
--------------
A warning is thrown.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64147&edit=1

Reply via email to