The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000178
======================================================================
Reporter: Soul--Reaver
Handler:
======================================================================
Project: Xdebug
Bug ID: 178
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Operating System: Windows XP
PHP Version: 5.1.2
Xdebug Version: 2.0.0beta5
======================================================================
Date Submitted: 2006-05-04 15:39 CEST
Last Modified: 2006-05-07 23:55 CEST
======================================================================
Summary: $php_errormsg and Track errors unavailable
Description:
I have xdebug2 beta 5 installed on Windows XP SP2, Apache 2.0.58 and Apache
2.2.2. Both with PHP 5.1.3
The Track erros directive in php.ini is set to 'On' Which means the
$php_errormsg should be filled with the last error message encountered in
php. Only this doesn't happen while xdebug is enabled and working.
======================================================================
----------------------------------------------------------------------
Soul--Reaver - 2006-05-04 16:19 CEST
----------------------------------------------------------------------
For some errors it seems it does create the php_errormsg with xdebug
enabled.
ea.
doesn't create $php_errormsg - but should with error: fsockopen() expects
at least 1 parameter, 0 given
<?php
fsockopen();
?>
creates proper $php_errormsg if connection fails to port 5000 because its
closed - error: unable to connect to localhost:5000 (A connection attempt
failed because the connected party did not properly respond after a period
of time, or established connection failed because connected host has failed
to respond.
)
<?php
fsockopen( 'localhost', 5000, $errno, $errstr, 2 );
?>
----------------------------------------------------------------------
derick - 2006-05-07 23:55 CEST
----------------------------------------------------------------------
Fixed in CVS, thanks for the report!
Bug History
Date Modified Username Field Change
======================================================================
2006-05-04 15:39Soul--Reaver New Bug
2006-05-04 15:39Soul--Reaver Bug Monitored: Soul--Reaver
2006-05-04 16:19Soul--Reaver Bugnote Added: 0000395
2006-05-07 23:55derick Bugnote Added: 0000401
2006-05-07 23:55derick Status new => closed
======================================================================
Received on Sun May 07 2006 - 23:56:09 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST