repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added xdebug computerized tracing output
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_xdebug
/
tracing_6.php
blob
e59309a0b08e22f9b2e61de76cfe1024760a984b
1
<
?php
2
3
function
start_trace
() {
4
xdebug_start_trace
(
'/tmp/trace.
%p
'
,
XDEBUG_TRACE_COMPUTERIZED
);
5
}
6
7
start_trace
();
8
require
(
__DIR__
.
'/tracing.inc'
);
9
$file
=
xdebug_stop_trace
();
10
var_dump
(
file_get_contents
(
$file
));