On Mon, 21 Dec 2020 at 19:36, G. P. B. <george.bany...@gmail.com> wrote:
> Now, onto the weird special case, which looks like a bug in the > implementation of base_convert() as > var_dump(base_convert('O', 8, 10)); > Will emit the following deprecation warning (but only if the starting base > is 8): > Deprecated: Invalid characters passed for attempted conversion, these have > been ignored in %s on line %d > string(1) "0" > But when using octdec() it doesn't. > Correction, this is not the case. I was mistakenly using 'O' (capital o instead of zero) in the test case. This does not emit a deprecation notice. Best regards, George P. Banyard