#
8b682743 |
| 26-Nov-2024 |
Christoph M. Becker |
Fix method calls for PHP objects wrapped in variant As is, methods of PHP can never be called, because we're first trying to read the property with the name of the method. We fi
Fix method calls for PHP objects wrapped in variant As is, methods of PHP can never be called, because we're first trying to read the property with the name of the method. We fix this by first checking for `DISPATCH_METHOD` and treat that as method call, if the method would be callable. Only otherwise we try to access the respective property. It needs to be noted that this breaks code which accesses a property of an object, which defines a method of the same name. However, instances of such classes should never be wrapped in variants, because this can't be distinguished by COM anyway. Closes GH-16945.
show more ...
|