Show
Ignore:
Timestamp:
04/22/2011 05:18:42 PM (2 years ago)
Author:
moo
Message:

merge from trunk

Location:
branches/1.3
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.3

  • branches/1.3/decompilesample.php

    r766 r784  
    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) { 
    364363    $tax = 'tax'; 
     364    static $static1 = array(1); 
     365    static $static2; 
     366    $tax = 'tax'; 
     367    $tax = --$tax; 
    365368    $pricePerItem = constant('PRICE_' . strtoupper($product)); 
    366369    $total += $pricePerItem * $quantity * ($tax + 1);