Changeset 743 in svn for trunk/Decompiler.class.php


Ignore:
Timestamp:
2011-04-14T04:14:32+02:00 (4 years ago)
Author:
Xuefer
Message:

decompiler: process ZEND_CASE opcode, switch/case is not recognized as it used to be however

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Decompiler.class.php

    r741 r743  
    8989    function Decompiler_Code($src)
    9090    {
     91        assert('isset($src)');
    9192        $this->src = $src;
    9293    }
     
    14041405                    // }}}
    14051406                case XC_CASE:
     1407                    $switchValue = $this->getOpVal($op1, $EX);
     1408                    $caseValue = $this->getOpVal($op2, $EX);
     1409                    $resvar = $switchValue . ' == ' . $caseValue;
     1410                    break;
    14061411                case XC_BRK:
    14071412                    break;
Note: See TracChangeset for help on using the changeset viewer.