php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39220 type in html.c proto declaration
Submitted: 2006-10-20 19:42 UTC Modified: 2006-10-20 21:09 UTC
From: jeffg at activestate dot com Assigned: bjori (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 5.1.6 OS: n/a
Private report: No CVE-ID: None
 [2006-10-20 19:42 UTC] jeffg at activestate dot com
Description:
------------
Line 1215 of html.c should read:

/* {{{ proto string htmlspecialchars_decode(string string [, int quote_style])
   Convert special HTML entities back to characters */
PHP_FUNCTION(htmlspecialchars_decode)
{

It instead reads:

/* {{{ proto string htmlspecialchars(string string [, int quote_style])
   Convert special HTML entities back to characters */
PHP_FUNCTION(htmlspecialchars_decode)
{

Minor quible, but it causes inconsistent results when scanning the php sources for internal function definitions.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-20 19:47 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-10-20 20:28 UTC] bjori@php.net
Already fixed in CVS
 [2006-10-20 21:09 UTC] jeffg at activestate dot com
Thanks; I'd rather it was logged here for posterity if someone eventually needs to scan the 5.1 sources specifically to generate data about that version. Komodo does not bundle support for unreleased versions of PHP, so scanning the cvs HEAD sources is not useful to me.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 17:01:33 2024 UTC