Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15056 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88282 invoked by uid 1010); 17 Feb 2005 19:59:41 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88235 invoked by uid 1007); 17 Feb 2005 19:59:40 -0000 Message-ID: <20050217195940.88226.qmail@lists.php.net> To: internals@lists.php.net References: <59089102.20050217201853@marcus-boerger.de> Date: Thu, 17 Feb 2005 20:59:35 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Posted-By: 212.238.144.71 Subject: Re: Before March 1st aka PHP 5.1 beta From: r.korving@xit.nl ("Ron Korving") > 4) php 5.1 is aiming to increase performance and security => ifsetor > > It is nice and easy and fast...only it's name. Well guys come on that's > the stupiest reason to reject. The name is selfspeaking, you're all only > not so used to its name as you are with foreach for now. I really love this idea a lot, but I hope there will be an ifemptyor() as well.. Maybe these names could be considered: "setor" and "emptyor" setor($foo, "bar"); emptyor($foo, "bar"); or if they won't be call by reference: $foo = setor($foo, "bar"); $foo = emptyor($foo, "bar"); I really like this idea, and I don't know if it will be by-reference, but if they would, then I think it would be nice to have them return a boolean which is False if the alternative was used and True otherwise. Just my 0.02 euro. Ron