[PEPr] Comment on Mail::Mail_CheckUser
| From: | Greg Beaver | Date: | Fri, 17 Jul 2009 19:27:20 +0000 |
| Subject: | [PEPr] Comment on Mail::Mail_CheckUser | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-52395@lists.php.net to get a copy of this message | ||
use __construct() for the constructor
have the sender and fqdn as constructor parameters, default value null,
and only if not passed in should they set themselves from $_SERVER.
PEAR is no longer accepting PHP4 packages, this must work in PHP 5 with no
E_STRICT/E_DEPRECATED warnings. Fortunately, just change the constructor
name and you're good to go (on a cursory exam of the source)
--
http://pear.php.net/pepr/pepr-proposal-show.php?id=605