mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
10 lines
193 B
Plaintext
10 lines
193 B
Plaintext
|
--TEST--
|
||
|
string offset 002
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$a = "aaa";
|
||
|
$x = array(&$a[1]);
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot create references to/from string offsets in %sstr_offset_002.php on line 3
|