Browse Source

Decompiler: show removed opcode in comment

master
Xuefer 5 years ago
parent
commit
7942b78ff7
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      lib/Decompiler.class.php

+ 6
- 1
lib/Decompiler.class.php View File

@ -2552,7 +2552,12 @@ class Decompiler
echo str_pad($op['line'], 4);
echo str_pad($op['lineno'], 4);
$name = xcache_get_opcode($op['opcode']);
if (isset($op['oldopcode'])) {
$name = '//' . xcache_get_opcode($op['oldopcode']);
}
else {
$name = xcache_get_opcode($op['opcode']);
}
if (substr($name, 0, 5) == 'ZEND_') {
$name = substr($name, 5);


Loading…
Cancel
Save