News for hackers. Stuff that matters.
Re:Functional PHP 5.3 - What are Anonymous Functions and Clo... by lucumo on Tuesday August 18, 2009 @12:03PM (#770725)
Pointers can break easily. It's entirely possible to add or subtract from a pointer, which drops you in a different memory area. This isn't possible with anonymous functions, making them more safe.

It's the same with references vs. pointers. You can't do any calculations with references, but you can with pointers.

There are no comments on this comment yet.