Changeset 784 in svn for branches/1.3/decompilesample.php


Ignore:
Timestamp:
2011-04-22T17:18:42+02:00 (4 years ago)
Author:
Xuefer
Message:

merge from trunk

Location:
branches/1.3
Files:
2 edited

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);
Note: See TracChangeset for help on using the changeset viewer.