php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64598 function array dereferencing not completely implemented
Submitted: 2013-04-06 08:06 UTC Modified: 2013-04-06 15:33 UTC
From: php at flyingsoft dot phatcode dot net Assigned:
Status: Not a bug Package: Arrays related
PHP Version: 5.4.13 OS: WAMP..
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 13 = ?
Subscribe to this entry?

 
 [2013-04-06 08:06 UTC] php at flyingsoft dot phatcode dot net
Description:
------------
Function array dereferencing does not work for splFixedArray.

Test script:
---------------
<?php
$a = new splFixedArray(5);
$a[0] = array(1, 2, 3);
$a[0][0] = 10;
?>

Expected result:
----------------
No error.

Actual result:
--------------
"Notice: Indirect modification of overloaded element of SplFixedArray has no effect in [filename] on line 4"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-06 15:33 UTC] felipe@php.net
-Status: Open +Status: Not a bug
 [2013-04-06 15:33 UTC] felipe@php.net
This nothing have to do with "function array dereferencing".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC