Changeset 781 in svn for trunk/decompilesample.php


Ignore:
Timestamp:
2011-04-22T14:05:08+02:00 (4 years ago)
Author:
Xuefer
Message:

Decompiler: handle closure use()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/decompilesample.php

    r780 r781  
    360360$total = 0;
    361361$tax = 1;
    362 $callback = function ($quantity, $product) use ($tax, &$total) {
    363     static $static = array(1);
     362$callback = function($quantity, $product) use($tax, &$total) {
     363    $tax = 'tax';
     364    static $static1 = array(1);
     365    static $static2;
    364366    $tax = 'tax';
    365367    $tax = --$tax;
Note: See TracChangeset for help on using the changeset viewer.