Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24554 invoked from network); 1 Jun 2016 23:23:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2016 23:23:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.172 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.172 mail-pf0-f172.google.com Received: from [209.85.192.172] ([209.85.192.172:34243] helo=mail-pf0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EB/7A-63812-36E6F475 for ; Wed, 01 Jun 2016 19:23:15 -0400 Received: by mail-pf0-f172.google.com with SMTP id 62so23360053pfd.1 for ; Wed, 01 Jun 2016 16:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=heMGZK63k5xfBXml6Qa/OsNW8v2BiXffwBJ23KvGXm0=; b=z2TRwW7+EufysBo6FToYBZd82bHj8kqcLaV92F1BiqXr4mL70dKkH4HLla2zHXrYLQ SnPzoU6IoiudUQXX4ozKjWeTZHbX+9lMI8O99mf0QSi+fYC4Cc1P13XPbAJfKUq1HjyD sWfeGMMkN4p9mNr6MnYFpS83FX7fqx1xfaIAXVS4FZjHKaVrCGL0Oh2tjs2smTlW1hte CMDSo8t2YKoVmIikXjifoJuhLMP9MoWxitnjnf77mK5Xr5rlmUa+lJbcVxnqitJi1P50 eLeeJEfZZ4H/ynhaHqt/xtyh8DDl70AgLTLKfbogD/X//9K1bQ2fl5pq6SPANkPiQQSW DeYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=heMGZK63k5xfBXml6Qa/OsNW8v2BiXffwBJ23KvGXm0=; b=P0RoPR2T+AsjN3oQENfgl6834aHuAQyyB1KBrRkPRbp4Jh8XYkBuBytFPtfg33nDP3 kAQaUcqDIXlvPKfDCeoUHKaY63hclVo06jfw7pKvGI+DoRcBDuafRVsFzGV79y2qrMsY t/8Zbtw1GA8cUPgsvAIRrjJUQ69bRkxhHHkUimFhNOT8oBy3m8HK93btkctkOMCh6TOR hjGtnJ1wymB+3z3XVz93mdAxnqNrQz1sKj6VAHdpMWSHUThwiix2r+V8eHIKpXpDNJJ3 aNlYZVUwkDr0pi+uMGC+etRejA7XECCq8gPvRyDsQCD/IhrhsTjJ59W2k+Pk1QxF6rRt 8bvw== X-Gm-Message-State: ALyK8tKk1hDqaM5SzHcQbwgMW1pln33KjvEqfAc1dQblFsuVl+FPTqHpSlykcNQs/mqWpw== X-Received: by 10.98.72.27 with SMTP id v27mr13401339pfa.143.1464823392553; Wed, 01 Jun 2016 16:23:12 -0700 (PDT) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id l129sm50599831pfc.5.2016.06.01.16.23.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2016 16:23:11 -0700 (PDT) To: Dmitry Stogov , PHP internals References: Cc: Nikita Popov Message-ID: Date: Wed, 1 Jun 2016 16:23:07 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Replace "Missing argument" warning with "Too few arguments" exception From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Please take a look into the proposal. > > > https://wiki.php.net/rfc/too_few_args > > > The RFC is extremely simple (both proposal and implementation) and almost completely described by the email subject. Looks fine to me. I don't think having undef function parameters is a very valuable feature that is widely used. -- Stas Malyshev smalyshev@gmail.com