php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20956 lamba is spelled lambda
Submitted: 2002-12-12 08:28 UTC Modified: 2002-12-12 08:52 UTC
From: jmartin-php at notamusica dot com Assigned:
Status: Closed Package: Output Control
PHP Version: 4CVS-2002-12-12 (stable) OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jmartin-php at notamusica dot com
New email:
PHP Version: OS:

 

 [2002-12-12 08:28 UTC] jmartin-php at notamusica dot com
There is a typo in ext/standard/html.c. The greek letter lambda is spelled lambda, not lamda. Currently, when php htmlentities() some string containing that letter, the web browser will not be able to display it properly.

Here's the diff:
*** html.c.buggy        2002-11-16 10:08:21.000000000 +0100
--- html.c      2002-12-12 15:23:59.000000000 +0100
***************
*** 130,136 ****
        /* 938 - 944 are not mapped */
        NULL, NULL, NULL, NULL, NULL, NULL, NULL,
        "alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta", "theta",
!       "iota", "kappa", "lamda", "mu", "nu", "x1", "omicron", "p1", "rho",
        "sigmaf", "sigma", "tau", "upsilon", "ph1", "ch1", "ps1", "omega",
        /* 970 - 976 are not mapped */
        NULL, NULL, NULL, NULL, NULL, NULL, NULL,
--- 130,136 ----
        /* 938 - 944 are not mapped */
        NULL, NULL, NULL, NULL, NULL, NULL, NULL,
        "alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta", "theta",
!       "iota", "kappa", "lambda", "mu", "nu", "x1", "omicron", "p1", "rho",
        "sigmaf", "sigma", "tau", "upsilon", "ph1", "ch1", "ps1", "omega",
        /* 970 - 976 are not mapped */
        NULL, NULL, NULL, NULL, NULL, NULL, NULL,

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-12 08:52 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC