xref: /PHP-5.6/Zend/tests/str_offset_002.phpt (revision d12098ee)
1--TEST--
2string offset 002
3--FILE--
4<?php
5$a = "aaa";
6$x = array(&$a[1]);
7?>
8--EXPECTF--
9Fatal error: Cannot create references to/from string offsets in %sstr_offset_002.php on line 3
10