Edit report at https://bugs.php.net/bug.php?id=60732&edit=1
ID: 60732 Patch added by: vr...@php.net Reported by: vr...@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] 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