php.net |  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: vrana@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5.4SVN-2012-01-12 (SVN) OS: Irrelevant
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: vrana@php.net
New email:
PHP Version: OS:

 

 [2012-01-12 17:18 UTC] 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)

Patches

php_error_docref-strip-leading-dashes (last revision 2012-01-12 17:22 UTC by vrana@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-12 17:22 UTC] vrana@php.net
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
 [2013-06-25 19:26 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6ba93a4bae355ac1d247d1e474381bb92d1eb038
Log: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
 [2013-06-25 19:26 UTC] felipe@php.net
-Status: Open +Status: Closed
 [2014-10-07 23:18 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=6ba93a4bae355ac1d247d1e474381bb92d1eb038
Log: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
 [2014-10-07 23:29 UTC] stas@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=6ba93a4bae355ac1d247d1e474381bb92d1eb038
Log: - Fixed bug #60732 (php_error_docref links to invalid pages) patch by: Jakub Vrana
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC