View Issue Details

IDProjectCategoryView StatusLast Update
0000178XdebugUncategorizedpublic2006-05-07 22:55
ReporterSoul--Reaver Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Summary0000178: $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.

TagsNo tags attached.
Operating SystemWindows XP
PHP Version5.1.2

Activities

Soul--Reaver

2006-05-04 15:19

reporter   ~0000395

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 22:55

administrator   ~0000401

Fixed in CVS, thanks for the report!