Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103676 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24357 invoked from network); 3 Jan 2019 18:55:34 -0000 Received: from unknown (HELO mail-lj1-f174.google.com) (209.85.208.174) by pb1.pair.com with SMTP; 3 Jan 2019 18:55:34 -0000 Received: by mail-lj1-f174.google.com with SMTP id x85-v6so30022251ljb.2 for ; Thu, 03 Jan 2019 07:28:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=B7cLHZ3hNtav/zxMgzZ29hfAUk0tQOdaBqcIDSerhIo=; b=kI9ULFY/tPGjC0LjgbK+bjNby5n7hG3wLKepHuK2vateQT0QCJ7yVNrpvD2U9RTvAr 46iEEnfJ4Q0xrlAl0JB+FGVUShgOu54rbve3C2KfqVWIMZQZ72P3+MkmuDItYjjV7U/b 92Qb3b4UCVgXLuJh8dg78kYiGZKItFbIFlerOZ/SMPPJu8PvLbvDc71yg9tJIaRCp7Em rr9e/d61uFs8xBRzBKETFCcmiT8gCL1A1MuWLve6GdGxCnSOsGovdOky2ZxNgz/pUZM4 VGbTPbbNmbYqG+73enHbuhNp6WHyEpHPbUNScjLmBlhntCr3H49eWXqnX5E3sJEfu/5w MIJA== X-Gm-Message-State: AJcUukdKB+drnQclndCd3gAQOVsbBaNptvFQjbrTe1eRF2Z9oW82q9ID 51e8GxRsvPi+4iiQhngLr68bx7qMpD91vyet48EbuPyt X-Google-Smtp-Source: ALg8bN6W3tNp9sKeGTRm2usMkWE0o0mA7BJH14ArUHqX4T+zCnGxHOPqUk3h7GczcgnTlmD2RCWwfE7+csbapy4lsJk= X-Received: by 2002:a2e:9c52:: with SMTP id t18-v6mr22366537ljj.149.1546529307790; Thu, 03 Jan 2019 07:28:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 3 Jan 2019 08:28:10 -0700 Message-ID: To: internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [RFC][Vote] Covariant Returns and Contravariant Parameters From: levim@php.net (Levi Morrison) On Wed, Dec 19, 2018 at 4:10 PM Levi Morrison wrote: > > Thank you for the feedback and discussion on the [Covariant Returns > and Contravariant Parameters RFC][1]. > > I have opened [voting on this RFC][2]. Given that this is a common > time for holidays for many people around the world it will be open > until at least January 2nd. Happy holidays! > > [1]: https://wiki.php.net/rfc/covariant-returns-and-contravariant-parameters > [2]: https://wiki.php.net/rfc/covariant-returns-and-contravariant-parameters#voting Currently there are 31 yes votes, and only 1 no vote. I will leave the vote open for a few more days while I examine an issue that Dmitry mentioned here on the list. When we have code like the following, no errors or warnings are generated but there should be a warning: I am intentionally not generating a warning at runtime for some cases. The engine already issues a warning at compile time for some similar cases and I didn't want to duplicate the warning at runtime. Apparently this code is not precise enough.