Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jacob Santos' Blog:
My Love For Array Object Idiocy
Aug 04, 2006 @ 11:24:51

In his latest blog entry, Jacob Santos looks at objects and his seeming faciation with every little thing they do - specifically the Array objects.

I suppose I'm fixated on objects, but damn it, they are awesome. Recently, I've been thinking of creating a framework that takes array and file functions and creates a class wrapper around them. It would have been nice if PHP offered an object for handling Arrays and Files. SPL does manage some sorting for arrays, but I would like to fully manage arrays through the internal Array methods.

He dives deeper into the Array objects, looking at how to use them, appending them to each other, how much overhead making the object causes (testing), and the results of those tests.

tagged: array object spl append use testing userland results array object spl append use testing userland results

Link:


Trending Topics: