Code & the internet

Posts Tagged ‘SPL’

Turn an object into an array with the Standard PHP Library (SPL)

I have recently discovered the new SPL introduced with PHP 5 that allows a load of new functionality that can be added to classes in your code. In this post, I am going to look at how you can now create an class that has an interface that allows it to be used as if [...]


Previously

Building a PHPDoc parser in PHP

This is the second in a series of posts about how I built Doqumentor – The Runtime PHP Documen


Using the PHP Reflection API to document your code

I have recently spent a bit of time writing a new PHP development tool for documenting code at runti


Exploring the iPhone’s accelerometer through Javascript

The iPhone has had an accelerometer in it since the start, allowing users to tilt the device and it