lighttpd forum XCache > how to get opcode dump

Posted by Mauro C.
on 16.04.2008 14:58
I've just compiled xcache with disassembler module, now want to dump 
scripts opcode.

shuld I use api or there is a directly way from extension?

is xcache.coredump_directory the path where xcache write opcode files?

and xcache.experimental what means?


thanks

Mauro Casciari
Posted by moo XCache
on 18.04.2008 01:18
Mauro C. wrote:
> I've just compiled xcache with disassembler module, now want to dump 
> scripts opcode.
> 
> shuld I use api or there is a directly way from extension?
./configure --enable-xcache-disassembler

<?php
$compilerResult = xcache_dasm_file("./a.php");
var_dump($compilerResult);
?>

> 
> is xcache.coredump_directory the path where xcache write opcode files?
no
> 
> and xcache.experimental what means?
enable some experimental features that may not be stable yet
> 
> 
> thanks
> 
> Mauro Casciari