1--TEST--
2Cannot use built-in functions in write context (assignment)
3--FILE--
4<?php
5
6strlen("foo")[0] = 1;
7
8?>
9--EXPECTF--
10Fatal error: Cannot use result of built-in function in write context in %s on line %d
11