Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104450 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45648 invoked from network); 16 Feb 2019 21:53:26 -0000 Received: from unknown (HELO wnew4-smtp.messagingengine.com) (64.147.123.18) by pb1.pair.com with SMTP; 16 Feb 2019 21:53:26 -0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.west.internal (Postfix) with ESMTP id 5569D3044; Sat, 16 Feb 2019 13:37:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Sat, 16 Feb 2019 13:37:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm1; bh=4 jc5duDgqxsLq2girLzBN9/d+BauHoo9XUpDC9U+oh4=; b=BOF4lnXNfRhMighXk LNInVRiShIll0AZu9UHXQMmelRtLGQOx8XUiX2OVhoWOVaHlJ6PIE8qchvseTJBO njAHTn8Je5G/1L2JIl17+mqLxzfuaDrfL2s8EwWqNDXFKLa6sQn7jReVkJ08Heo5 Vuq7gjheNVgFolcBaUmkgKbR8+ZuDfrph30lLwquSWY0B+6kJcqkeHVP19pZXNXx 2kHAkDwGA11pqsC52IH/Lt7aHJQS5gztT+H7uDuYdyQ9o07kWZYHHksaivA4rlFc 0IstvrykmDy7TiWy0LKM63rv+R9Bd+P9/dtHpZGL4hedr1cHznDZTn3nA/wrG9mB gQeqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=4jc5duDgqxsLq2girLzBN9/d+BauHoo9XUpDC9U+o h4=; b=T7q4wpcGcCJVLSjo4FNYFF2np1v2DvDuRWoy4H4lx5GZ/B2yP0UK/Zx2/ TXzbrgjGXYHwBSm3l9lUkZUj5jwgDSbX+kTJvkJCsoTZ8F87z4TyD9nXWN5T07hj S0pCxXpPr18L/mUgzNYK8Eh3+YD+MWX96KOZzW3NQd1z3d5xf4abTt4npDud5JZU F8DAkn21mPNgmdXOaCWge1e1yjLx/PM+FEtLCudaID3t8JZD5RKl1UVtAWOZWJU4 KDC8dSISj0FrUC8MmyVE81D9dmHef1+SB1JsR08cUr89QtpWojI3n5lTbLoUnImo Qh0L5wSbzdPywZ+yw6M4AcgsJj1Gw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddtledguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhof gjfffgkfhfvfesthhqmhdthhdtjeenucfhrhhomhepuegvnhcutfgrmhhsvgihuceosggv nhessggvnhhrrghmshgvhidrtghomheqnecukfhppeeliedriedurddujedtrdehtdenuc frrghrrghmpehmrghilhhfrhhomhepsggvnhessggvnhhrrghmshgvhidrtghomhenucev lhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [10.10.42.46] (h96-61-170-50.lvrgtn.dsl.dynamic.tds.net [96.61.170.50]) by mail.messagingengine.com (Postfix) with ESMTPA id A9131E4511; Sat, 16 Feb 2019 13:37:20 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (16C101) In-Reply-To: Date: Sat, 16 Feb 2019 12:37:19 -0600 Cc: Nikita Popov , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <226B512C-02A7-4555-9288-D7A2DA89F068@benramsey.com> To: Benjamin Eberlei Subject: Re: [PHP-DEV] [RFC] Consistent type errors for internal functions From: ben@benramsey.com (Ben Ramsey) > On Feb 16, 2019, at 12:28, Benjamin Eberlei wrote: >=20 > This exception is only for argument errors. Fopen would continue to warn += false when file doesnt exist, which is what @ is nostly used for (using fop= en as example) I=E2=80=99ve seen many cases where it=E2=80=99s understood that the function= might receive the wrong type, and the developer decides this is okay, so th= ey use the @-operator to ignore the warning and allow the script to continue= processing.=