|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60732 php_error_docref links to invalid pages
Submitted: 2012-01-12 17:18 UTC Modified: -
From: Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5.4SVN-2012-01-12 (SVN) OS: Irrelevant
Private report: No CVE-ID:
 [2012-01-12 17:18 UTC]
Links to PHP Manual generated in case of an error are wrong if the function or method begins by __.

Test script:
try {
	new DateTimeZone("x");
} catch (Exception $e) {
	echo $e->getMessage();

Expected result:
DateTimeZone::__construct() [datetimezone.construct.php]: Unknown or bad timezone (x)

Actual result:
DateTimeZone::__construct() [datetimezone.--construct.php]: Unknown or bad timezone (x)


php_error_docref-strip-leading-dashes (last revision 2012-01-12 17:22 UTC) by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-12 17:22 UTC]
The following patch has been added/updated:

Patch Name: php_error_docref-strip-leading-dashes
Revision:   1326388963
 [2013-06-25 19:26 UTC]
Automatic comment on behalf of
Log: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
 [2013-06-25 19:26 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 09:02:23 2014 UTC