1--TEST--
2OSS Fuzz #61865: Undef variable in ++/-- for declared property that is unset in error handler
3--FILE--
4<?php
5class C {
6    public $a;
7    function errorHandler($errno, $errstr) {
8        unset($this->a);
9    }
10}
11$c = new C;
12set_error_handler([$c,'errorHandler']);
13unset($c->a);
14$v = ($c->a++);
15var_dump($c->a);
16var_dump($v);
17?>
18--EXPECT--
19int(1)
20NULL
21