Re: E_NOTICE when depreciated methods are called
| From: | Alexander Merz | Date: | Mon, 05 May 2003 08:16:05 +0000 |
| Subject: | Re: E_NOTICE when depreciated methods are called | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5226@lists.php.net to get a copy of this message | ||
Alexander Merz wrote:
PEAR::enableDeprecated() (for PEAR user) PEAR::deprecated('myFunction'); (for package programmer)As a better idea: Why not go the "Java-Way" and declaring a function/method as deprecated by a php native function. This also solves the problem declaring a PECL function as deprecated?