NYCPHP Meetup

NYPHP.org

[nycphp-talk] Overriding Array's

Joseph Crawford codebowl at gmail.com
Wed May 2 15:04:29 EDT 2007


ok let me try to clarify myself.

I somehow need to loop over all elements and see if any of them
contain numeric indexes like the stylesheets does.  If it does we need
to add the new element from the secondary array to the first.

If it get's to the bottom element (without finding a numeric key
first) it will replace the value such as in $data['page']['title']

Is that clear?



More information about the talk mailing list