Ignore:
Timestamp:
2011-04-26T07:28:21+02:00 (4 years ago)
Author:
moo
Message:

Decompiler: decompile try/catch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/decompilesample.php

    r793 r795  
    257257$a = $b || $c;
    258258
    259 try {
    260     echo 'outer try 1';
     259do {
    261260    try {
    262         echo 'inner try';
    263     }
    264     catch (InnerException $e) {
     261        echo 'outer try 1';
     262
     263        try {
     264            echo 'inner try';
     265        }
     266        catch (InnerException $e) {
     267            echo $e;
     268        }
     269
     270        echo 'outer try 2';
     271    }
     272    catch (OuterException $e) {
    265273        echo $e;
    266274    }
    267     echo 'outer try 2';
    268 }
    269 catch (OuterException $e) {
    270     echo $e;
    271 }
     275} while (0);
    272276
    273277if (if_()) {
Note: See TracChangeset for help on using the changeset viewer.