|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch const_dereference_002.phpt for Scripting Engine problem Bug #60408Patch version 2011-11-30 09:46 UTC Return to Bug #60408 | Download this patchPatch Revisions: Developer: laruence@php.net
--TEST--
Const string dereference
--FILE--
<?php
error_reporting(E_ALL);
var_dump("foobar"[3]);
var_dump("foobar"[2][0]);
var_dump("foobar"["foo"]["bar"]);
--EXPECT--
string(1) "b"
string(1) "o"
string(1) "f"
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |