Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104446 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 70905 invoked from network); 16 Feb 2019 14:31:11 -0000 Received: from unknown (HELO mail-it1-f173.google.com) (209.85.166.173) by pb1.pair.com with SMTP; 16 Feb 2019 14:31:11 -0000 Received: by mail-it1-f173.google.com with SMTP id m137so444659ita.0 for ; Sat, 16 Feb 2019 03:15:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=44M5250gcIzLZhqIqlkUm4zD5q1nvwJwCL5NG1Sb1+w=; b=XMTYXGpl4XJ84wRQLWMjsqTW4HcbAkrmuv+1czZo+Lat4CWwVG92zS04XLfPMoSB67 fBoVLh//EOwCqfVkHqpv2rx8WkS3DxipVy67UixdBDsAGFLxIAJZ3hrrghvrDn3rbhGz /QsS74YUTHrIusrATdYgOjr7/EA3bOSwOk/ih4YBd/huumIfZcLGwj+SHBeqsMtOG6+B Bc4c5cZmylYF2qyI5/V1G/ChD1lGHYjCpOeE6ktpTqOjNaq8d5dnYe4kJ+AkWI5MwiWX cHcF9j+ZZN+yXUGk9f9Zcj2KR0dRxCtFyuAjEYUvOD2rQ9sp/73ERNESyvFayjhUXuvl VEEA== 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=44M5250gcIzLZhqIqlkUm4zD5q1nvwJwCL5NG1Sb1+w=; b=WWjt8GNmgViwSihj1YUqNA/DYw5xpyLKmrx91vBdWxvHrM1+HaxnMuUMnL+WpCFNV0 8nGbU7cMtmgMExIVkLl8AY2MeYXIJQbAk3a5QLCnViT0plcChiKOopO1dFURbA+I5zWn C13rxuhK2L1XLXwNw6aMBknwQKAfWeClzgMawFOJ6aOdmy6knUtecKvXIBHHFazBqB3p 9bV8cSRz/irQOmmYTmNhBKKeyYiu721w0t8PNABsCSL1SIQkmOCZa8G/gE3Rx6r51rl+ qPW3Ak4QvSiQMLV2VRupX4LDVNd+uuH7vYIPX44GtJ60aZMEEo0EA5sS5+56dt0Q5lIL /u4g== X-Gm-Message-State: AHQUAubysrMXbSqQyO5IKM+crckaLxiCbI7Yq7i5hmNeHPZfvv0/l/xt Z0FJ3P/3/T3vkdIkUDQhX4kKaklMj3Cr1VgcQrPcUA== X-Google-Smtp-Source: AHgI3IbB8F/nTVowm5qmiQp+1C+Oe7KDpz1MwUAtNcYZIuyr8r3SExSyi0MACR/LRF2mNV2lQ7ZIsX0lyp1yhiDBAzQ= X-Received: by 2002:a24:de87:: with SMTP id d129mr7199757itg.110.1550315702888; Sat, 16 Feb 2019 03:15:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 16 Feb 2019 12:14:45 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000c2b06c0582010070" Subject: Re: [RFC] Consistent type errors for internal functions From: nikita.ppv@gmail.com (Nikita Popov) --000000000000c2b06c0582010070 Content-Type: text/plain; charset="UTF-8" On Tue, Feb 5, 2019 at 12:22 PM Nikita Popov wrote: > Hi internals, > > I'd like to bring forward the following proposal for PHP 8, which will > make (zpp) parameter parsing failures always result in a TypeError (rather > than generating a warning+null, depending on circumstances): > > https://wiki.php.net/rfc/consistent_type_errors > > The goal here is to remove one of the inconsistencies between user-defined > and internal functions, and to put us in a position where we can actually > start specifying type information in arginfo without fear of breaking > things. > > Regards, > Nikita > Heads up: This is headed for voting on Tuesday, assuming no significant issues are raised in the meantime. Nikita --000000000000c2b06c0582010070--