Bug #16372: htmlentities and htmlspecialchars charset error
| From: | akcakayaa at itu dot edu dot tr | Date: | Mon, 01 Apr 2002 10:37:34 +0000 |
| Subject: | Bug #16372: htmlentities and htmlspecialchars charset error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3727@lists.php.net to get a copy of this message | ||
From: akcakayaa@itu.edu.tr
Operating system: Win ME
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: htmlentities and htmlspecialchars charset error
htmlentities ( string string [, int quote_style [, string charset]])
i used last parameter and an error occured:
Warning: Wrong parameter count for htmlentities() in
/users/lnxsrv2/akcakayaa/public_html/AAA.php on line 2
My Script is:
<?php
htmlentities("<a href='http://phpalemi.realside.org'>go!</a>",
ENT_QUOTES,
"ISO-8859-9");
?>
--
Edit bug report at http://bugs.php.net/?id=16372&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16372&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16372&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16372&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16372&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16372&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16372&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16372&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16372&r=submittedtwice