Open
Description
I've ran into this error in PHP 7.4, likely related to the recent removal of -s EMULATE_FUNCTION_POINTER_CASTS
RuntimeError: null function or function signature mismatch
at php.wasm.read_markers (wasm://wasm/php.wasm-06f29a42:wasm-function[13283]:0x8e7c94)
at php.wasm.consume_markers (wasm://wasm/php.wasm-06f29a42:wasm-function[13273]:0x8e69b6)
at php.wasm.jpeg_consume_input (wasm://wasm/php.wasm-06f29a42:wasm-function[13247]:0x8e2b44)
at php.wasm.jpeg_read_header (wasm://wasm/php.wasm-06f29a42:wasm-function[13246]:0x8e2aba)
at php.wasm.gdImageCreateFromJpegCtxEx (wasm://wasm/php.wasm-06f29a42:wasm-function[1473]:0x3cee1d)
at php.wasm.zif_imagecreatefromstring (wasm://wasm/php.wasm-06f29a42:wasm-function[1291]:0x3b875b)
at php.wasm.ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER (wasm://wasm/php.wasm-06f29a42:wasm-function[8231]:0x653cb0)
at php.wasm.execute_ex (wasm://wasm/php.wasm-06f29a42:wasm-function[7468]:0x60bfff)
at php.wasm.zend_execute (wasm://wasm/php.wasm-06f29a42:wasm-function[7470]:0x60c205)
at php.wasm.zend_execute_scripts (wasm://wasm/php.wasm-06f29a42:wasm-function[6612]:0x5c6c80)
Let's use this issue to document all the related crashes.