1--TEST-- 2Error handler can change type of operand of -- 3--FILE-- 4<?php 5 6set_error_handler(function () { 7 global $x; 8 $x = 1; 9}); 10 11$x = ''; 12$x--; 13var_dump($x); 14 15?> 16DONE 17--EXPECT-- 18int(-1) 19DONE 20