Dan Ackroyd in php.internals (Mon, 26 Jan 2015 17:58:40 +0000):
>On 26 January 2015 at 00:02, Lester Caine <les...@lsces.co.uk> wrote:
>> /imagick ... need to get a copy to work with
>
>Imagick is now working on 7; you will need to use the PHP 7 branch
>from https://github.com/mkoppanen/imagick/tree/phpseven

Did you compile that with the git head of php-src? I did and stumbled
into some problems.

ext/standard/php_smart_string_public.h is now almost empty. You should
include ext/standard/php_smart_string.h and change some functions:
https://github.com/Jan-E/imagick/commit/243c206cf5528255b406a76e1807dd64af209ced

Z_BVAL_P does not exist anymore. Possible fix:

-               convert_to_boolean(multiline);
-               query_multiline = Z_BVAL_P(multiline);
+               convert_to_double(multiline);
+               query_multiline = Z_DVAL_P(multiline);

See
https://github.com/Jan-E/imagick/commit/c0711521a926ba8fed7b61ae106c6d9039fc71f4

And besides that there were the usual fixes for VC11 and a few
deprecated functions. See all my commits at:
https://github.com/Jan-E/imagick/commits/phpseven

After these commits php_imagick.dll compiled with VC11 and (for Lester)
showed itself in phpinfo:
https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.htm

Complete build:
https://phpdev.toolsforresearch.com/php-7.0.0-dev-nts-Win32-VC11-x86.zip

Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to