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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: akcakayaa at itu dot edu dot tr
New email:
PHP Version: OS:

 

 [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 19:00:02 2025 UTC