For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > April 2004 > BC-break in Mail/mail.php? (was: Mail-1.1.3 (stable) Released.)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BC-break in Mail/mail.php? (was: Mail-1.1.3 (stable) Released.)
Stefan Neufeind

2004-04-08, 4:33 pm

Hi,

the difference is in Mail/mail.php, in the function "send". It was
always documented that a PEAR_Error is returned. But does someone
have experience if it really returned a PEAR_Error up to now? To me
it seems that in 1.1.2 false was returned - and in 1.1.3 now there is
a check against === false which then results in a real PEAR_Error
been thrown.
Is this a BC-break, though it was always documented differently? Hard
to decide, I know. But please comment!

Stefan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com