Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59547 invoked from network); 12 May 2016 11:40:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2016 11:40:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:36708] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/4C-28272-B9B64375 for ; Thu, 12 May 2016 07:40:12 -0400 Received: by mail-wm0-f45.google.com with SMTP id n129so255627338wmn.1 for ; Thu, 12 May 2016 04:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=mO9t8LoD+iC4uhbi5VswsUP7FB0R5vzkvp5Gdb32xUw=; b=AtYYLAtHVH2ANXONPL4W/656N30uS5xSn4ELH3O2JBJ/5WK6w7WN05hQy5Aw1332oM Dq/zqgoH6kXrBI5lkIcktHzCvqcQ+7tpcYY2Cv7EUoDHkxevLIKgTDgUUSq0Ni6/ALxp soHRB2rk1JTQcN1oBr9cHODysgymNr7c2S+hBrdf6UT2BdWtw8CqIbatNVFVHIY0FHSx DeQpfiEWyLdxj3Eb5q9UTXSEtbmpTNJG7oH/4Xqv/kc/9oB9VThsQd2SeomaYYfP8mHI 2DAR7qNHFErcbOsLsIfC1Vo8T4Xkf8HrI+isb23OrKX5fHAMln/kC4M7w2+pbdAAs6/q qvcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to; bh=mO9t8LoD+iC4uhbi5VswsUP7FB0R5vzkvp5Gdb32xUw=; b=PkX4szlvk7iWdMpLn/WD3SEgUIWguSKZH/da7xTQ9DucM2UYsNgt78GiB7cAMYGLqS /693lLiefOHySMg6EfBec5JTeY7AlHOpOYD3W+RsjLvNX1Ao2wxV5fyxmSEfyJGqIwFZ uX9X7p3JrBL7P9B6rhk8O6o+mtv4FC9wpdn+uz/v5o7mkaNcFYPOSjqcpqT7DjPeAita P+82jitmemlxyweKurSpgewhC5RsHBP7tdSGaiiqK0CQh/KgafLweA5uz4QSsJGZg6oY w+gE5IKtTK5dlgWskhDfEZxUn/3TJaLETI3y+CDZb/6d/MOTbRuJQbltsXcmlJVci+s7 +vvg== X-Gm-Message-State: AOPr4FV9BoBWFGg1iyM/Rb3EAHkAs2iyxa5j1ZNdVMyy4B7zc6aZIXJ+bCvG0FN0TlfUow== X-Received: by 10.28.143.82 with SMTP id r79mr5649324wmd.40.1463053209221; Thu, 12 May 2016 04:40:09 -0700 (PDT) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by smtp.googlemail.com with ESMTPSA id f188sm40915448wma.2.2016.05.12.04.40.07 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 May 2016 04:40:08 -0700 (PDT) Sender: Michael Wallner To: internals@lists.php.net References: <573232DB.8030209@lsces.co.uk> <573308EC.70502@lsces.co.uk> <57346ABE.1070509@lsces.co.uk> Message-ID: Date: Thu, 12 May 2016 13:39:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <57346ABE.1070509@lsces.co.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HWm9UoerDWKXGpCST1cV3tD5WTQAQEI7d" Subject: Re: [PHP-DEV] Re: [RFC][VOTE] Nullable Types From: mike@php.net (Michael Wallner) --HWm9UoerDWKXGpCST1cV3tD5WTQAQEI7d Content-Type: multipart/mixed; boundary="ARsRplVa0ljHcjvk91IDKwabgqbDqhKea" From: Michael Wallner To: internals@lists.php.net Message-ID: Subject: Re: [PHP-DEV] Re: [RFC][VOTE] Nullable Types References: <573232DB.8030209@lsces.co.uk> <573308EC.70502@lsces.co.uk> <57346ABE.1070509@lsces.co.uk> In-Reply-To: <57346ABE.1070509@lsces.co.uk> --ARsRplVa0ljHcjvk91IDKwabgqbDqhKea Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/05/16 13:36, Lester Caine wrote: > On 12/05/16 11:21, Davey Shafik wrote: >> E.g. the behavior of passing executing with a null value for the >> argument is something you should be consciously making a decision on, >> and passing in null explicitly. >=20 > I was actually getting the logic wrong... the problem with this proposa= l > is that I HAVE to add the '?' for many of my libraries to continue to > work simply because they do handle the null case. So what was a working= > system is broken by this change. >=20 So you already have function foo(Foo $foo =3D null)? No need to change anything. --=20 Regards, Mike --ARsRplVa0ljHcjvk91IDKwabgqbDqhKea-- --HWm9UoerDWKXGpCST1cV3tD5WTQAQEI7d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJXNGuXAAoJEEgOPhSwpMfHbG0H/AnxE4MndJARxEoLLBdFZSOM HwWFLH0qOwNtp376ZTzkJ3EZkB8rmI+YPvcrlwBVMQMoOYXSM7Ggyhllc9+JZbRF UBlyICF7uDI4da7R+Kq90nB5o14AEyKJS87iwYOzwtv+CaSAm842jrm/ZJfNKggF CrqJvR3bRtXzy5UpJkx5Y8Z26d9lK7SFbOBGE8rrV8Z3qxUNxX8qxV6+Za0cmbMA TCGNaw/p4fhu6eNGVsWgBFwJTH6lMGt1OR4cLkHY7mQJ2IiFsaM+VY7IABo2Rac4 47fE7QJdqvmysrHozyIxRb2Z5QdH8dqr2EThKaZdXEjFawiruVmV6hBuYLtYbUQ= =8XQv -----END PGP SIGNATURE----- --HWm9UoerDWKXGpCST1cV3tD5WTQAQEI7d--