Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4914 invoked from network); 1 Apr 2015 23:21:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Apr 2015 23:21:49 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.181 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.181 mail-pd0-f181.google.com Received: from [209.85.192.181] ([209.85.192.181:33051] helo=mail-pd0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/FF-21906-A8D7C155 for ; Wed, 01 Apr 2015 18:21:47 -0500 Received: by pdrw1 with SMTP id w1so61573116pdr.0 for ; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=sikz/GlTgF1AXLlhZAGNV83svxIqU6djKwGc1zIWuTQ=; b=wPZ0aBITHqwJAP+B2V9vObEUiibwYcfnLNhE1/+G9VXThGEPHXJxRcbeThMhCvLKVf R4vT13wa6uduQNg7cLzNTtyGVm5gG7JVbYtjf7W4upPNX0172BEazA5M7yuiho54AXIH qEjAJWy2aIv+wErrnypsw6oXkwOp7GMhCKFR1HjaUnDapjmX9FvOKC7tt5r4O0yA8/qI pg23idrD+YPMkGoVL3x1NS6F7omy5tPy6l6NvvVAppYMM02iqcmyHZFP9Gv99ASfvTxR wweu1+OaFvxpBde5IHSA8Ji0o3aolaeAH5cQ/pf23hbf7ZrPCiyEypdi8Dg4fGnSCS5o H1Cw== X-Received: by 10.68.176.3 with SMTP id ce3mr81416840pbc.122.1427930504156; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id mt11sm3190137pbc.20.2015.04.01.16.21.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 16:21:43 -0700 (PDT) Message-ID: <551C7D86.6040608@gmail.com> Date: Wed, 01 Apr 2015 16:21:42 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Christoph Becker , Dennis Birkholz , internals@lists.php.net References: <551BC7CF.3080309@birkholz.biz> <551C44C7.6060108@gmail.com> <551C48AC.3090908@birkholz.biz> <551C4A60.2050805@gmail.com> <551C5045.3010405@birkholz.biz> <551C56E2.8090100@gmail.com> <551C5AFB.7090107@birkholz.biz> <551C6296.40101@gmail.com> <551C7B32.70200@gmx.de> In-Reply-To: <551C7B32.70200@gmx.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What's our official stance on small self-containedadditions in a micro version From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Hmm, would you consider introducing a new function in the *global* > namespace to be a self-contained feature? I would not, because the Depends on the function. It it's properly prefixed and does not rely or disrupt anything else then yes. Otherwise, no. > function definition would change the global environment, possibly > breaking some code. You can always invent some code that depends on exact state of the universe in the moment (https://xkcd.com/1172/) but let's be reasonable - if somebody stuck their function into intl_* or mysql_* namespace whatever happens next is on them. -- Stas Malyshev smalyshev@gmail.com