Changeset 820 for trunk/phpdop.phpr

Show
Ignore:
Timestamp:
06/08/2011 05:45:25 AM (2 years ago)
Author:
moo
Message:

decode optimized if/return

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpdop.phpr

    r759 r820  
    9595} 
    9696$decompiler = new Decompiler(); 
    97 $pk = xcache_dasm_file($argv[1]); 
     97if (isset($argv[2])) { 
     98    eval('$pk = ' . file_get_contents($argv[2]) . ';'); 
     99} 
     100else { 
     101    $pk = xcache_dasm_file($argv[1]); 
     102} 
    98103$op_array = $funcs = $classes = null; 
    99104if (isset($pk['op_array'])) {