Bug #64147 [Opn->Nab]: A few missing constants.

From: Date: Mon, 04 Feb 2013 21:56:11 +0000
Subject: Bug #64147 [Opn->Nab]: A few missing constants.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176439@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64147&edit=1 ID: 64147 Updated by: rasmus@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

« previous php.bugs (#176439) next »