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$c->a += 5; 15var_dump($c->a); 16?> 17--EXPECT-- 18int(5) 19