Re: [Discussion] Deprecate function sizeof()
| From: | Pierre Joye | Date: | Tue, 10 Mar 2015 02:59:02 +0000 |
| Subject: | Re: [Discussion] Deprecate function sizeof() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84495@lists.php.net to get a copy of this message | ||
On Tue, Mar 10, 2015 at 1:48 PM, Xinchen Hui <laruence@php.net> wrote:
> Hey:
>
> On Tue, Mar 10, 2015 at 10:07 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>> Hi Reeze,
>>
>> On Mon, Mar 9, 2015 at 12:56 PM, reeze <reeze@php.net> 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.
--
Pierre
@pierrejoye | http://www.libgd.org