--TEST-- When + or - are used on yield, they must be unary (and not binary) (Bug #69160) --FILE-- valid(); $gen->send(1)) { echo "\n"; var_dump($gen->current()); } ?> --EXPECT-- int(1) int(1) int(-1) int(1) NULL int(-1)