PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
JellyFish wrote:In a way yes. But the create_function doesn't appear to be very..."good". Not like javascript which uses, I guess you say, closure or lambda style programming.
CAn you give an example of a "more lambda style" javascript approach?
I've pretty much always felt that if you need closures (in the sense desired) you have a code smell. The smell is equal to that of using eval() in my book.