|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-01-10 17:55 UTC] dan dot marra at gmail dot com
Description:
------------
The summary prtty much explains it best.
Here is the configure line:
'./configure' '--with-apxs2=/usr/sbin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--enable-ftp' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-gettext' '--with-iconv' '--with-imap=/usr/local/imap-2004g' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--enable-gd-native-ttf' '--enable-wddx' '--with-zip' '--with-zlib' '--with-config-file-path=/etc'
Reproduce code:
---------------
<?PHP
echo htmlentities(" this will work \"as expected\"");
echo htmlentities(" this will 'break'");
?>
Expected result:
----------------
(note, this is while viewing source of the page)
this will work "as expected"
this will 'break'
Actual result:
--------------
this will work "as expected"
this will 'break'
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 10:00:01 2025 UTC |
i'm sorry, this is the ACTUAL reproduceable code: <?PHP echo htmlentities(" this will work \"as expected\"", ENT_QUOTES); echo htmlentities(" this will 'break'", ENT_QUOTES); ?>