1--TEST--
2Invalid string offset use where the actual use may be optimized away
3--FILE--
4<?php
5function test() {
6    $a = "";
7    $c = array(&$a[0]);
8}
9test();
10?>
11--EXPECTF--
12Fatal error: Uncaught Error: Cannot create references to/from string offsets in %s:%d
13Stack trace:
14#0 %s(%d): test()
15#1 {main}
16  thrown in %s on line %d
17