Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (15 sloc) 0.417 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--TEST--
Test for bug #690: Function traces are not appended to file when xdebug_start_trace() is used with xdebug.trace_options=1 (step 1 of 2)
--INI--
xdebug.trace_output_name=trace.bug690
xdebug.trace_options=1
--FILE--
<?php
xdebug_start_trace();
$trace_file = xdebug_get_tracefile_name();
echo $trace_file, "\n";
unlink($trace_file);
file_put_contents($trace_file, "DONE\n");
?>
--EXPECTF--
/tmp/trace.bug690.xt
Something went wrong with that request. Please try again.