A takeover of PHP Closure and anonymous functions



Manil Lancash Since Apr 19, 2016 3 Posts

Wow thanks for explaining this, i can see the small difference now

Since Apr 18, 2015 1 Posts

Good explanation, Ahmed. I use to use anonymous functions in JS that is very similar to PHP cousure.

Thanks for share your knowledge!

Since May 15, 2016 1 Posts

Nice post, I always had issues with those new trendy options the modern PHP invented (traits for example). Your post really helped me lose some of the tech phobia around this subject. Thanks

zooboole Since Jan 22, 2015 109 Posts

Glad it helps you, I should probably be talking of the traits next time.

EDIT

Here is a topic on Traits: http://phpocean.com/tutorials/back-end/php-objects-with-wrong-traits/53