Changeset 752
- Timestamp:
- 2011-04-17T06:06:50+02:00 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
Decompiler.class.php (modified) (1 diff)
-
decompilesample.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Decompiler.class.php
r751 r752 1569 1569 $this->dfunction($this->dc['function_table'][$op1['constant']], $EX['indent']); 1570 1570 break; 1571 case XC_DECLARE_LAMBDA_FUNCTION: 1571 case XC_DECLARE_LAMBDA_FUNCTION: // {{{ 1572 1572 ob_start(); 1573 1573 $this->dfunction($this->dc['function_table'][$op1['constant']], $EX['indent']); 1574 1574 $resvar = ob_get_clean(); 1575 1575 $istmpres = true; 1576 break; 1577 // }}} 1578 case XC_DECLARE_CONST: 1579 $resvar = 'const ' . unquoteName($this->getOpVal($op1, $EX), $EX) . ' = ' . str($this->getOpVal($op2, $EX)); 1576 1580 break; 1577 1581 case XC_DECLARE_FUNCTION_OR_CLASS: -
trunk/decompilesample.php
r751 r752 276 276 277 277 //* >= PHP 5.3 278 echo 'PHP 5.3+ code testing'; 279 const CONST_VALUE = 1; 278 280 echo $this::CONST_VALUE; 279 281 echo $a::CONST_VALUE; 282 echo CONST_VALUE; 280 283 $this::__construct(); 281 284 $obj::__construct();
Note: See TracChangeset
for help on using the changeset viewer.

