Decompiler: adds unset, XC_QM_ASSIGN_VAR
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1291 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
d0bcd02437
commit
15e7931fb2
|
@ -1931,7 +1931,8 @@ class Decompiler
|
|||
}
|
||||
break;
|
||||
// }}}
|
||||
case XC_QM_ASSIGN: // {{{
|
||||
case XC_QM_ASSIGN:
|
||||
case XC_QM_ASSIGN_VAR: // {{{
|
||||
if (isset($curResVar) && is_a($curResVar, 'Decompiler_Binop')) {
|
||||
$curResVar->op2 = $this->getOpVal($op1, $EX);
|
||||
}
|
||||
|
|
|
@ -236,14 +236,19 @@ $object->prop = 1;
|
|||
$this->prop = 1;
|
||||
$a = isset($b);
|
||||
$a = empty($b);
|
||||
unset($b);
|
||||
$a = isset($array['index']);
|
||||
$a = empty($array['index']);
|
||||
unset($array['index']);
|
||||
$a = isset($object->prop);
|
||||
$a = empty($object->prop);
|
||||
unset($object->prop);
|
||||
$a = isset($this->prop);
|
||||
$a = empty($this->prop);
|
||||
unset($this->prop);
|
||||
$a = isset(ClassName::$prop);
|
||||
$a = empty(ClassName::$prop);
|
||||
unset(ClassName::$prop);
|
||||
$a = (int) $b;
|
||||
$a = (double) $b;
|
||||
$a = (string) $b;
|
||||
|
|
Loading…
Reference in New Issue