Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88249 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14537 invoked from network); 16 Sep 2015 16:24:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2015 16:24:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:34664] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/B1-04557-DB799F55 for ; Wed, 16 Sep 2015 12:24:30 -0400 Received: by wicfx3 with SMTP id fx3so81120558wic.1 for ; Wed, 16 Sep 2015 09:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=0j0nEgeuSJr2q8RrVdTpDY/C12+fgEt+JhlyO+vvUNs=; b=D1RwmUDXIjq8MTL/b6yMqHmlWY4uzPTPkzmUb9BRCGIwhcFnH8TyAbM2xSEdZATvZG 4053HffwcoJw0cZ6wzfUOV1VL+P8gy4M8htsYrFstg5HfaMz9HTcxBBeNv46+M9XqdWp fUwwsYIwq5ip6zo+WQG3pRIErkZOYk1SVFOI48yPP+XeF7h5alzvFtQlwTeMh7TEly/u 4f0JZOfWYHeUI2AlT2k2SNEPwfS4Sa4rIvnXjv3dc+0qR/3EIGiArR2BU7yHtG6owXfX GKt1m9vPj4OU32/JWEf/G9He2xoyz/myFjB8WtgFYtgMeLnB9jibGm6TirfdWHSlnimM TuPw== X-Received: by 10.194.47.161 with SMTP id e1mr56974074wjn.1.1442420666332; Wed, 16 Sep 2015 09:24:26 -0700 (PDT) Received: from [192.168.0.127] ([62.189.198.114]) by smtp.googlemail.com with ESMTPSA id bi6sm27355486wjc.25.2015.09.16.09.24.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 09:24:25 -0700 (PDT) To: internals@lists.php.net References: <0BA3A129-D356-4781-B6DE-E2B5A7924AE2@craigfrancis.co.uk> <55E6EC36.6090301@gmail.com> <9AF329EC-99A5-412D-A52B-432627A5520F@gmail.com> <6F4D91EE-B56E-4B83-B1AF-598C3F6897FC@craigfrancis.co.uk> <55F07BA4.2000204@gmail.com> <55F6B911.9080400@gmail.com> <96BE7F01-D04B-483B-B1A3-B45CED6DFCDC@craigfrancis.co.uk> <55F6F08C.1020506@gmail.com> <0BEF6D82-CB5F-49F6-A3A4-3267924A0CDA@thesba.com> <55F78D90.7090601@php.net> <55F7CE3E.1040804@lsces.co.uk> <55F93E67.3000806@gmail.com> <55F945F7.8010402@lsces.co.uk> <55F94B25.8070603@gmail.com> <55F95439.5070306@php.net> <55F95F26.5080409@gmail.com> <55F963E7.2040800@php.net> <55F9668F.4010804@gmail.com> <55F96DF5.8030606@php.net> <55F96F02.2080601@gmail.com> <55F9889F.1060008@lsces.co.uk> <55F98D81.6010109@gmail.com> <55F98F5A.6040505@lsces.co.uk> Message-ID: <55F9978A.5020208@gmail.com> Date: Wed, 16 Sep 2015 17:23:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55F98F5A.6040505@lsces.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP 7.1 - Address PHPSadness #28? From: rowan.collins@gmail.com (Rowan Collins) Lester Caine wrote on 16/09/2015 16:48: > On 16/09/15 16:40, Rowan Collins wrote: >> If the extract() was being used to make the view code more readable in >> the first place, the exists() defeats rather than assists in that >> objective, in my opinion. > My own interface with it has been via templating, where the layout is > stored in a database and as elements are download any 'NULL' values > either get replaced by a default, or ignored. It's not the best of > coding practice, but it works ... OK... and how would you use the exists() function in this framework, if it existed? How would you want an uninitialised variable to behave, other than in the same way as a NULL value?