Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9656 invoked from network); 16 Mar 2015 12:41:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 12:41:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.172 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.172 mail-yk0-f172.google.com Received: from [209.85.160.172] ([209.85.160.172:34458] helo=mail-yk0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/28-03331-26FC6055 for ; Mon, 16 Mar 2015 07:41:07 -0500 Received: by ykfc206 with SMTP id c206so10750110ykf.1 for ; Mon, 16 Mar 2015 05:41:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=JRkDYylEOz2RAqDVwbCrU70EvA4+XoBE96r6alzerP0=; b=fpub5izfHh5FWzEYrwsYdtMJNmSAP5T0gUCJHMFrv8C+OJVlzNz/XaVo1nBhv5UbDO mJwdJe/g3hdWpHQnSz794JgcMPHFQjzGua1ZwBgw4opWp1xxHZHBtpCksDXCXW6pPIb5 n+R2DNCSCkcUnRxZPEglQ4/hXsxRE49GmYnOOhD6un73EMcleZXkwzQCnt3Lh9g4+TJp 5zqhp9SP7OLLWIbRt/WvUClsx33blqDrSZfTQuZlnrz9eyjcGZ0lSe6vSPFt/8ZPLwzx FLWmA4V17kEYnZEkvXWUYO+b2lYV5hjJs5Cd9R94wyTuuE8JbN+B74jMHcD9Kh/6V/NX b0RA== X-Gm-Message-State: ALoCoQke7u/3h1+woimEAeviXYPeD+71Koa1QxPbkytZJ/8pC8afK6yaHUrdFvaCsDwAri8kY1A6 MIME-Version: 1.0 X-Received: by 10.170.153.8 with SMTP id u8mr69778404ykc.52.1426509663602; Mon, 16 Mar 2015 05:41:03 -0700 (PDT) Received: by 10.170.71.86 with HTTP; Mon, 16 Mar 2015 05:41:03 -0700 (PDT) X-Originating-IP: [78.147.4.32] In-Reply-To: References: Date: Mon, 16 Mar 2015 12:41:03 +0000 Message-ID: To: marcio3w@gmail.com Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV][RFC][VOTE] Strict Argument Count On Function Calls From: danack@basereality.com (Dan Ackroyd) On 15 March 2015 at 19:19, Marcio Almada wrote: > Hi >> It's also going to be impossible for people to try the patch out, or >> to measure it for performance hit. >> > > Performance has never been an issue with this RFC. You probably meant "bc > break" not "performance hit", and the suggested change about dynamic calls > Bob did, if accepted by, is a minor change that will actually reduce the BC > breaks not enlarge it. The patch has a pretty major bug in it. If the function is called dynamically first, and then called statically the warning is not given. i.e. the code below gives an error 50% of the time. This is why people need time to evaluate code, and why opening a vote straight after you've made a change to how the syntax works is really bad idea. This was built off your branch with commit 6ca9d912c9aa8361852e979c172e57b011b91c16 cheers Dan