Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105851 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12093 invoked from network); 6 Jun 2019 15:30:44 -0000 Received: from unknown (HELO mail-lj1-f181.google.com) (209.85.208.181) by pb1.pair.com with SMTP; 6 Jun 2019 15:30:44 -0000 Received: by mail-lj1-f181.google.com with SMTP id k18so440938ljc.11 for ; Thu, 06 Jun 2019 05:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=k0ow7LKUvhph9iByIh0ZL3XyWmg53xC04QyoblNwfpY=; b=OBd8HwdxXa/vZgteMcICDyRX5LtGarfSE4kc7lePC9a5vbxueKQla7DzCq+QTWSMkR xI1k5kGBPp3DlPzYyFdOGJKkqmmNzOLRkHr2EGaAJBLh9GOwpecW3giwR2hihdxADH9Y DETjEgd/JRcuZiPpuy6yLiKFILr+2CWsH/IXTDcw1yRnf7sRPNERQLPIrwga5bgtKHE+ lp3lwsDBWLVUYwVJi9w3XCJk576xoektWzkojpxD8NL5Vspr99jS0EVMZ6ATmw8pvSYZ ep6PKxLQ4k2gwCUbD8jOJrW404twu7Nb1g8HFkEE/KyIg0m77kY1il3TKo1HAC6q6fBs 5ieA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=k0ow7LKUvhph9iByIh0ZL3XyWmg53xC04QyoblNwfpY=; b=NOv8LO+XpK57jJtOM0lfzEoTqO4g4q6R2NQeBTNxq0y/eRiyrDdNM/52MHmFLt6Ou8 cfpyLbXttRmSo3jvTuUEKZ0AfEk2KTXGe4lyaOlE0PqQtABEiRoIyDsahw/TbMkPYQ6Q khlVr8Z61SP3Yz7fC/aCSfQm0R5sNlba9yoFdJEx+tJiv5rFKWTZrc+1EugyDqk2oHdx Cyr5FRkxwxZEkFxe7dMQSt6JFU1aMjx9/DRIHLfbaRm9W1uTWybz5urTKpDt0T7DZCo5 krYthFzoLghhbgujs8N2XtNUBacGhV5VRhMhEzHFuypf4i/dBrJulUpVRjZEQIol+ZyB x2PQ== X-Gm-Message-State: APjAAAUh31IUox50d1M1it6k65X+spiyGuDo0VIkrYkiIh9ytWN8URYV Xcz9fO17QPqJ1TR23BdDGxmQ3uYQ6CqeFv8E9jyob16y9jb7Xw== X-Google-Smtp-Source: APXvYqx8DG4BRFkX6+YSZf3GWCI1/khWlhMTnNWDSfln8Bwyty93LOtqz6QsG5x4BhxFdzswm811fD9b3r//YgUCdRY= X-Received: by 2002:a2e:9c03:: with SMTP id s3mr9461055lji.209.1559824927204; Thu, 06 Jun 2019 05:42:07 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 6 Jun 2019 14:41:51 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000b2a8b7058aa70af4" Subject: Disabling arginfo argument type checks for internal functions From: nikita.ppv@gmail.com (Nikita Popov) --000000000000b2a8b7058aa70af4 Content-Type: text/plain; charset="UTF-8" Hi internals, I plan to disable the checking of arginfo argument types for internal functions in https://github.com/php/php-src/pull/4232 (PHP 8 only). This is necessary to avoid duplicate type checks in both arginfo and zpp. Once this lands, PRs to add arginfo types (available through reflection) to internal functions will be accepted. As a sanity check, debug builds will make sure that the function call either throws or passes arginfo type checks -- this will help avoid the additional of arginfo types that are not correct enforced by the implementation. Regards, Nikita --000000000000b2a8b7058aa70af4--