Deprecate a Function

On December 18, 2007 By Tyler

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 [...]

Continue Reading