Hi! > Implementation is not something I have looked into for this yet, so I am > unsure how this would be possible; but by passing $array[*1:4], you'd be > passing an extracted array which is a reference to the original array. > Such that changing the sub array can change the parent array.
Exactly. This means you can not make $array[*1:4] a real lvalue, which means you instead need to make it some kind of a hack on case-by-case basis, at which point it's no better than array_splice only implemented in more complicated way. -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php