Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75261 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13494 invoked from network); 5 Jul 2014 08:12:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2014 08:12:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.199 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.199 imap11-2.ox.privateemail.com Received: from [192.64.116.199] ([192.64.116.199:47892] helo=imap11-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/91-33346-763B7B35 for ; Sat, 05 Jul 2014 04:12:24 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 9BDA08800CB; Sat, 5 Jul 2014 04:12:20 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CyfjqgYklDlI; Sat, 5 Jul 2014 04:12:20 -0400 (EDT) Received: from app2.ox.registrar-servers.com (app2.ox.registrar-servers.com [198.187.29.232]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 137F18800E8; Sat, 5 Jul 2014 04:12:20 -0400 (EDT) Date: Sat, 5 Jul 2014 09:12:20 +0100 (BST) Reply-To: Andrea Faulds To: tjerk.meesters@gmail.com, pierre.php@gmail.com, internals@lists.php.net Message-ID: <1138756128.315607.1404547940067.open-xchange@app2.ox.registrar-servers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.4.2-Rev25 Subject: Re: [PHP-DEV] not_null function From: ajf@ajf.me (Andrea Faulds) > On July 5, 2014 at 9:05 AM Pierre Joye wrote: > > > On Jul 5, 2014 9:43 AM, "Tjerk Meesters" > wrote: > > > > > Obviously spoke to soon ... what I've written there is basically an ugly > > `!isset($var)`. > > > > Totally fail to see what is ugly with is set or the difference with > exists(). The latter, in the context of php (even more with phpng) makes > little sense. > > Besides that, I am not sure what is the goal of this thread. Adding aliases > to copy cat ? Can we please stop this ridiculous bikeshedding? It is incredible this thread has gone on for so long. PHP has idiosyncracies, but frankly, the is_null function is hardly the worst of them and I see nothing useful resulting from this discussion. -- Andrea Faulds http://ajf.me/