Show
Ignore:
Timestamp:
04/25/2011 05:46:26 PM (2 years ago)
Author:
moo
Message:

prepare for decompile if/else

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/decompilesample.php

    r790 r792  
    271271} 
    272272 
    273 if ($a) { 
    274     echo 'if ($a)'; 
    275 } 
    276 else if ($b) { 
    277     echo 'else if ($b)'; 
     273if (if_()) { 
     274    echo 'if'; 
     275    if (innerIf_()) { 
     276        echo 'if innerIf'; 
     277    } 
     278} 
     279else if (elseif_()) { 
     280    echo 'else if'; 
     281    if (innerIf_()) { 
     282        echo 'if innerIf'; 
     283    } 
    278284} 
    279285else { 
     286    if (innerIf_()) { 
     287        echo 'if innerIf'; 
     288    } 
    280289    echo 'else'; 
    281290}