Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 32 lines (28 sloc) 0.621 kB
b6e3fad @derickr - Reworked test-suite
authored
1 --TEST--
2 Test for indirect function call
3 --INI--
4 xdebug.enable=1
5 xdebug.auto_trace=0
29bf4e5 @derickr - Implemented support for the 4 different collect_params settings for
authored
6 xdebug.collect_params=3
1b40076 @derickr - Implemented showing returng values in traces. The xdebug.collect_re…
authored
7 xdebug.collect_return=1
657ff72 @derickr - Added the new setting "xdebug.collect_assignments" which enables th…
authored
8 xdebug.collect_assignments=0
8c9f3e1 @derickr - Disable xdebug.auto_profile in all affected tests
authored
9 xdebug.auto_profile=0
a5505b2 @derickr - Disable profiler by default for all tests.
authored
10 xdebug.profiler_enable=0
96d9f65 @derickr - Update test cases after xdebug was turned off by default in our tes…
authored
11 xdebug.show_mem_delta=0
b5e88b8 @derickr - Fixed tests to use the correct trace format.
authored
12 xdebug.trace_format=0
b6e3fad @derickr - Reworked test-suite
authored
13 --FILE--
14 <?php
a5505b2 @derickr - Disable profiler by default for all tests.
authored
15 $tf = xdebug_start_trace('/tmp/'. uniqid('xdt', TRUE));
b6e3fad @derickr - Reworked test-suite
authored
16
17 function blaat ()
18 {
19 }
20
21 $func = 'blaat';
22 echo $func();
23
8628c01 @derickr - Fixed tests for new tracing method
authored
24 echo file_get_contents($tf);
25 unlink($tf);
b6e3fad @derickr - Reworked test-suite
authored
26 ?>
27 --EXPECTF--
8628c01 @derickr - Fixed tests for new tracing method
authored
28 TRACE START [%d-%d-%d %d:%d:%d]
c558852 - Make expectations independent from whitespace
Marcus Börger authored
29 %w%f %w%d -> blaat() /%s/test11.php:9
1b40076 @derickr - Implemented showing returng values in traces. The xdebug.collect_re…
authored
30 >=> NULL
c558852 - Make expectations independent from whitespace
Marcus Börger authored
31 %w%f %w%d -> file_get_contents('/tmp/%s') /%s/test11.php:11
Something went wrong with that request. Please try again.