I'm trying to modify the value of my array which is itself in a linked list
Sounds like:
$z = new SplDoublyLinkedList();
$z->push(array('Hello', 0));
$z->push(array('world', 4));
$p = & $z->offsetGet(1); // reference ?
$p[0]='change'; // indirection like ?
$p[1]=5;
$q = &$z->offsetGet(1); // element of my array remains "world", 4
But it doesn't work.
Of course, If I push class object, it works...
Is there a way to have the same behaviour with array() ? ... Obviously and according to SplDoublyLinkedList declaration, I can't... :(