Browsing the archives for the php programming deprecation tag

Deprecate a Function

in Programming

I was porting over some code today and had an apostrophe moment. (You know… when lighting strikes your brain?) In order to deprecate a function in your code, you can leave the function intact, but basically have it shout out that it is deprecated and exit. Here’s an example from the PHP script I’m working [...]

0 Comments