Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75225 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31414 invoked from network); 3 Jul 2014 11:57:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2014 11:57:27 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:55262] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/62-47713-52545B35 for ; Thu, 03 Jul 2014 07:57:26 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 62D6A413C3; Thu, 3 Jul 2014 13:57:28 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.31] (ppp-93-104-2-242.dynamic.mnet-online.de [93.104.2.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 43E13413C1; Thu, 3 Jul 2014 13:57:25 +0200 (CEST) To: Xen Cc: Pierre Joye , PHP internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 03 Jul 2014 13:56:38 +0200 Message-ID: <1404388599.12695.120.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] not_null function From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2014-07-03 at 13:47 +0200, Xen wrote: > > is_null is consistent with the other is_* functions. A programming > > language is not a natural language so grammatical or semantic > > imperfections are totally valid. > > That is just your unfounded opinion. null in PHP is a type as well as the only value for a variable of that type. The is_* functions check for a type. As such it is consistent. We won't add your special purpose function. You can add it to your library if you need it. There were alternatives presented now let's end this thread so we can spend the time on things we will actually do. Thanks for understanding. (I strongly suggest anybody to continue off-list if they see need to continue this, we're spaming too many mailboxes otherwise) johannes