Re: [UPDATE][PROPOSAL] Package: SMS (send and recieveSMS through different backends)
| From: | Tobias Schlitt | Date: | Fri, 24 Oct 2003 06:59:12 +0000 |
| Subject: | Re: [UPDATE][PROPOSAL] Package: SMS (send and recieveSMS through different backends) | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22942@lists.php.net to get a copy of this message | ||
<zitiere wer="Alan Knowles">
> just one thought - why dont you init when you create the class???,
> rather than making it a manual process?
Hi Alan!
I good question and a better answer:
If an error occurs while initialization (backend not available, etc.) an
error should be returned, which is not possible in the constructor.
Regards,
Toby
--
<?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*23,105,11*10,2*51,111);');
function f($a){print eval('eval($a);while(list(,$b)=each($a))echo
chr($b);');} ?>