mirror of
https://github.com/php/php-src.git
synced 2025-01-10 04:54:47 +08:00
10 lines
193 B
PHP
10 lines
193 B
PHP
--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
|