Presenting the PHP 5.3 compatible version of my PHP path resolution class! Why there should be a difference? Because my original version used create_function, which… created a whole new function object every time you used one of the class’s methods. This was very memory expensive and even incurred a slight performance hit.