Wednesday, February 1, 2023

php8 COM Exception Type Mistmtach in paramater #0 when calling MS Word COM object SaveAs

php8 COM Exception Type Mistmtach in paramater #0 when calling MS Word COM object SaveAs

I saw this:

https://bugs.php.net/bug.php?id=73605

 

When calling $word->SaveAs($filename, 8);

You should change to $word->SaveAs($filename, new variant(8, VT_I4);

 

 

No comments:

Post a Comment