Bug #60732 [PATCH]: php_error_docref links to invalid pages
| From: | vrana@php.net | Date: | Thu, 12 Jan 2012 17:22:43 +0000 |
| Subject: | Bug #60732 [PATCH]: php_error_docref links to invalid pages | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166400@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60732&edit=1
ID: 60732
Patch added by: vrana@php.net
Reported by: vrana@php.net
Summary: php_error_docref links to invalid pages
Status: Open
Type: Bug
Package: Scripting Engine problem
Operating System: Irrelevant
PHP Version: 5.4SVN-2012-01-12 (SVN)
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: php_error_docref-strip-leading-dashes
Revision: 1326388963
URL: https://bugs.php.net/patch-display.php?bug=60732&patch=php_error_docref-strip-leading-dashes&revision=1326388963
Previous Comments:
------------------------------------------------------------------------
[2012-01-12 17:18:05] vrana@php.net
Description:
------------
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)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60732&edit=1