summaryrefslogtreecommitdiffstats
path: root/Examples/php_funccalls_example.txt
blob: 7155a7139b925c8f997a0c26ec9802b409dd489d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The following are examples of php_funccalls.d.

This is a simple script to count executed PHP functions. Here it traces
an example program, Code/Php/func_abc.php

# php_funccalls.d 
Tracing... Hit Ctrl-C to end.
^C
 FILE                             FUNC                                CALLS
 func_abc.php                     func_a                                  1
 func_abc.php                     func_b                                  1
 func_abc.php                     func_c                                  1
 func_abc.php                     sleep                                   3

While tracing, func_a() from the program "func_abc.php" was executed once,
as were func_b() and func_c().  sleep was executed three times.

OpenPOWER on IntegriCloud