Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96906 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90677 invoked from network); 16 Nov 2016 06:17:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2016 06:17:47 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.178 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.161.178 mail-yw0-f178.google.com Received: from [209.85.161.178] ([209.85.161.178:34894] helo=mail-yw0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/89-05303-A0AFB285 for ; Wed, 16 Nov 2016 01:17:47 -0500 Received: by mail-yw0-f178.google.com with SMTP id i145so118597280ywg.2 for ; Tue, 15 Nov 2016 22:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=GPVh9P+4UH3f27pmsucEG8a5oqFuR2OF5pKAO2kHzhM=; b=H7HTZWpgxXutZqWmXYiPKm4gICeB7E1rnIEdG+Ji68rn7sIQOHlx7A5kLTHksyNiQM 7pORKKNAObco2X+ML3cKqdDLrqncpwAwW/ivKzZjgFVMyJ+T/ClHA1HtAknLmJ5TQlgT uLNHXBoiw9ehl6iDkO/fQux/8x0sFLOWrEAbwecFIcx3kZTbjetrbI7TD707H1OjhE3D oUFlI/8C9+5f5Ui9+f1wXwSsnA2j6RTYr43q4iRZKEbwrt3Oo4qLm1fNiNlNyG9agfOq AE5OtgQ2+Qb/HxMZADEroQvCyRZgT6pMZ2ystYKQoVqZBmtPjJVdlnZK4yD/9MaBaS7y 6fwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GPVh9P+4UH3f27pmsucEG8a5oqFuR2OF5pKAO2kHzhM=; b=OqhSgtOGk8CoE5pPjlN0p9sRl2WM/pOi4NTuQ5VKAp/L2EVHh7O6IdSQ7vOnmd27q+ 3e9J8gmYO2nsPIH6dA80QKfT/SURpk9ZSlKBF+rDyHmT7Y2kcXQtk/o5gWfDeGmMlXSN 0J7xkd8XFwl9xR3CgZenmvVl/b1jZ/Inv25Jv7Che5FkiZ4161oCFhq7ZfsIPZCps/Uj Od43/+1z0Ogim/Bb5mHNQe7Z7MP8bdNWwvq5m168DGU/lBXCE6GSpR9wPQPnbTKR9kk7 25Q2Q6nay8VZafkbLJXqwYLtd/8oZ/XjeTw3czbHpbIsUO/9Gv8Umi0I2zudGYZtmqdT vqoQ== X-Gm-Message-State: ABUngvfzjqvPhxoxn9BxPhFFfXUjtovciLl5T0StpJwb79H81zfoh+AgBGOPH7QsB2Q1IQ== X-Received: by 10.13.218.131 with SMTP id c125mr983897ywe.341.1479277063916; Tue, 15 Nov 2016 22:17:43 -0800 (PST) Received: from Stas-Air.lan (108-233-206-104.lightspeed.sntcca.sbcglobal.net. [108.233.206.104]) by smtp.gmail.com with ESMTPSA id p1sm11476116ywh.52.2016.11.15.22.17.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Nov 2016 22:17:43 -0800 (PST) To: Antony D'Andrea References: Cc: "internals@lists.php.net" Message-ID: <0a4e6cf1-e98c-4a0e-803d-9caef1173433@gmail.com> Date: Tue, 15 Nov 2016 22:17:42 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Proposed RFC (about ?! operator) From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > It has not taken long to find situations where this idea starts to > fall apart. For example, in the case of strpos, I would hope for the > return value, but in other cases I would want the the original input > if the output is not false. A side note - when discussing an idea, it would be great to use a descriptive subject next time. E.g.: "RFC idea - new ?! operator". It is not uncommon that several RFC are discussed at the same time, much easier when each one has a descriptive subject. Also, emails are archived and somebody interested in the same idea in the future may try to find this discussion a year or two from now, and the descriptive subject would help a lot. Thanks, -- Stas Malyshev smalyshev@gmail.com