Browse Source

decompiler: fix isset/empty on variable

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@776 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 11 years ago
parent
commit
91fee633aa
  1. 2
      Decompiler.class.php

2
Decompiler.class.php

@ -1201,7 +1201,7 @@ class Decompiler
case XC_ISSET_ISEMPTY:
case XC_ISSET_ISEMPTY_VAR: // {{{
if ($opc == XC_ISSET_ISEMPTY_VAR) {
$rvalue = $this->getOpVal($op1, $EX);
$rvalue = '$' . unquoteVariableName($this->getOpVal($op1, $EX));
if ($op2['EA.type'] == ZEND_FETCH_STATIC_MEMBER) {
$class = $this->getOpVal($op2, $EX);
$rvalue = $class . '::' . $rvalue;

Loading…
Cancel
Save