[php-src] PR #16197: Add exit function to Zend API
| From: | wojrut-dt | Date: | Thu, 03 Oct 2024 13:00:20 +0000 |
| Subject: | [php-src] PR #16197: Add exit function to Zend API | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28973@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16197
Author: wojrut-dt
Hi, https://wiki.php.net/rfc/exit-as-function has
impacted one of Dynatrace functionalities. When "exit" was an opcode it wasn't an
issue, but now since the opcode is gone We must have a different way of access in order to keep
Dynatrace fully compatible with PHP-8.4.x. I think making
zend_exit function pointer
and adding ZEND_API directive will solve the problem for us and won't break any
third-party projects.