2017-01-07 18:01 GMT+01:00 Joe Watkins <pthre...@pthreads.org>:
> Evening Rowan,
>
> I must protest: It is wasteful, unclear, and generally nasty, to create,
> return, and manipulate an array if you are only ever going to reference one
> element in code.
>
> It is quite normal to know the structure of a document ahead of time, and
> this would allow you to write more succinct and less wasteful code.
>
> It would appear valuable to me ... I'm not in love with the name of the
> thing, but the basic idea appears valuable.

I agree, the feature/idea is great. Coming from someone who worked a
fair bit with XML recently (I know I know!). Same goes for the method
naming, seems a little bit awkward

-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

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

Reply via email to