Where do general functions go in dependency mapping

it’s usefulness lies in its ability to be extended.

Which is what i was suggesting :wink: Anyway really I was playing devils advocate. It’s the OO purist in me coming out again :stuck_out_tongue: I know they are a little limited at the moment. Hopefully one day PHP will add internal support for all the array functionality in ArrayObject and basically make arrays and ArrayObjects identical–removing all the problems you listed about having 2 types of array construct.

(: Like in JavaScript? :slight_smile:

Course, JavaScript would be better with namespaces so that modifications to the Array object in one namespace do not become inherited by the other namespaces. If this would be possible prototype.js would complemently eclipse jQuery - as it stands prototype’s inability to play well with code not written with it in mind remains a problem.