Changeset 743 in svn for trunk/decompilesample.php


Ignore:
Timestamp:
2011-04-14T02:14:32Z (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/decompilesample.php

    r742 r743  
    6767echo str_replace(array('a' => 'a', 'b' => 'c'), 'b');
    6868
     69switch ($switch) {
     70case 'case1':
     71    echo 'case1';
     72    break;
     73
     74case 'case2':
     75    echo 'case2';
     76    break;
     77
     78default:
     79    echo 'default';
     80    break;
     81}
     82
    6983?>
Note: See TracChangeset for help on using the changeset viewer.