|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-12-14 19:57 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
-Package: Unknown/Other Function
+Package: Reflection related
[2020-12-14 19:57 UTC] requinix@php.net
[2020-12-14 20:13 UTC] mark at fastmail dot net
[2020-12-14 20:16 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
Description: ------------ Specifying logically ORed filter arguments results in "and" behavior in 7.3, but results in "or" behavior in 7.4. The provided test script returns both methods in 7.4, but only the first method in 7.3. Should this change be added to the "Backward Incompatible Changes" page? Test script: --------------- <?php class A{ static function one(){} function two(){} } $class = new ReflectionClass(A::class); var_dump($class->getMethods(ReflectionMethod::IS_PUBLIC || ReflectionMethod::IS_STATIC));