1--TEST--
2errmsg: can't use function return value in write context
3--FILE--
4<?php
5
6function foo() {
7 return "blah";
8}
9
10foo() = 1;
11
12echo "Done\n";
13?>
14--EXPECTF--
15Fatal error: Can't use function return value in write context in %s on line %d
16