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

From: Date: Thu, 27 Sep 2001 16:16:55 +0000
Subject: Bug #13469: get_html_translation_table broken in PHP4.0.6 Apache Module (ONLY)
Groups: php.dev 
Request: Send a blank email to php-dev+get-66737@lists.php.net to get a copy of this message
From: jbperez808@yahoo.com Operating system: Windows NT 5.0 build 2195 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: get_html_translation_table broken in PHP4.0.6 Apache Module (ONLY) <?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 bug report at: http://bugs.php.net/?id=13469&edit=1

« previous php.dev (#66737) next »