Skip to content
Newer
Older
100644 74 lines (62 sloc) 996 Bytes
75b7240 @derickr - Fixed bug #643: Profiler gets line numbers wrong
authored Mar 21, 2011
1 --TEST--
2 Test for bug #643: Profiler gets line numbers wrong
3 --INI--
4 xdebug.profiler_enable=1
5 --FILE--
6 <?php
7 require_once('bug00643-t1.inc');
8
9 $a = array("testing");
10
11 t1();
12 echo file_get_contents(xdebug_get_profiler_filename());
13 ?>
14 --EXPECTF--
15 version: 1
16 creator: xdebug 2.%s
17 cmd: %sbug00643.php
18 part: 1
19 positions: line
20
21 events: Time
22
23 fl=%sbug00643-t2.inc
24 fn=require_once::%sbug00643-t2.inc
25 1 %d
26
27 fl=%sbug00643-t1.inc
28 fn=require_once::%sbug00643-t1.inc
29 1 %d
30 cfl=%sbug00643-t2.inc
31 cfn=require_once::%sbug00643-t2.inc
32 calls=1 0 0
33 2 %d
34
35 fl=php:internal
36 fn=php::count
37 23 %d
38
39 fl=php:internal
40 fn=php::count
41 12 %d
42
43 fl=php:internal
44 fn=php::is_array
45 12 %d
46
47 fl=%sbug00643-t2.inc
48 fn=errors_fatal
49 10 %d
50 cfl=php:internal
51 cfn=php::count
52 calls=1 0 0
53 12 %d
54 cfl=php:internal
55 cfn=php::is_array
56 calls=1 0 0
57 12 %d
58
59 fl=%sbug00643-t1.inc
60 fn=t1
61 20 %d
62 cfl=php:internal
63 cfn=php::count
64 calls=1 0 0
65 23 %d
66 cfl=%sbug00643-t2.inc
67 cfn=errors_fatal
68 calls=1 0 0
69 23 %d
70
71 fl=php:internal
72 fn=php::xdebug_get_profiler_filename
73 7 %d
Something went wrong with that request. Please try again.