Re: [RFC] Base Conversion Clowniness
| From: | Stas Malyshev | Date: | Sun, 22 Dec 2013 22:26:40 +0000 |
| Subject: | Re: [RFC] Base Conversion Clowniness | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70837@lists.php.net to get a copy of this message | ||
Hi!
> https://wiki.php.net/rfc/base-convert
Just a little note - I don't think any option that adds warnings where
there were not warnings is acceptable in this case for any stable
version. There are dozens of ways extra warning could break an existing
app.
Also, wouldn't simple regexp or filter or is_numeric check solve this
issue while allowing much more flexible reaction to wrong data? I'm not
sure that more warnings is better than more data checking.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227