1--TEST-- 2Inc/dec undef var with error handler 3--FILE-- 4<?php 5set_error_handler(function($_, $m) { 6 echo "$m\n"; 7}); 8var_dump($x--); 9unset($x); 10var_dump($x++); 11unset($x); 12var_dump(--$x); 13unset($x); 14var_dump(++$x); 15?> 16--EXPECT-- 17Undefined variable $x 18Decrement on type null has no effect, this will change in the next major version of PHP 19NULL 20Undefined variable $x 21NULL 22Undefined variable $x 23Decrement on type null has no effect, this will change in the next major version of PHP 24NULL 25Undefined variable $x 26int(1) 27