#32217 [Opn->Ver]: html_errors don't contain clickable function names
| From: | sniper@php.net | Date: | Mon, 07 Mar 2005 18:57:56 +0000 |
| Subject: | #32217 [Opn->Ver]: html_errors don't contain clickable function names | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75030@lists.php.net to get a copy of this message | ||
ID: 32217
Updated by: sniper@php.net
Reported By: m at tacker dot org
-Status: Open
+Status: Verified
Bug Type: PHP options/info functions
-Operating System: Gentoo Linux
+Operating System: *
-PHP Version: 4.3.9
+PHP Version: 4CVS, 5CVS (2005-03-07)
New Comment:
This is cause by the fact that the zend_wrong_param_count() does NOT
use the php_error_docref() function..
Previous Comments:
------------------------------------------------------------------------
[2005-03-07 13:04:43] m at tacker dot org
Description:
------------
Even if html_errors, docref_root and docref_ext are set according to
the description, no links are contained in the error messages.
Online test: http://www.tacker.org/html_errors.php
Online test source: http://www.tacker.org/html_errors.phps
Reproduce code:
---------------
ini_set('html_errors', 'On');
ini_set('docref_root', '/php-doc/');
ini_set('docref_ext', '.html');
$test = str_replace();
Expected result:
----------------
str_replace() beeing linked to /php-doc/functions.str_replace.html
Actual result:
--------------
<br />
<b>Warning</b>: Wrong parameter count for str_replace() in
<b>/mnt/store/www/tacker.org/htdoc/html_errors.php</b> on line
<b>25</b><br />
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32217&edit=1