I've added a new RFC to deprecate FFI instance calls to non-static method. The PR https://github.com/php/php-src/commit/4acf0084dcd63ec369a610ec966db33f322694c8 deprecation of static methods is not a good solution. Now that the FFI API is a mess, this PR will make a fix impossible
My RFC link https://wiki.php.net/rfc/ffi-non-static-deprecated Regards Chopin Xiao