[php-src] PR #16862: Avoid registering top functions with opcache_compile_file()

From: Date: Tue, 19 Nov 2024 18:05:25 +0000
Subject: [php-src] PR #16862: Avoid registering top functions with opcache_compile_file()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29698@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16862 Author: iluuu1994 Previously, this only worked for classes. It worked by preventing early binding, and then declaring the class at runtime. Instead of doing that, we now avoid calling zend_accel_load_script() completely, which prevents the functions from being added to the function table. This is breaking, and may thus only be applied to master. I will also notify the list and see whether there are concerns. Fixes GH-16668

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