@@ -16,10 +16,6 @@ function doit($a, $b, $how)
1616{
1717 echo "==default \n" ;
1818 $ how ();
19- echo "==true \n" ;
20- $ how (true );
21- echo "==false \n" ;
22- $ how (false );
2319 echo "==DEBUG_BACKTRACE_PROVIDE_OBJECT \n" ;
2420 $ how (DEBUG_BACKTRACE_PROVIDE_OBJECT );
2521 echo "==DEBUG_BACKTRACE_IGNORE_ARGS \n" ;
@@ -48,14 +44,6 @@ foo::statCall("doit", "backtrace_print");
4844#0 %sdebug_backtrace_options.php(%d): doit('a', 'b', 'debug_print_bac...')
4945#1 %sdebug_backtrace_options.php(%d): foo->doCall('doit', 'debug_print_bac...')
5046#2 %sdebug_backtrace_options.php(%d): foo::statCall('doit', 'debug_print_bac...')
51- ==true
52- #0 %sdebug_backtrace_options.php(%d): doit('a', 'b', 'debug_print_bac...')
53- #1 %sdebug_backtrace_options.php(%d): foo->doCall('doit', 'debug_print_bac...')
54- #2 %sdebug_backtrace_options.php(%d): foo::statCall('doit', 'debug_print_bac...')
55- ==false
56- #0 %sdebug_backtrace_options.php(%d): doit('a', 'b', 'debug_print_bac...')
57- #1 %sdebug_backtrace_options.php(%d): foo->doCall('doit', 'debug_print_bac...')
58- #2 %sdebug_backtrace_options.php(%d): foo::statCall('doit', 'debug_print_bac...')
5947==DEBUG_BACKTRACE_PROVIDE_OBJECT
6048#0 %sdebug_backtrace_options.php(%d): doit('a', 'b', 'debug_print_bac...')
6149#1 %sdebug_backtrace_options.php(%d): foo->doCall('doit', 'debug_print_bac...')
@@ -130,138 +118,14 @@ Array
130118
131119 )
132120
133- )
134- ==true
135- Array
136- (
137- [0] => Array
138- (
139- [file] => %sdebug_backtrace_options.php
140- [line] => 17
141- [function] => backtrace_print
142- [args] => Array
143- (
144- [0] => 1
145- )
146-
147- )
148-
149- [1] => Array
150- (
151- [file] => %sdebug_backtrace_options.php
152- [line] => %d
153- [function] => doit
154- [args] => Array
155- (
156- [0] => a
157- [1] => b
158- [2] => backtrace_print
159- )
160-
161- )
162-
163- [2] => Array
164- (
165- [file] => %sdebug_backtrace_options.php
166- [line] => %d
167- [function] => doCall
168- [class] => foo
169- [object] => foo Object
170- (
171- )
172-
173- [type] => ->
174- [args] => Array
175- (
176- [0] => doit
177- [1] => backtrace_print
178- )
179-
180- )
181-
182- [3] => Array
183- (
184- [file] => %sdebug_backtrace_options.php
185- [line] => %d
186- [function] => statCall
187- [class] => foo
188- [type] => ::
189- [args] => Array
190- (
191- [0] => doit
192- [1] => backtrace_print
193- )
194-
195- )
196-
197- )
198- ==false
199- Array
200- (
201- [0] => Array
202- (
203- [file] => %sdebug_backtrace_options.php
204- [line] => 19
205- [function] => backtrace_print
206- [args] => Array
207- (
208- [0] =>
209- )
210-
211- )
212-
213- [1] => Array
214- (
215- [file] => %sdebug_backtrace_options.php
216- [line] => %d
217- [function] => doit
218- [args] => Array
219- (
220- [0] => a
221- [1] => b
222- [2] => backtrace_print
223- )
224-
225- )
226-
227- [2] => Array
228- (
229- [file] => %sdebug_backtrace_options.php
230- [line] => %d
231- [function] => doCall
232- [class] => foo
233- [type] => ->
234- [args] => Array
235- (
236- [0] => doit
237- [1] => backtrace_print
238- )
239-
240- )
241-
242- [3] => Array
243- (
244- [file] => %sdebug_backtrace_options.php
245- [line] => %d
246- [function] => statCall
247- [class] => foo
248- [type] => ::
249- [args] => Array
250- (
251- [0] => doit
252- [1] => backtrace_print
253- )
254-
255- )
256-
257121)
258122==DEBUG_BACKTRACE_PROVIDE_OBJECT
259123Array
260124(
261125 [0] => Array
262126 (
263127 [file] => %sdebug_backtrace_options.php
264- [line] => 21
128+ [line] => 17
265129 [function] => backtrace_print
266130 [args] => Array
267131 (
@@ -325,7 +189,7 @@ Array
325189 [0] => Array
326190 (
327191 [file] => %sdebug_backtrace_options.php
328- [line] => 23
192+ [line] => 19
329193 [function] => backtrace_print
330194 )
331195
@@ -361,7 +225,7 @@ Array
361225 [0] => Array
362226 (
363227 [file] => %sdebug_backtrace_options.php
364- [line] => 25
228+ [line] => 21
365229 [function] => backtrace_print
366230 )
367231
0 commit comments