Skip to content
Newer
Older
100644 50 lines (41 sloc) 701 Bytes
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
1 --TEST--
903e2fb @derickr Tests clean-up (probably only part 1 though...)
authored
2 Test for bug #631: Summary not written when script ended with "exit()"
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
3 --INI--
4 xdebug.profiler_enable=1
5 --FILE--
6 <?php
7 function capture() {
8 echo file_get_contents(xdebug_get_profiler_filename());
9 }
10
11 register_shutdown_function('capture');
12 strlen("5");
13 exit();
14 ?>
15 --EXPECTF--
51322af @derickr - Merged from HEAD:
authored
16 version: 1
17 creator: xdebug 2.%s
527662f @derickr - Fixed test case.
authored
18 cmd: %sbug00631.php
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
19 part: 1
51322af @derickr - Merged from HEAD:
authored
20 positions: line
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
21
22 events: Time
23
24 fl=php:internal
25 fn=php::register_shutdown_function
26 %d %d
27
28 fl=php:internal
29 fn=php::strlen
30 %d %d
31
527662f @derickr - Fixed test case.
authored
32 fl=%sbug00631.php
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
33 fn={main}
34
35 summary: %d
36
37 %d %d
51322af @derickr - Merged from HEAD:
authored
38 cfl=php:internal
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
39 cfn=php::register_shutdown_function
40 calls=1 0 0
41 %d %d
51322af @derickr - Merged from HEAD:
authored
42 cfl=php:internal
093bb76 @derickr - Fixed bug #631: Summary not written when script ended with "exit()".
authored
43 cfn=php::strlen
44 calls=1 0 0
45 %d %d
46
47 fl=php:internal
48 fn=php::xdebug_get_profiler_filename
49 %d %d
Something went wrong with that request. Please try again.