[php-src] master: [RFC] Deprecate `ReflectionMethod` invocation for static methods with objects

From: Date: Wed, 12 Aug 2026 17:10:02 +0000
Subject: [php-src] master: [RFC] Deprecate `ReflectionMethod` invocation for static methods with objects
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-140691@lists.php.net to get a copy of this message
Author: Daniel Scherzer (DanielEScherzer) Date: 2026-08-12T10:09:30-07:00 Commit: https://github.com/php/php-src/commit/d3f4eada1001627df6330e7606081e7ab42ca311 Raw diff: https://github.com/php/php-src/commit/d3f4eada1001627df6330e7606081e7ab42ca311.diff [RFC] Deprecate ReflectionMethod invocation for static methods with objects ReflectionMethod::invoke() and ::invokeArgs() are affected, but share implementation code and so are updated together. https://wiki.php.net/rfc/deprecations_php_8_6 Changed paths: M UPGRADING M ext/reflection/php_reflection.c M ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt M ext/reflection/tests/ReflectionMethod_invoke_basic.phpt M ext/reflection/tests/ReflectionMethod_invoke_error1.phpt Diff:

« previous php.cvs (#140691) next »