3 ms·
Function Overloading in PHP
- Minor49er 2y agoThis is the first paragraph: > Yes, old hat, and all explain how to do method overloading. I want to write a simple function, and overload it. And all remark — use OO… hmmm. So I played around with the basic concept of a router function, and overloaded functions. This article is written as if someone casually spoke about overloading, had a computer transcribe the recording, and then never bothered to look at the output There are also code examples which were not likely dictated. The code relies on globals and eval() which are generally avoided due to security implications