[php-src] PR #11969: adds support for DNF types in internal functions and properties

From: Date: Mon, 14 Aug 2023 14:04:18 +0000
Subject: [php-src] PR #11969: adds support for DNF types in internal functions and properties
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23375@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11969 Author: ju1ius DISCLAIMER: this PR does not add support for DNF types codegen in gen_stubs.php. Currently, the routines for registering functions/methods and typed properties make assertions that cause valid zend_types to be incorrectly rejected. These assertions are related to the current limitations of the gen_stubs.php script. This results in the zend API having a de-facto hard-dependency on the the gen_stubs.php codegen tool, thus rendering it unusable when using said tool is not possible or desirable (for example when writing extensions in languages like Rust of Zig that have native C-FFI support but cannot make use of complex preprocessor macros). This pull-requests lifts those limitations while keeping gen_stub.php-specific behaviour.

« previous php.git-pulls (#23375) next »