aboutsummaryrefslogtreecommitdiff
path: root/Examples/php_funccalls_example.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/php_funccalls_example.txt')
-rw-r--r--Examples/php_funccalls_example.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/php_funccalls_example.txt b/Examples/php_funccalls_example.txt
new file mode 100644
index 000000000000..7155a7139b92
--- /dev/null
+++ b/Examples/php_funccalls_example.txt
@@ -0,0 +1,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.
+