apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

File: trace.php

Source Location: /PHP_FunctionCallTracer-1.0.0/docs/examples/reference/trace.php

Classes:

Page Details:

run php trace.php to generate the trace

open trace.txt to analyse the function calls trace

Includes:

require_once('PHP/FunctionCallTracer.php') [line 12]
adds the path of the package if this is a raw install

includes the package (example) to debug and the tracer package


foo [line 21]

void foo( $a, &$b)

the function to debug one of the parameters is passed by reference

due to PHP Bug 42058: "debug_backtrace messes up with references" the function arguments must be explicitly passed to traceArguments()



Parameters

   $a  
   &$b  
[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:09:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.