Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62216 invoked from network); 25 Mar 2016 10:17:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2016 10:17:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.43 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.43 mail-vk0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:33665] helo=mail-vk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/90-15440-F2015F65 for ; Fri, 25 Mar 2016 05:17:19 -0500 Received: by mail-vk0-f43.google.com with SMTP id k1so87649290vkb.0 for ; Fri, 25 Mar 2016 03:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Q37mXG7Ay8Vd/Lhg9if+tAQZfqPb68HyVTiFYNFlPQg=; b=L89RegbImdF0+G4gaZpWckKI2Dzcl5+RRmhSh6cGm75QBZ/nbXW5gOxN+mlmPFXIG2 CCOtg5WN+w4I1R5h7TcdxYlkBnRoumjJaEa5lmf5pdN4v+p8SaWIgChMzFOv70CDWJrb btfKMSE9lBaDtIT+O06f/9PfMc8PGmzJ9/p0D8Vqz+fT3JecleyjpefITMiKCgeaWpyl GlyDL7wTR7EuCQPDxTxBdTwG/XNtRPVFFbn1mA9Rs9KnXSn2e/XzQ2aAIV+RW244fFpl jzbeOdZ9FPfIH0U9d650dzq8s/h2v2gmDF2dWYHtQH850MBiEad63HlwjqN+qC+qotsY Z6vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=Q37mXG7Ay8Vd/Lhg9if+tAQZfqPb68HyVTiFYNFlPQg=; b=gk2PBKjC9XR9MRgP+tfGFypt+Y66A/2RYD/3LuM1TUwB3CKN7ERE5WBDJUDo8k9IbI 6xq05ehTlc232sYmcHPrSkc33ZKjn3UecSU3tHarEh7Zhr6SJQUw0sA0mPR4sZF6iPbm /JuQtZgmj4ROydcrFioSOzzYOOCznx2Z0W2KJE01C7UYXGtdw32CCih5bXcjQd5lxjOI kxaSixvb9PXumCp0Uh6+gx5naMWWtZOK4BtlpKJR+1nZ96Qq6IUNzv69ReM/OvbB/nA5 REiEfmVICZgX6yvPhFuVNFaZydBK1J+ZALcypXNtsjGu0indtbcn5VYaKn09JP2VGytF uc3w== X-Gm-Message-State: AD7BkJIc5g1C/M6rWnxs8kNuKBgXEwtWyAbiNyO0esdwsFNNETARiknCj/PS7dtXUhVGHBg9LdafERk1Tqb+uA== X-Received: by 10.159.38.13 with SMTP id 13mr4091906uag.104.1458901036786; Fri, 25 Mar 2016 03:17:16 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.159.40.98 with HTTP; Fri, 25 Mar 2016 03:16:37 -0700 (PDT) In-Reply-To: <56F45B65.5090401@telia.com> References: <51.DA.15440.52E44F65@pb1.pair.com> <56F45B65.5090401@telia.com> Date: Fri, 25 Mar 2016 19:16:37 +0900 X-Google-Sender-Auth: VERBDD8VblNkcf4W_XVMnEyptiQ Message-ID: To: =?UTF-8?Q?Bj=C3=B6rn_Larsson?= Cc: Andrea Faulds , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Warn about invalid strings in arithmetic From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, On Fri, Mar 25, 2016 at 6:25 AM, Bj=C3=B6rn Larsson wrote: > Came to think on a conversation with Sara G last year about introducing > the following operators, namely >=3D=3D, <=3D=3D & <=3D=3D> working exact= ly like the > existing ones but without type juggling. >=3D=3D, <=3D=3D were not introduced because results are not useful. For instance, (10 >=3D=3D "0") =3D=3D=3D false does not make much sense with PHP. It would not solve problem, but creates new hard to debug problem. However, raising errors and (10 >=3D=3D "0") =3D=3D=3D null make sense. IMO= . Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net