Subscribe to PHP Freaks RSS

Stories by Liam Hammett on Medium: PHP Wishlist: Operator Overloading

syndicated from www.phpdeveloper.org on May 24, 2019

PHP is a great language that puts a lot of power into the hands of the developer. The core language supports a handful of magic methods and interfaces that can be implemented into classes that lets the developer choose how an object should behave in certain situations, like when it’s being iter...