Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84494 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52470 invoked from network); 10 Mar 2015 02:48:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Mar 2015 02:48:39 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:42677] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/10-51288-48B5EF45 for ; Mon, 09 Mar 2015 21:48:38 -0500 Received: by lbjb6 with SMTP id b6so40060389lbj.9 for ; Mon, 09 Mar 2015 19:48:34 -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:from:date :message-id:subject:to:cc:content-type; bh=/0gDzpJjcuNZsgEi2pEk3wvvUg9GDS46juBA0Y/1gSo=; b=LIqefKwr1zP2IeifseTXskXQHYsPMusAHGaIix/nHccjVDHakct4WF8xcGDg/v33m7 bmpq6eARoVEHhwDhOUB1h+upLI7qMaV1YbtIrfz5LlHXU2FasTy2eqBZwOvoqyG2rg1n tLhjajXqNTr2TVpPpqsg/QcxE9Tgqc8g/yHlZY0R0GP/Zff4Iij72XwSBIOqp0RBNIsA mM4Zh3kfcezuJpXVtr57pWYKSwpmBF/JtD969u4kEf6sHdTjXleOPBNuFkNt5YlOjsTj Fdo61b7GMGmADoWbzKKaejlzjMByRdxFOTvymr9p4opoQIrycDAppxbi8j2ZDsTfU377 50FA== X-Gm-Message-State: ALoCoQm/8YeR98vJ7zpjkES0ig1PJdrlq/xjI0cHZ6yflikRMJH+I6CrZnuONJxvZ0aWOG4OPNpIsIyjgUOTn6tV0Roj9lYutckGkPpn8fwv0veOnLVeeoEjvmjQhl9DEFRSOdEScedRxsXSU8jGdefU2uv15aqaNw== X-Received: by 10.112.12.134 with SMTP id y6mr28977489lbb.34.1425955714272; Mon, 09 Mar 2015 19:48:34 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPSA id rg11sm3542287lbc.44.2015.03.09.19.48.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Mar 2015 19:48:33 -0700 (PDT) Received: by lams18 with SMTP id s18so14640403lam.2 for ; Mon, 09 Mar 2015 19:48:32 -0700 (PDT) X-Received: by 10.112.123.99 with SMTP id lz3mr14602662lbb.48.1425955712131; Mon, 09 Mar 2015 19:48:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.82.99 with HTTP; Mon, 9 Mar 2015 19:48:11 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Mar 2015 10:48:11 +0800 Message-ID: To: Yasuo Ohgaki Cc: reeze , Kalle Sommer Nielsen , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [Discussion] Deprecate function sizeof() From: laruence@php.net (Xinchen Hui) 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... then you want to brings new :< anyway, I'd prefer don't do it. especially with little gain. thanks > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net -- Xinchen Hui @Laruence http://www.laruence.com/