Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100935 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13528 invoked from network); 24 Oct 2017 16:14:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2017 16:14:46 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.173 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.173 mail-qk0-f173.google.com Received: from [209.85.220.173] ([209.85.220.173:46597] helo=mail-qk0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 63/F4-58908-5F66FE95 for ; Tue, 24 Oct 2017 12:14:45 -0400 Received: by mail-qk0-f173.google.com with SMTP id k123so26949871qke.3 for ; Tue, 24 Oct 2017 09:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FJff3XRvnG+rTGAwiyDH4+5BZZJQLcgcHKrfJ1Ucyg4=; b=Ny5J7xl30bjSZcGvLVQy+wz44afbxID1ceLVBI4FcUx/ZfsoFaWByfDQ+jSHwPv2+W t4f8w6ynZ8mrSXwfwWodS92gajnYhsLNbmK+dZZsG3m3uB9/7smxpF07cOYe07z6+P+f 5HVoDe8moqNnZykcWynO6sH+v83lpvzZRwjc4q7QQ5MrwAQpeZ0WrY4Ax22AklphsPYh PV6OUYCSYsrqNcF5loeN6In0NMU2tRi1btXi2xwWczyNLsdrl91VNaZySALtEk4QYuFk s1AZLdQ1tmWmbBUjcnHNnrOV5PwBvdoqe5nboPlQl/1JXGDG4Od9vlklyqIBuOyFg4fn rFUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FJff3XRvnG+rTGAwiyDH4+5BZZJQLcgcHKrfJ1Ucyg4=; b=C4IYFDygEH79rXTsGLjaf+Hj5TVMQbn0MOAJRvdrkH6NaX+LfJAYcsenOtS56KRtaj VWmilEbcqCeKRe6VJTLXDRdcd0hRgY1oiqomO+XBtgtMHFYkkqTq3o7Q+pNkbXw4eDYe zTyBn9kZ42KLeVukCbfHzPzv5CIEL/xbwKhTJ2VU3syaJ6rO5dXBY4wN/s5XjwCx3Wu9 XHfg3aQBuMCtdql9KVrgmUC7m8Y9VtyVfHmiZdMQyeMu2gOjUFAl5tM6J76ZQRBQBa2K 4DlAT01Fr+I8kDVdS88f1U5V7p075Sf+WdHCmuV68Zfu994kA/Nm17H7G26KddMfB11V LEwA== X-Gm-Message-State: AMCzsaULhj9CgIiMmQSb/KEIrM/bQbDi9abaaclJhu5eSV+z18fgJI+k LK0+hxJbpfBqYbeHrAzgvaiW4Uaqar+pBJSPD8dugg== X-Google-Smtp-Source: ABhQp+Q7xmBJoXzQiYmfqvi7hLnqDOCBtHT8Fcpn4KyMILdrW31JH4fFdT1OMWBp3bET0L/Cz0Reo1HaNyQ8wH/TAyU= X-Received: by 10.55.154.84 with SMTP id c81mr22784393qke.43.1508861682977; Tue, 24 Oct 2017 09:14:42 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.156.1 with HTTP; Tue, 24 Oct 2017 09:14:42 -0700 (PDT) X-Originating-IP: [206.252.215.26] In-Reply-To: References: Date: Tue, 24 Oct 2017 12:14:42 -0400 X-Google-Sender-Auth: xc2OJat3Q9RI6iH5kDnFmKibJWY Message-ID: To: Peter Cowburn Cc: Sammy Kaye Powers , PHP Internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [Discussion] Allow a trailing comma in function calls From: pollita@php.net (Sara Golemon) On Tue, Oct 24, 2017 at 11:37 AM, Peter Cowburn wrote: > I know it's late in the game, but I have a quick question. This RFC > includes a couple of "Not really a function" functions (namely isset() and > unset()) that will also be able to have a trailing comma, but I'm failing > to find the discussion on including "not really a function" calls in this > RFC. Why were those specific non-functions choices included? Why only those? > I'd guess because those are the only constructs which appear function-like *and* exhibit variadic behavior. empty/die/exit/print/require/include/require_once/include_once/__HALT_COMPILER don't have a variadic mode so allowing trailing commas in them would be pointless. -Sara