Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: XDEBUG_2_0_0
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (28 sloc) 0.634 kb
--TEST--
Test for bug #178: $php_errormsg and Track errors unavailable
--INI--
xdebug.default_enable=1
xdebug.auto_trace=0
xdebug.trace_options=0
xdebug.trace_output_dir=/tmp
xdebug.collect_return=1
xdebug.collect_params=1
xdebug.auto_profile=0
xdebug.profiler_enable=0
xdebug.dump_globals=0
xdebug.show_mem_delta=0
xdebug.trace_format=0
track_errors=1
display_errors=0
--FILE--
<?php
fsockopen();
echo "> ", $php_errormsg, "\n";
fsockopen( 'localhost', 5000, $errno, $errstr, 0.02 );
echo "> ", $php_errormsg, "\n";
?>
DONE
--EXPECTF--
> fsockopen() expects at least 1 parameter, 0 given
> %snable to connect to localhost:500%s
DONE
Jump to Line
Something went wrong with that request. Please try again.