-
Creating an Instance of an Object without Calling Its Constructor in PHP
Today, I stumbled upon an article in a local PHP developers group. It was about creating an instance of an object without calling its constructor (as mentioned in post title). At first, the idea made no sense to me. Because, constructor method is run every time an object is instantiated, this property is the whole…