|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37254 Empty entities are not matched properly
Submitted: 2006-05-01 02:54 UTC Modified: 2007-08-24 14:14 UTC
From: Assigned:
Status: Wont fix Package: Livedocs problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2006-05-01 02:54 UTC]
Due to using + instead of * in a regex, empty entities ('') are not matched properly in mkindex.php. Case in point: phpdoc/en/contributors.ent &frontpage.editors; Results in an E_NOTICE in bookinfo. Eg:

Patch is available here:

Patch also adds code to prevent the E_NOTICE from occurring and instead puts a HTML comment.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-24 14:14 UTC]
Livedocs is no longer in development, the current build system is
titled PhD.

Note: There is no such problem in PhD.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 23:01:30 2024 UTC