Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105174 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45412 invoked from network); 9 Apr 2019 16:30:47 -0000 Received: from unknown (HELO mail-ot1-f52.google.com) (209.85.210.52) by pb1.pair.com with SMTP; 9 Apr 2019 16:30:47 -0000 Received: by mail-ot1-f52.google.com with SMTP id e5so15493574otk.12 for ; Tue, 09 Apr 2019 06:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CzhBhQmaLO/ifY9ukohB3gB76LODeukZMfQuRt4Od5A=; b=D5yWGPS+mhznCKzHNua2A5ZJMJo/vVVYZhQtnn1Iav01e+/YKhEbOa7gImUzqBFyWW zuQywiCmTSZzRA3Quag2TvFaEv/BD8vdUcgW3L+DqYiXNgAC7C1m8LsiKIEByquPrNl9 soIEhoZXay44z6QbSG4H/R1kzGaNo0VIItW7kwRj1S2Miq1LyEGtD6WPOQuIfZyHiyL8 kJau7Lp2vBjKmw/wTx0ZCuOVTXEdwMqdnKCFCVYIdjQ4bo+yd1VduobUylLQpyMBEex4 NGULCx//HM2SsyjraO9LslM2JZZJZp+ZtwytG0j7VIYEnkOcnUm/DkIx21E3tWSX+lHc Gntw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CzhBhQmaLO/ifY9ukohB3gB76LODeukZMfQuRt4Od5A=; b=jBc9opaoVWup24MEDxR4cP8jy6XfcvrpugOQmPu+0kK9BQeih48UXQNhAw7fLi/Iz1 DNpMUNEDLGTtwCRCqXTONUynnFUf2F96tV5WB/IQ1yVXyig9bVZe3tznead0xgn3KKgL UpDQezcohS4J6/98Xb/o4FWv3pFkYs+GpNxmgHrj7JXQ1kHU1zu/krXS2CL2i2VXbkrn Ud1btEPOCchCU6hAKQG5DAF2CqVuhzad6IWRspRG9ImJib5Iy4k2C5GVDA4IxKiZ60Vj qjaON/wslyWOES50lRf4kuCh8MYuh2CviKHBOtbA1y8zVWCi0l1FBF6SQ8QHSLFPv7w5 +6Aw== X-Gm-Message-State: APjAAAUKMyQQHo9PXeEkwVo/k1LQmOFVNawFWTo19FnAOi2XgUxiEj98 qvKuUWVanI5vti04bnwcsOT2jDypJOQsO/aitf0= X-Google-Smtp-Source: APXvYqydfMFf+sY+BXj0PPFjMF4jIBpzi7Tj64kZg02xvIlh2ZAY5/XW6q7CXMGkKBYwLoXzew5bLIjdZNnpBjb4InA= X-Received: by 2002:a9d:7455:: with SMTP id p21mr854081otk.180.1554816460596; Tue, 09 Apr 2019 06:27:40 -0700 (PDT) MIME-Version: 1.0 References: <40683e93-f8e9-5a8c-9646-31c73c99396f@fischer.name> <5ca53eb4.1c69fb81.e223b.922eSMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: Date: Tue, 9 Apr 2019 14:27:28 +0100 Message-ID: To: Benjamin Morel Cc: Nikita Popov , Derick Rethans , Andrea Faulds , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Permit trailing whitespace in numeric strings From: robehickman@gmail.com (Robert Hickman) > Why? Wouldn't it be nice to align the behaviour of implicit and explicit > casting, so that (int) "abc" throws a TypeError? > I agree with this. It would be odd if they behaved differently.