Bug #13469 Updated: get_html_translation_table broken in PHP4.0.6 Apache Module (ONLY)

From: Date: Tue, 11 Jun 2002 13:11:12 +0000
Subject: Bug #13469 Updated: get_html_translation_table broken in PHP4.0.6 Apache Module (ONLY)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10104@lists.php.net to get a copy of this message
ID: 13469 Updated by: edink@php.net Reported By: jbperez808@yahoo.com -Status: Open +Status: Bogus Bug Type: Strings related Operating System: Windows NT 5.0 build 2195 PHP Version: 4.0.6 New Comment: Works just fine. You were probably looking at the output in the browser where those entities would be dispayed as you describe. View source would probably reveal the correct output. Previous Comments: ------------------------------------------------------------------------ [2001-09-27 12:16:54] jbperez808@yahoo.com <?php $trans=get_html_translation_table(HTML_SPECIALCHARS,ENT_QUOTES); $trans2=array_flip($trans); foreach ($trans2 as $item) { print $item." - ". $trans[$item]."<br />"; } ?> returns: & - & ' - ' " - " < - < > - > instead of & - &amp; ' - &#039; " - &quot; < - &lt; > - &gt; The CGI version works fine, but the Apache module version doesn't. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13469&edit=1

« previous php.bugs (#10104) next »