Ignore:
Timestamp:
2013-07-12T05:13:34+02:00 (23 months ago)
Author:
Xuefer
Message:

disassembler: fix UNSET_VAR for PHP 5.4+

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_disassembler/sample.php

    r1291 r1295  
    3737        echo CONST_VALUE;
    3838        echo ClassName::CONST_VALUE;
    39         unset(ClassName::$classProp);
     39        unset(t::$classProp1);
    4040        unset($obj->objProp);
    4141        unset($this->thisProp);
     
    4343        unset($obj->array['index']);
    4444        unset($this->array['index']);
     45        isset($GLOBALS['a']);
     46        empty($GLOBALS['a']);
     47        unset($GLOBALS['a']);
     48        echo $GLOBALS['a'];
    4549        $obj->objProp = 1;
    4650        $this->thisProp = 1;
Note: See TracChangeset for help on using the changeset viewer.