Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88346 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94023 invoked from network); 18 Sep 2015 17:40:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2015 17:40:57 -0000 Authentication-Results: pb1.pair.com header.from=rewilliams@thesba.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rewilliams@thesba.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thesba.com designates 208.106.205.211 as permitted sender) X-PHP-List-Original-Sender: rewilliams@thesba.com X-Host-Fingerprint: 208.106.205.211 ntsexchedgea2.newtekemail.com Received: from [208.106.205.211] ([208.106.205.211:56007] helo=NTSEXCHEDGEA2.nts.phx1) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/A6-60254-7AC4CF55 for ; Fri, 18 Sep 2015 13:40:56 -0400 Received: from NTSMAILBOX2.NTS.PHX1 (208.106.205.233) by NTSEXCHEDGEA2.newtekemail.com (208.106.205.211) with Microsoft SMTP Server (TLS) id 8.3.348.2; Fri, 18 Sep 2015 10:40:08 -0700 Received: from NTSMAILBOX1.NTS.PHX1 (2002:d06a:cde8::d06a:cde8) by NTSMAILBOX2.NTS.PHX1 (2002:d06a:cde9::d06a:cde9) with Microsoft SMTP Server (TLS) id 15.0.847.32; Fri, 18 Sep 2015 10:40:51 -0700 Received: from NTSMAILBOX1.NTS.PHX1 ([fe80::51f0:160d:841f:d989]) by NTSMAILBOX1.NTS.PHX1 ([fe80::51f0:160d:841f:d989%13]) with mapi id 15.00.0847.030; Fri, 18 Sep 2015 10:40:51 -0700 To: internals Thread-Topic: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? Thread-Index: AQHQ36zP6Wb5e1HnokKnJlazAkejtZ4eJ62AgABxe4CAAAPLgIAAJlKAgAAUa4CAACGZAIAAGymAgAjS3QCAAJOjgIAA+D+AgAA5fACAB+afgIAB6WsAgAFo8ICAACyWAIAHac+AgAAGeYCAAD+qgIAAAnkAgABF9ACAAAG1gIAAJ92AgAAFuoCAADs0MIACm9OAgAAanQCAAA40AIAACBaAgAAVQgCAAAhnAIAABMqAgAFWP4CAABvFgIAACxIAgAAJnACAAAhQgIAAFb4AgACztICAAAZYgIAAKW2AgAAJGgCAAAQXAIAABqCAgAAE4YCAAAWsgIAAAZ2AgAAFPwCAAA5ngIAABIWAgAADqAA= Date: Fri, 18 Sep 2015 17:40:50 +0000 Message-ID: <7872E9F4-AE19-4681-B2EF-215751AE4CBE@thesba.com> References: <09369945-76FE-4E08-9C2C-15FB0577AD27@thesba.com> <55F752E7.9070801@gmail.com> <55F9B4C7.3050700@gmail.com> <440C64A2-4B4F-4AEF-ACE3-F3A6637EBAB6@thesba.com> <55F9D704.5050002@lsces.co.uk> <55F9EFA2.9020908@lsces.co.uk> <0022A1D9-DC37-4F49-B58E-FBED5AF872BA@gmail.com> <55F9FAB3.2050100@lsces.co.uk> <55FB19CB.7080707@gmail.com> <55FB3117.5040204@lsces.co.uk> <55FB3A60.1040601@gmail.com> <55FB4270.7000204@lsces.co.uk> <55FB4969.7080600@gmail.com> <55FB5BA6.6050606@lsces.co.uk> <55FBF265.5000502@gmail.com> <55FBF7B7.4050603@lsces.co.uk> <55FC1A77.7090406@gmail.com> <55FC221A.7020108@lsces.co.uk> <55FC2588.6030809@gmail.com> <55FC2B17.3070909@lsces.co.uk> <55FC2F2F.9060403@gmail.com> <55FC33F1.3090903@lsces.co.uk> <55FC354B.5070209@gmail.com> <55FC39B2.5070005@lsces.co.uk> <55FC45C7.9010202@gmail.com> <55FC4991.1050903@lsces.co.uk> In-Reply-To: <55FC4991.1050903@lsces.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [172.16.153.36] Content-Type: multipart/signed; boundary="Apple-Mail=_112E1321-7F2F-43D6-BD7A-4111AEAC6081"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: rewilliams@thesba.com (Robert Williams) --Apple-Mail=_112E1321-7F2F-43D6-BD7A-4111AEAC6081 Content-Type: multipart/alternative; boundary="Apple-Mail=_94FC5471-4E21-4E58-B95A-ED5DC614540B" --Apple-Mail=_94FC5471-4E21-4E58-B95A-ED5DC614540B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sep 18, 2015, at 10:27, Lester Caine wrote: >=20 > All I am saying is that 'exists()' is simply part of the toolkit that > goes WITH extract(). There is a suitable tool in arrays and in objects > so why not complete the toolkit in straight variables. The names are a > mess between the three for many reasons and producing a complete new = set > of function names has been another call, but there is a simple hole = here > in a style of coding which there seems little logical reason NOT to = fill. Exactly, there=E2=80=99s clearly a gap here. Further, enough people want = it that a few have shown up on this list, which means there are probably = many, many thousands, or even millions, of people out in the wild that = want it. I=E2=80=99m not familiar enough with PHP=E2=80=99s internals to = say for sure, but I suspect it=E2=80=99s not terribly hard to implement = (it=E2=80=99s just isset() without the extra null check). So=E2=80=A6 = why not? Like anything else in the language, people don=E2=80=99t have = to use it if they don=E2=80=99t want to, but it=E2=80=99s good to have = tools. Yes, even tools that can be abused. -Bob --Apple-Mail=_94FC5471-4E21-4E58-B95A-ED5DC614540B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On = Sep 18, 2015, at 10:27, Lester Caine <lester@lsces.co.uk> = wrote:

