Wow thanks for explaining this, i can see the small difference now
Good explanation, Ahmed. I use to use anonymous functions in JS that is very similar to PHP cousure.
Thanks for share your knowledge!
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
Glad it helps you, I should probably be talking of the traits next time.
Here is a topic on Traits: http://phpocean.com/tutorials/back-end/php-objects-with-wrong-traits/53