Show
Ignore:
Timestamp:
04/09/2011 01:48:12 PM (2 years ago)
Author:
moo
Message:

decompiler: fix computed array elements

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Decompiler.class.php

    r722 r723  
    5555    } 
    5656 
    57     if (is_array($value)) { 
     57    if ($value instanceof Decompiler_Object) { 
     58        // use as is 
     59    } 
     60    else if (is_array($value)) { 
    5861        $value = new Decompiler_Array($value); 
    5962    } 
     
    13201323                    } 
    13211324                    if (isset($op['cond_false'])) { 
     1325                        echo "TODO(cond_false):\n"; 
    13221326                        var_dump($op);// exit; 
    13231327                    }