1
0
Fork 0

Decompiler/dump: fix undefined vars

master
Xuefer 8 years ago
parent d44a7f3f62
commit 0feb144366
  1. 4
      lib/Decompiler.class.php

@ -848,9 +848,9 @@ class Decompiler
return $ret;
case XC_IS_CV:
$vars = &$this->EX['op_array']['vars'];
$var = $op['var'];
$var = $this->EX['op_array']['vars'][$var];
return '$' . $var['name'];
return isset($vars[$var]) ? '$' . $vars[$var]['name'] : '$?';
case XC_IS_UNUSED:
return null;

Loading…
Cancel
Save