Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104295 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11839 invoked from network); 7 Feb 2019 21:05:44 -0000 Received: from unknown (HELO mail-qk1-f171.google.com) (209.85.222.171) by pb1.pair.com with SMTP; 7 Feb 2019 21:05:44 -0000 Received: by mail-qk1-f171.google.com with SMTP id u188so440872qkh.8 for ; Thu, 07 Feb 2019 09:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4gOBf42J1xD1HHAp+qsm7f/OcW89/t+z9MxHHCY45ZI=; b=HnJiLspdkXxryfiluFoeIoYpBR8EEOH9LNR+bdk/latzxS2vv931L1QVWmeL0zoRTh KW3sOgqbFnVT4UhXSLLdtRHu17HDyYxRGg2orqtiXt8xmG/Qu1vU2TqYPle5w4101F0A XV0Ie5P1DGOj44w204FovCZ76pg08ropxhAKhDmpSeCGebHWATtZzt7PWZnjRBfVdLFU lvZYeLs8IJFl4GpSOo6YSMuHvHnCPzj0Y9+/lk9IA1ZOq2CqR7Mi3gnoVWVkrpp90WbB x5ShVcKFdWmjXsGyy9VyhdzWgo0KTo/OFhREeJ7zuyOhAefzJvgxy8A8BzixEBwHIH1U YpYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4gOBf42J1xD1HHAp+qsm7f/OcW89/t+z9MxHHCY45ZI=; b=lvKZ7Kd87bU+NomiAFi56TUPh+QMQ08uPoe7YSagMkhah61sPh48tlR4TL+k879SBk qUj7U4IbUfUtPje67hLlC4xPgaY+3wLLdKoGb/KMDqOBphzuVAw+2Q3AKVswIlC/vZoE aHIvbvHeoP988n9b3iTc54aLjQdXvgPmkH2DbJHXpAjo1XpSSdZ1ZwMxDzfiTU0Fqkqr DOBNliFhuJS/dltr/8tLafEO4hGcTyfpvaDtWUeXKRhbceRDF8fL8wavePPf5LFOrGz8 P7LHOwazpdGDNg5BE06Zk97p086kjBx2FRNdFkoLM04bRk5ofW7LfeXpwpy2AHwFIt9E YJ9Q== X-Gm-Message-State: AHQUAuZH30Z4fXlwgZrFAF+F0+zQGWKfdzknSCU3zm7BJpfbGHCZipFc ITaQkQpgS0Cf+uqNwzJuF8c3WqHj4YrPPyZ1p68Yt4n/yw== X-Google-Smtp-Source: AHgI3Iah5cmiuYY8MMloiTpUJOBfBTXu5+HzcEz7rP9gKfjF+Q26lsXXXMWILiN2GZFtrxoyr91/+LIeHzQaoWirDdw= X-Received: by 2002:ae9:dd84:: with SMTP id r126mr12440710qkf.217.1549561644494; Thu, 07 Feb 2019 09:47:24 -0800 (PST) MIME-Version: 1.0 Date: Thu, 7 Feb 2019 19:47:13 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Subject: Make bcmath functions more strict From: vladyslavstartsev@gmail.com (Vladyslav Startsev) Hello everyone! Recently I noticed that there are strange behavior going on if I use bcmath functions (some examples you can see here https://3v4l.org/D3s7J). I also previously had little discussion with Sara Golemon on twitter about this (https://twitter.com/SaraMG/status/1087902930110480384). 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