> Another option might be to introduce an object-oriented layer on top of
> libbcmath
I think it should be a separate discussion for this. Create new
discussion so we can talk there.
>> Throwing an exception would be rather uncommon for functions, and would
>> definitely have to wait for PHP 8 f
P sometimes does with numbers; there has been some discussion just a few
> months ago to actually stop making float-to-string conversion depend on
> locale:
> https://externals.io/message/103638
>
> Ben
>
> On Thu, 25 Apr 2019 at 11:02, Vladyslav Startsev
> wrote:
&
Any other ideas on that one?
I'll wait for one more week and make RFC then
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Feb 8, 2019 at 1:07 AM Ben Ramsey wrote:
>
> > On Feb 7, 2019, at 11:47, Vladyslav Startsev
> > wrote:
> >
> > Hello everyone!
> >
> > Recently I noticed that there are strange behavior going on if I use
> > bcmath functions (some examples yo
). So to
conclude things that I want, is drop behavior (they should throw
invalid argument exception) that I've showed in the first link and as
Sara suggested add deprecation warning (but I think it should be
E_NOTICE level errors) in 7.4.
--
Vladyslav Startsev
--
PHP Internals - PHP Ru