|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-01-19 05:40 UTC] wes dot turner at gmail dot com
Description: ------------ --- From manual page: http://www.php.net/function.htmlspecialchars --- The translations performed are: * '&' (ampersand) becomes '&' * '"' (double quote) becomes '"' when ENT_NOQUOTES is not set. * "'" (single quote) becomes ''' (or ') only when ENT_QUOTES is set. --- Expected --- I'm not very good at PHP, but is this how ENT_NOQUOTES works? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 21:00:01 2025 UTC |
And then: ENT_QUOTES Will convert both double and single quotes. ENT_NOQUOTES Will leave both double and single quotes unconverted.