Changeset 1291 in svn for trunk


Ignore:
Timestamp:
2013-07-11T09:25:11+02:00 (23 months ago)
Author:
Xuefer
Message:

Decompiler: adds unset, XC_QM_ASSIGN_VAR

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Decompiler.class.php

    r1288 r1291  
    19321932                break;
    19331933                // }}}
    1934             case XC_QM_ASSIGN: // {{{
     1934            case XC_QM_ASSIGN:
     1935            case XC_QM_ASSIGN_VAR: // {{{
    19351936                if (isset($curResVar) && is_a($curResVar, 'Decompiler_Binop')) {
    19361937                    $curResVar->op2 = $this->getOpVal($op1, $EX);
  • trunk/mod_disassembler/sample.php

    r1288 r1291  
    237237$a = isset($b);
    238238$a = empty($b);
     239unset($b);
    239240$a = isset($array['index']);
    240241$a = empty($array['index']);
     242unset($array['index']);
    241243$a = isset($object->prop);
    242244$a = empty($object->prop);
     245unset($object->prop);
    243246$a = isset($this->prop);
    244247$a = empty($this->prop);
     248unset($this->prop);
    245249$a = isset(ClassName::$prop);
    246250$a = empty(ClassName::$prop);
     251unset(ClassName::$prop);
    247252$a = (int) $b;
    248253$a = (double) $b;
Note: See TracChangeset for help on using the changeset viewer.