ID: 33534
Updated by: [EMAIL PROTECTED]
Reported By: rt424 at hszk dot bme dot hu
Status: Open
-Bug Type: Output Control
+Bug Type: Documentation problem
Operating System: ubuntu linux
PHP Version: 4.3.10
New Comment:
This is expected behaviour and it should be mentioned somewhere in the
docs.
Reclassified as docu problem.
Previous Comments:
------------------------------------------------------------------------
[2005-07-01 14:15:37] rt424 at hszk dot bme dot hu
Description:
------------
Whenever I use the function htmlentities, it doesn't replace
whitespace characters to ' ', although this replacement is present
in the functions translation table.
Reproduce code:
---------------
$str = " ";
$str = htmlentities($str);
print "'$str'";
Expected result:
----------------
' '
Actual result:
--------------
' '
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33534&edit=1