Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50962 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55767 invoked from network); 9 Dec 2010 16:58:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2010 16:58:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.45 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.214.45 mail-bw0-f45.google.com Received: from [209.85.214.45] ([209.85.214.45:42484] helo=mail-bw0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/24-32270-3BA010D4 for ; Thu, 09 Dec 2010 11:58:28 -0500 Received: by bwz16 with SMTP id 16so3036374bwz.32 for ; Thu, 09 Dec 2010 08:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+nm/GFh/ZDVHzt0ZQK2g3bYLE6OmsGcmhv92xvG4D3o=; b=pvr4PFBUfvykyVr1BD7y//oTMzxKSxn6TW/9VJiM8LJSVfaT+0XIIg5AAesEgcmTwV mxmi70XKtXulb9XqIJgU5VpJ+XcMXSVYwl9V8EuoFc/0Nn/u2F/ul9fJrt4JVV/HvKKP nqTg157L7hiD2lDnZOufCLU3bdqn0WKOZ+QzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bnV6GWHkQvEoto8MPyNBURzKyfPbQvXvH1mzxIETJbmspxEpiCV4eCdQc+y8+hdOXj rvFsPaZSLK4SpBogUQqcsPi76MDCQh7HFn/DpDsSnzag/Dt2KqZO61ObSENzI//TYqX5 dBeS992dS1cEGjq76l2uxYNaTc20vnS5cVZ/8= MIME-Version: 1.0 Received: by 10.204.54.65 with SMTP id p1mr3593226bkg.10.1291913903734; Thu, 09 Dec 2010 08:58:23 -0800 (PST) Received: by 10.204.52.129 with HTTP; Thu, 9 Dec 2010 08:58:23 -0800 (PST) In-Reply-To: <4D010A16.7040805@hristov.com> References: <4D00ABFE.5070403@hristov.com> <4D00CF96.3070701@hristov.com> <4D010093.8090604@thelounge.net> <4D010193.9030603@hristov.com> <4D010669.8020209@thelounge.net> <20101209165222.GA6075@phcomp.co.uk> <4D010A16.7040805@hristov.com> Date: Thu, 9 Dec 2010 17:58:23 +0100 Message-ID: To: Andrey Hristov Cc: PHP Internals List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Deprecating "global" + $GLOBALS, making $_REQUEST, $_GET, $_POST read-only From: pierre.php@gmail.com (Pierre Joye) On Thu, Dec 9, 2010 at 5:55 PM, Andrey Hristov wrote: > If all your functions take 15 params I am worried that your program design > is flawed, sorry. That's not an argument to do it. PHP and all other languages have many ways to shoot yourself in the knees, but that's a reason why we should remove everything remotely related to the trigger. Also there are alternatives proposed as well, I would suggest to investigate them instead of insisting on the initial idea. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org