PHP Autoloading with SPL

I linked to a couple of pages a week or so ago about the __autoload() function in PHP. Since then I’ve discovered SPL and its autoloading functions which mean you can queue up a set of autoload functions which it will cycle through if it doesn’t find the class in the initial functions. Have a look:


Published by:


Production Facilitator at Audacious Church Previously Software Developer at UKFast Ltd. and Web Applications Developer at SenseLogix Ltd. Graduate of Renewable Energy BSc from the University of Exeter. Experience with PHP, MySQL, Javascript, CSS and HTML.

Categories PHP, Programming, Web DevelopmentLeave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s