On 12.03.2018 at 15:49, Sara Golemon wrote: > On Mon, Mar 12, 2018 at 10:10 AM, Christoph M. Becker <cmbecke...@gmx.de> > wrote: > >> On 22.12.2013 at 20:46, Sara Golemon wrote: >> >>> https://wiki.php.net/rfc/base-convert >> >> Is there any chance to revive this RFC? […] > > Huh... It's got my name on it, but I can't for the life of me recall > starting this up. > > I agree with past-me, however. This is some clowny behavior. > > Let's consider the conversation reopened. […]
That's the spirit! Thanks. I tend to prefer option C (throw a Warning, stop processing, and return the value up to that point). Option B (throw a Warning and return FALSE on unexpected characters) might be cleaner, but we're not that picky elsewhere, and the return value might not even be checked, and thus easily misinterpreted as zero. -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php