Bug #69449 [Opn->Nab]: htmlspecialchars() flags documentation isn't complete

From: Date: Tue, 14 Apr 2015 19:38:10 +0000
Subject: Bug #69449 [Opn->Nab]: htmlspecialchars() flags documentation isn't complete
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12146@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69449&edit=1 ID: 69449 Updated by: cmb@php.net Reported by: olafvdspek at gmail dot com Summary: htmlspecialchars() flags documentation isn't complete -Status: Open +Status: Not a bug Type: Bug Package: Documentation problem Operating System: * PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: In these cases the behavior is as usual when one passes an argument to an optional parameter: the passed argument overrides the default. There is nothing special to bitmasks in this regard. I don't see that this needs explicit documentation for individual functions. Previous Comments: ------------------------------------------------------------------------ [2015-04-14 17:48:28] olafvdspek at gmail dot com Description: ------------ > The default is ENT_COMPAT | ENT_HTML401. http://php.net/htmlspecialchars So what does it do when you pass just ENT_HTML401? Or just ENT_COMPAT? Or both ENT_QUOTES and ENT_NOQUOTES? Test script: --------------- - ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69449&edit=1

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