Doc #55547 [NEW]: Undocumented flags for htmlentities()

From: Date: Wed, 31 Aug 2011 06:45:03 +0000
Subject: Doc #55547 [NEW]: Undocumented flags for htmlentities()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7091@lists.php.net to get a copy of this message
From:             
Operating system: *
PHP version:      5.4.0alpha3
Package:          Strings related
Bug Type:         Documentation Problem
Bug description:Undocumented flags for htmlentities()

Description:
------------
Following flags exist for htmlentities:


	REGISTER_LONG_CONSTANT("HTML_SPECIALCHARS", HTML_SPECIALCHARS, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("HTML_ENTITIES", HTML_ENTITIES, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_COMPAT", ENT_COMPAT, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_QUOTES", ENT_QUOTES, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_NOQUOTES", ENT_NOQUOTES, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_IGNORE", ENT_IGNORE, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_SUBSTITUTE", ENT_SUBSTITUTE, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_DISALLOWED", ENT_DISALLOWED, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_HTML401", ENT_HTML401, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_XML1", ENT_XML1, CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_XHTML", ENT_XHTML, 
CONST_PERSISTENT|CONST_CS);
	REGISTER_LONG_CONSTANT("ENT_HTML5", ENT_HTML5, 
CONST_PERSISTENT|CONST_CS);

Only four of them are documented. 


Expected result:
----------------
All flags documented ;)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=55547&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=55547&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=55547&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=55547&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=55547&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55547&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=55547&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=55547&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=55547&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=55547&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=55547&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=55547&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=55547&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=55547&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=55547&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=55547&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=55547&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=55547&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=55547&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=55547&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=55547&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=55547&r=mysqlcfg



Thread (3 messages)

« previous php.doc.bugs (#7091) next »