summaryrefslogtreecommitdiff
path: root/Zend/tests/bug78644.phpt
blob: 3889e9fb05cdf83e4eecb2b2afa9f06a3119817a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #78644: SEGFAULT in ZEND_UNSET_OBJ_SPEC_VAR_CONST_HANDLER
--FILE--
<?php

$a = new stdClass;
unset($a->b->c->d);
unset($a->b->c['d']);
var_dump($a);

?>
--EXPECT--
object(stdClass)#1 (1) {
  ["b"]=>
  NULL
}