ID:               32217
 User updated by:  m at tacker dot org
 Reported By:      m at tacker dot org
 Status:           Assigned
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      4CVS, 5CVS (2005-03-07)
 Assigned To:      andi
 New Comment:

I see - It works with fatal errors.
I included a call to require_once('somefile'); in my example and this
produces an error message with a link.


Previous Comments:
------------------------------------------------------------------------

[2005-03-07 20:08:11] [EMAIL PROTECTED]

Reclassified and assigned to Andi who can decide what to do. :) This is
not exactly a bug but a feature request..


------------------------------------------------------------------------

[2005-03-07 19:57:55] [EMAIL PROTECTED]

This is cause by the fact that the zend_wrong_param_count() does NOT
use the php_error_docref() function..


------------------------------------------------------------------------

[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

Reply via email to