mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
13 lines
197 B
Plaintext
13 lines
197 B
Plaintext
|
--TEST--
|
||
|
testing the behavior of string offset chaining
|
||
|
--INI--
|
||
|
error_reporting=E_ALL | E_DEPRECATED
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$string = "foobar";
|
||
|
var_dump($string[0][0][0][0]);
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
string(1) "f"
|
||
|
|