|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
30 + 26 = ?
Subscribe to this entry?

 [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: Fri May 24 20:01:29 2024 UTC