php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16372 htmlentities and htmlspecialchars charset error
Submitted: 2002-04-01 05:37 UTC Modified: 2002-04-01 05:53 UTC
From: akcakayaa at itu dot edu dot tr Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0.6 OS: Win ME
Private report: No CVE-ID: None
 [2002-04-01 05:37 UTC] akcakayaa at itu dot edu dot tr
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");

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-01 05:41 UTC] akcakayaa at itu dot edu dot tr
Sorry i just noticed that: php v4.1.0 support this.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 03:00:02 2025 UTC