Re: Strange conversion
| From: | Stanislav Malyshev | Date: | Sun, 17 Dec 2000 10:34:08 +0000 |
| Subject: | Re: Strange conversion | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41641@lists.php.net to get a copy of this message | ||
DR>> Ok, I know it's a typo, but Jani and I think we should issue
DR>> a warning when someone passes an array as the 2nd parameter to
DR>> explode and then return FALSE. I've the patch already done, but
Then you have to make _all_ functions that accept strings produce warning
(or, rather, notice) - otheriwse it would be inconsistent and raise
questions why this particular function produces warning while all others
don't.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115