All I am saying is that = 'exists()' is simply part of the toolkit that
goes WITH extract(). There is a = suitable tool in arrays and in objects
so why not complete the toolkit = in straight variables. The names are a
mess between the three for many = reasons and producing a complete new set
of function names has been = another call, but there is a simple hole here
in a style of coding which there = seems little logical reason NOT to fill.

Exactly, there=E2=80=99s clearly a gap here. Further, enough = people want it that a few have shown up on this list, which means there = are probably many, many thousands, or even millions, of people out in = the wild that want it. I=E2=80=99m not familiar enough with PHP=E2=80=99s = internals to say for sure, but I suspect it=E2=80=99s not terribly hard = to implement (it=E2=80=99s just isset() without the extra null check). = So=E2=80=A6 why not? Like anything else in the language, people don=E2=80=99= t have to use it if they don=E2=80=99t want to, but it=E2=80=99s good to = have tools. Yes, even tools that can be abused.

-Bob
= --Apple-Mail=_94FC5471-4E21-4E58-B95A-ED5DC614540B-- --Apple-Mail=_112E1321-7F2F-43D6-BD7A-4111AEAC6081 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV/EyiAAoJEFBTSdRZ0ub32DoP/3newDAwy/+0hQh9BTlyzREa r4600FvMIyqkUVRLirWF1ZKcsZPjDmc8R7ZZ4UNFw1vxco7uYbbGCxovXDDbCC/4 DJ4FQu9wxM7nxhCvzH0x3s9mWFzLmbRnqEDODqTidhKJijlzuTD8PuMG7h9iruQU vQbzrZY5CUtDgIB6kBqVbdLL6FqNJVrrZfUGbPBnsYxkUYjroZ/wLN49MHCp2tJ1 +Axd5VKWpLfqYjfqPY/7Qqtg2Q1w267Cg9l2SfL+07KXBvjH/p64UAyxR8wPLHjN waaMGL/i+FoVTdmAQvTLX0AIJ96PaAS6JOc2S2kUoIafVTjTF4ZLPeXy5GM9osmO Jgc+T1u97uMX1BR520J7x5MLz+JzQcFBvg9yn7npQFrNXm+iUaECHX19PqM1zxRk KGLkc0GxJAsBJiOgi2UdWjBociLXXxmF6PoYUY8CAOIhzXn2et5jOx+IJfpYpaLd 2VV1rEm0v/fV61FebFo0JEUrBoRSdX4ahoMzUVEhJwhiSWF9oW+UhDemJFEKyEtq aDlCz57Wn3cmyYhyqZqiUp5fF1JnwwK8M+lJr0NJYaGp3MZUUCc0sgON9qKUQ1vJ GGbqJlVC0D2rLCkd3vjSZx4bbwas//80CX1UddKH8722PN5/kKsDasDckJ50aszW gVNHeReI9AYxrbZmAou4 =ozGy -----END PGP SIGNATURE----- --Apple-Mail=_112E1321-7F2F-43D6-BD7A-4111AEAC6081--