John Cupitt
John Cupitt
For reference, I built php8 with: ``` ./configure --prefix=/home/john/vips --enable-debug --enable-cgi --enable-cli \ --with-readline --with-openssl --with-zlib --enable-mbstring --with-pear ```
Oh, interesting, I see eg.: ``` $ more tests/002.out Fatal error: Arginfo / zpp mismatch during call of vips_image_new_from_file() in /home/john/GIT/php-vips-ext/tests/002.php on line 3 ``` I suppose I've accidentally built...
Here's a branch with type hints added, it fixes most of the tests. https://github.com/libvips/php-vips-ext/tree/add-type-hints Though `vips_call` is still broken, I must have got the varadic hint wrong.
Brilliant! Yes, all tests pass now. I agree, return type hints would be a good idea too.
@jesseforrest after Kleis's work, it looks like git master php-vips-ext should now be OK with php8. Would you be able to test before we push out a new version?
php8 was working with git master php-vips-ext, but we hadn't pushed out a pecl package. I've done that now, so 1.0.13 should work: https://pecl.php.net/package/vips/1.0.13 All tests pass for me with...
php8 support should be released and working. Please open a new issue if anyone finds a problem.
Hello @alexander-schranz, libvips has calls to do this, but they are not exposed by php-vips-ext, unfortunately. If you are OK compiling stuff yourself, you could add a few lines to...
I added some stuff for this. It would probably be better to have some API. If you're seeing high memory usage, I would check that you are using `sequential` where...
You don't need to compile libvips, just the binary extension for PHP. There are notes on the process here: https://github.com/libvips/php-vips-ext#development-regenerate-build-system It's just: ``` phpize ./configure make sudo make install ```...