Edit report at https://bugs.php.net/bug.php?id=60732&edit=1
ID: 60732 Updated by: fel...@php.net Reported by: vr...@php.net Summary: php_error_docref links to invalid pages -Status: Open +Status: Closed 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: Automatic comment on behalf of felipe...@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 Previous Comments: ------------------------------------------------------------------------ [2012-01-12 17:22:43] vr...@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 ------------------------------------------------------------------------ [2012-01-12 17:18:05] vr...@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