FFI Incompatible types when assigning to type 'void(*)()' from type 'void(*)()'
#9090
Labels
Incompatible types when assigning to type 'void(*)()' from type 'void(*)()'
#9090
Description
It appears we're unable to assign a function pointer via FFI:
The following patch seems to fix:
I'm not familiar with FFI internals so could use a review. FFI tests continue to pass at least. If it looks ok I can follow up with a PR + phpt.
PHP Version
HEAD
Operating System
Debian testing
The text was updated successfully, but these errors were encountered: