On 01/02/15 03:39, Dmitry Stogov wrote:
> I also thought about similar approach for "object by value case".
> I think, first we should accept the proposed in thic RFC behavior. It's
> consistent, and more comatible with PHP5. Later, if we decide to merge
> zend_array with HashTable we may try to change it.

I know I'll get told off for getting off topic, but I think that often a
clean overview helps better understanding of fine detail which currently
goes over my head and I'm sure others as well.

Pre-OO days we created arrays of 'objects' which were and still are
simply organised sets of data. A set of static functions would be called
against a list of 'objects' using foreach to loop through all the
elements. Data would be organised to allow the best performance and
packets of data were passed via reference.

Nowadays we replace the 'set of static functions' with a class and the
data is wrapped up within that object, but IS that really the best way
of handling a list of objects? There is nothing stopping our using a
class to wrap an array of data sets and if the persistent data has been
streamed from a database is it REALLY sensible to build individual OO
objects for each?

With all of the complexity being loaded into PHP7, it just seems that
the main target areas that the majority of users need has been lost.
Fine tuning just how things like foreach works is fine, but has some of
the need been create by having lost site of the simpler functionality
which is all most users require?

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to