Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79612 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91633 invoked from network); 12 Dec 2014 19:09:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2014 19:09:55 -0000 Authentication-Results: pb1.pair.com header.from=jwatzman@fb.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jwatzman@fb.com; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain fb.com does not designate 67.231.153.30 as permitted sender) X-PHP-List-Original-Sender: jwatzman@fb.com X-Host-Fingerprint: 67.231.153.30 mx0b-00082601.pphosted.com Linux 2.5 (sometimes 2.4) (4) Received: from [67.231.153.30] ([67.231.153.30:56330] helo=mx0b-00082601.pphosted.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/55-62606-28D3B845 for ; Fri, 12 Dec 2014 14:09:54 -0500 Received: from pps.filterd (m0004060 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id sBCJ5NYU007125 for ; Fri, 12 Dec 2014 11:09:52 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=o93sNo8K0zWJoAABlpf59U7Dz3gslzLmVo89gAa5MnI=; b=ZTebJGg4MnyYj7w1fhwgT6zeQTY5Yj1wLGN+NlVdv2O5wJcnjypKQWJZRjk3H1tnkzBZ xq2oafKue+gXMsgl+6AWF3ZSLgWbyPh9knqv0Q8sXDgtcjI0i4f8Y8ZXUf/64AREWOnP 4IVVtB9JLF+ZZlq5r33nKdnjR/W6OJoLdTo= Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-00082601.pphosted.com with ESMTP id 1r85wgg3ru-1 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 12 Dec 2014 11:09:51 -0800 Received: from m0004060 (m0004060 [127.0.0.1]) by pps.reinject (8.14.5/8.14.5) with SMTP id sBCJ7pKE010385 for ; Fri, 12 Dec 2014 11:09:51 -0800 Received: from mail.thefacebook.com ([199.201.64.23]) by mx0b-00082601.pphosted.com with ESMTP id 1r85wgg3rs-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 12 Dec 2014 11:09:51 -0800 Received: from PRN-MBX02-2.TheFacebook.com ([169.254.5.125]) by PRN-CHUB02.TheFacebook.com ([fe80::5de8:34:5a87:6990%12]) with mapi id 14.03.0195.001; Fri, 12 Dec 2014 11:09:49 -0800 To: Stanislav Malyshev CC: Robert Stoll , PHP internals Thread-Topic: [PHP-DEV] [RFC] Nullsafe calls Thread-Index: AQHQFATxvp9RjOsogUO8aMy5/EMi+5yJh4YAgAAo4YCAANSUAIACV4MA Date: Fri, 12 Dec 2014 19:09:48 +0000 Message-ID: <968B27C1-36DD-4B17-9A41-C7F1F5593B6C@fb.com> References: <95A581EE-A062-4926-BE44-BCA87FC9B356@fb.com> <000b01d01494$bb1c6520$31552f60$@tutteli.ch> <5489469A.2050100@gmail.com> In-Reply-To: <5489469A.2050100@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.16.4] Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2014-12-12_07:2014-12-12,2014-12-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 kscore.is_bulkscore=0 kscore.compositescore=0 circleOfTrustscore=71.128 compositescore=0.994849863700292 urlsuspect_oldscore=0.994849863700292 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=8891 rbsscore=0.994849863700292 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1412120174 X-FB-Internal: deliver Subject: Re: [PHP-DEV] [RFC] Nullsafe calls From: jwatzman@fb.com (Josh Watzman) On Dec 10, 2014, at 11:24 PM, Stanislav Malyshev wrot= e: >> the real-world code I've seen, it is the least confusing. (I'll see >=20 > Which real-world code you are talking about? Examples please. I'm having trouble digging any up -- FB's codebase has >10k occurrences of = this feature and I have yet to find a single one where the short circuit ma= tters or not -- so maybe my recollection and intuition here are just wrong.= I'll keep digging and thinking about this. Not convinced yet, but starting= to feel less strongly about it. Josh