Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84498 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68377 invoked from network); 10 Mar 2015 06:54:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Mar 2015 06:54:58 -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 Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.180 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.180 mail-lb0-f180.google.com Received: from [209.85.217.180] ([209.85.217.180:41242] helo=mail-lb0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/40-65169-1459EF45 for ; Tue, 10 Mar 2015 01:54:58 -0500 Received: by lbvp9 with SMTP id p9so53175277lbv.8 for ; Mon, 09 Mar 2015 23:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=78UiI1wM6TsrE7y3vwWM80kd3BrGtW/osDEGn9wFOWo=; b=csgVp/88SErxUhK3U9pPaEZBKtt3j3F1HEE3/VMJX5zrLhp3Z1qJM4YbfRAGIANZJw GLjyfKuLqfYfD2sR9gvYUCSX4378JTzeCw1daQSozp6dsCWqxe0Z6kmvZHNmZbZOeS66 m3Rp8JhO0PydpR5bXDkKRwAnujmLztES+u3lsKhQ2Kvg9xRoiUXFji8q8bmaQmGOc8yS xeBY/XGRc0wCQsBzfC94e+PofGZnXffIEUY68ck1MSLHdKQYghaNKA1Eg935PO0Le3Um ePcW3U/ubz0bwtIEAtvS0ENm3OaWvuhSYw1Fr18DwcL+wm2IgletiPwl7la1F7TwNvlK kuww== MIME-Version: 1.0 X-Received: by 10.112.140.74 with SMTP id re10mr29513700lbb.80.1425970493940; Mon, 09 Mar 2015 23:54:53 -0700 (PDT) Received: by 10.112.181.41 with HTTP; Mon, 9 Mar 2015 23:54:52 -0700 (PDT) Received: by 10.112.181.41 with HTTP; Mon, 9 Mar 2015 23:54:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Mar 2015 17:54:52 +1100 Message-ID: To: Yasuo Ohgaki Cc: PHP internals , Kalle Sommer Nielsen , Xinchen Hui , reeze Content-Type: multipart/alternative; boundary=001a11c341e0c06b700510e9a077 Subject: Re: [PHP-DEV] [Discussion] Deprecate function sizeof() From: pierre.php@gmail.com (Pierre Joye) --001a11c341e0c06b700510e9a077 Content-Type: text/plain; charset=UTF-8 On Mar 10, 2015 2:41 PM, "Yasuo Ohgaki" wrote: > > Hi Pierre and all, > > On Tue, Mar 10, 2015 at 11:59 AM, Pierre Joye wrote: >> >> On Tue, Mar 10, 2015 at 1:48 PM, Xinchen Hui wrote: >> > Hey: >> > >> > On Tue, Mar 10, 2015 at 10:07 AM, Yasuo Ohgaki wrote: >> >> Hi Reeze, >> >> >> >> On Mon, Mar 9, 2015 at 12:56 PM, reeze wrote: >> >> >> >>> It is a deprecated warning I won't break code I think. >> >>> >> >>> This could makes those project more maintainable (new PHP programmer could >> >>> be easier to maintain the code without surprise), and it will be trivial to >> >>> fix this. We could move things forward ;-) >> >>> >> >> >> >> It's possible option for confusing APIs. >> >> If sizeof() is kept at least until PHP8 or PHP9, I'll vote yes for this. >> > We just removed all DEPRECATED functions... >> >> we did not remove functions as far as I can tell. Some extension at best. >> >> > then you want to brings new :< >> > >> > anyway, I'd prefer don't do it. especially with little gain. >> >> Agreed >> >> And generally speaking, we should really think again about this flag, >> it has been proven to be a mess at best, or useless at worst. > > > There are 2 camps, people who would like to keep procedural API as it is > and people who would like to improve/maintain procedural API while there > are no separated camps having improved/maintained OO API. > > It may be time to discuss how we are going to use namespace for internal > functions/classes/interfaces to move forward both procedural and OO APIs > so that we'll have zero BC API upgrade. I do not think it has anything to do with OO or procedural but the actual gains. I see none here. > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > --001a11c341e0c06b700510e9a077--