1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- It's not possible to increment the return value of a function --FILE-- <?php function test() { return 42; } ++test(); ?> --EXPECTF-- Fatal error: Can't use function return value in write context in %s on line %d