PHP 5.3.0 has closures (inner functions), a very useful feature that most modern languages have had for years. If you use callbacks when traversing a data structure (such as a shopping cart), you'll really want closures.
But if you decide to use them, be sure that your ultimate hosting platform will have PHP 5.3.0.