Zend_Acl + Zend_Auth + Zend_Controller_Plugin = HAPPY!

Ok, so after playing around with Zend_Acl for what seems like forever I’ve finally cracked what feels like the perfect marriage between Zend_Acl, Zend_Auth and an application.
You may ask yourself, why the fuck is it so hard? The simple answer is this…
Zend_Acl was designed in such a way that it does not require any [...]

PHP Variable Variables

Whilst I don’t advocate assigning variable variables, there are times when you need to create variables in PHP dynamically.
What is a Variable Variable?
A variable variable is a variable that can be set dynamically. For instance the normal way to create a variable in PHP would be:

$foo = ‘bar’;

But what happens when you’re setting a variable [...]