Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82613 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16940 invoked from network); 13 Feb 2015 14:09:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 14:09:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=sbj.ml.read@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sbj.ml.read@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.181 as permitted sender) X-PHP-List-Original-Sender: sbj.ml.read@gmail.com X-Host-Fingerprint: 209.85.213.181 mail-ig0-f181.google.com Received: from [209.85.213.181] ([209.85.213.181:65389] helo=mail-ig0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0B/2A-62214-F850ED45 for ; Fri, 13 Feb 2015 09:09:20 -0500 Received: by mail-ig0-f181.google.com with SMTP id hn18so10744303igb.2 for ; Fri, 13 Feb 2015 06:09:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C3gJLBSR2FLygiAmi2+5Ffm5BwyaYwUAnPNKXRs/TTg=; b=xp7wN6vm5uHGRIrlw7+2NYXcPXcVb7GMyVVvs3dlQ8eIgGwAFGVcyO/DY0ctiFeiXB g4n+Q1Jx7VN4RWRAY7bmYSrrWfMRs24R4QXXYXTzUnpaFuNITt54wJ51VAQrx8Ef/ekK o38KOvyJi6LoaGhSedfwAaBdQujW0ib1bEZw+Ja00PPXDPMH9OOPcjVxKlGU1sOY0KzI /X2bIHlWMUUiTABNxXKnRWoXXIlb6XsjpnmYR7ElkYr29hkBtjwxhxrRea6RY0dd1Hrz xMn1M82EOh5tT9IQA5MGt2XYNBhzx/dZTydrfh1OjyM5/+xQnGBPeakWu9filMP1DKAh HeYA== MIME-Version: 1.0 X-Received: by 10.107.17.89 with SMTP id z86mr12159371ioi.52.1423836556834; Fri, 13 Feb 2015 06:09:16 -0800 (PST) Received: by 10.107.29.205 with HTTP; Fri, 13 Feb 2015 06:09:16 -0800 (PST) In-Reply-To: References: <54DDA797.4030501@php.net> <1E15BAAB-C8FC-49A9-B73F-E0E7DEFA208D@ajf.me> <54DDEAB6.1050107@php.net> <008301d0478b$c060a5d0$4121f170$@tekwire.net> Date: Fri, 13 Feb 2015 15:09:16 +0100 Message-ID: To: Thomas Punt Cc: "francois@tekwire.net" , Michael Wallner , Andrea Faulds , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [DISCUSSION] Make empty() a Variadic From: sbj.ml.read@gmail.com ("Sebastian B.-Hagensen") Hi, 2015-02-13 14:45 GMT+01:00 Thomas Punt : > Hi Francois, > >> From: francois@tekwire.net> >> May I suggest to extend your proposal to is_null() with the same logic ? > If we were to do the same with is_null(), then would it not be best to do it with all the is_*() functions? I would be more than happy to cater for those functions as well, though their usages seem a lot less common. What does everyone else think? While I don't know how common such a usage is I'm certain that there is a use case for it. However, just modifying a subset of the is_* functions sounds like a bad idea. If such a change is applied it should be done to all type related is_* functions and be similar to issets behavior (return false if at least one argument is not of the given type). Thanks,