note 37053 added to function.htmlentities

From: Date: Fri, 31 Oct 2003 23:40:13 +0000
Subject: note 37053 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-59607@lists.php.net to get a copy of this message
There is one small error in the code given by dmurphy: The replacement for "&" must be the very first in the array. Currently, the & of "&quot" is replaced by the & entity, which leads in effect to " "34"=>""", "38"=>"&" Just move the "38"=>"&" to the first position in the array. Klaus ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37053 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37053&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37053&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#59607) next »