Changeset 784 for branches/1.3/decompilesample.php
- Timestamp:
- 04/22/2011 05:18:42 PM (2 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
decompilesample.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
- Property svn:mergeinfo changed
/trunk merged: 775-778,780-783
- Property svn:mergeinfo changed
-
branches/1.3/decompilesample.php
r766 r784 360 360 $total = 0; 361 361 $tax = 1; 362 $callback = function ($quantity, $product) use ($tax, &$total) { 363 static $static = array(1); 362 $callback = function($quantity, $product) use($tax, &$total) { 364 363 $tax = 'tax'; 364 static $static1 = array(1); 365 static $static2; 366 $tax = 'tax'; 367 $tax = --$tax; 365 368 $pricePerItem = constant('PRICE_' . strtoupper($product)); 366 369 $total += $pricePerItem * $quantity * ($tax + 1);

