Changeset aca9c14 in git


Ignore:
Timestamp:
2011-04-20T15:39:30Z (9 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
ed71049
Parents:
91fee63
Message:

decompiler: refix isset/empty on variable

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@777 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Decompiler.class.php

    r91fee63 raca9c14  
    12021202                case XC_ISSET_ISEMPTY_VAR: // {{{
    12031203                    if ($opc == XC_ISSET_ISEMPTY_VAR) {
    1204                         $rvalue = '$' . unquoteVariableName($this->getOpVal($op1, $EX));
     1204                        $rvalue = $this->getOpVal($op1, $EX);
     1205                        // for < PHP_5_3
     1206                        if ($op1['op_type'] == XC_IS_CONST) {
     1207                            $rvalue = '$' . unquoteVariableName($this->getOpVal($op1, $EX));
     1208                        }
    12051209                        if ($op2['EA.type'] == ZEND_FETCH_STATIC_MEMBER) {
    12061210                            $class = $this->getOpVal($op2, $EX);
Note: See TracChangeset for help on using the changeset viewer.