Category Archives: PHP/MySQL

Simple PHP closure/lamda/anonymous function usage.

This is a fun little example of the new Closure features in php.

We can go a little further, and do like this.

An issue that comes up is, how do I get the $this variable in there. … Continue reading

Posted in OOP, PHP Tutorials, PHP/MySQL, Topics | Tagged , , | Leave a comment