Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113077 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50299 invoked from network); 4 Feb 2021 16:21:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Feb 2021 16:21:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8CF591804D1 for ; Thu, 4 Feb 2021 08:05:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 4 Feb 2021 08:05:24 -0800 (PST) Received: by mail-ed1-f42.google.com with SMTP id z22so4758903edb.9 for ; Thu, 04 Feb 2021 08:05:24 -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=9mhzIna+PmcB1QtaSIhLxhrMinGgauZvanFc6lWdLFY=; b=uihBAZAti/uN5BhFPgHVw3vJ0SldKa82RLHy3zeS7ZBQO4TzsWahU3AXk+Hp657KH2 ax5kE0TPpzrpc9yrPSeORSAvV96dOJxaaWeghx3ZdlzvQc3Gi7v9aVEdGNGCH7wuAsvg r+tytC4fAIg7AIi49TfYZCRzgfhGI1OWBM59VGv8oyAfHwEEVo8BN5ItPEitkBCG/X59 WJNvifAc8axpM9KdVw3nx+/3YmJzSXghuUM32tXljvZYOzGFnFRrcuDzXXODyHXhYTyu c6MFFVwYFsX3uChkM7KhVLZU7DMstslSoZ/nEWEJI8Gw2EzitsPADNOyIu1INA9DLjlR hAjA== 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=9mhzIna+PmcB1QtaSIhLxhrMinGgauZvanFc6lWdLFY=; b=KV7iN5cZYg9tdTr6Oeq7YJp/XlHwvDw2Sq1z8CXC3w62X1oal/SFGalohtBrFLMt+l y5njPWTWkYEQJHnrNpnFwm8Za4J1QVZa9ckHZg1XmQOYsN8tdE0/u4sC71uYwrWng2pZ CwHNXLfVZHa5u0nO9fbTcKljPHxY9dE/yhN8A3Jyo7VEOeKlX2vAAJjHd3gGJWokt+4I 4H0qHAygHSaAap07P3F/y/WNaoy2wich6RwhdOK4O170Wo0COZAR3un2bShfO1BlHP/L t1tsYUrwUKRxgnmUOMiCapDYuvQVqu/VyKWPb7FeLzuOdBMqm3g6Z/o6irfM73R0SdQg vJAQ== X-Gm-Message-State: AOAM530sHYdUNvqxoDZ1IIenmIK4yhff/nyAflqebxW6dooN17j9mPea q0JydvXZqKgmLqXQX953xcDTJ1CxoaHNn0Ua9PcLl/rrEuxJSw== X-Google-Smtp-Source: ABdhPJx4AFP7SjIzVY9rBpOtQ0snqni6byhFP/v1ITxwvxFEifN4+hRjtjSwtUpJ0ccmJw1xYAves9FXZA2okMyvY6M= X-Received: by 2002:a05:6402:323:: with SMTP id q3mr5903921edw.115.1612454722540; Thu, 04 Feb 2021 08:05:22 -0800 (PST) MIME-Version: 1.0 Date: Thu, 4 Feb 2021 16:05:11 +0000 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000f416fc05ba84de16" Subject: [PHP-DEV] [RFC] Warning for implicit float to int conversions From: george.banyard@gmail.com ("G. P. B.") --000000000000f416fc05ba84de16 Content-Type: text/plain; charset="UTF-8" Greetings internal, I'm proposing a new RFC which would warn when an implicit conversion from float to int occurs. The draft is currently located on GitHub: https://github.com/Girgias/float-int-warning/ for ease of commenting/providing changes to it. The official discussion phase wouldn't start before I convert it to docwiki and post it on the wiki, something I'm planning to do next week. Any feedback is appreciated. Best regards, George P. Banyard --000000000000f416fc05ba84de16--