On 10 December 2015 at 08:51, Sjoerd Maessen <sjoerd.maes...@gmail.com> wrote:
> As a first time poster I'm very nervous but here we go!

Welcome!

> I cloned the github repo and was able to remove 1 error during the
> compilation process that had to do with ZVAL_STRING. This was an easy error
> to fix since it came down to simply removing an argument. I've read
> https://wiki.php.net/phpng-upgrading but still I feel like there should be
> more resources available after seeing the amount of extensions that are
> already successfully converted for PHP 7. For example I'm now stuck how to
> fix an error like:
>
> "error: too many arguments to function ‘zend_hash_get_current_key_ex’"

We don't really have comprehensive documentation of how internal APIs
have changed from 5 to 7. Beyond the things noted on the phpng and
phpng-upgrading pages on the wiki, the best resource is probably
lxr.php.net, where you can look up a definition on both the PHP-5.6
and PHP-7.0 branches and see how they've changed.

For the most part, extension API changes are largely around things
like removing indirection on zvals, HashTables now containing zvals
rather than void pointers, and strings being represented as
zend_string structs rather than paired char * and int pointers.

> How can I continue with making this work? Any good (up-to-date) resources?
> An IRC channel where I can help?

There is #php.pecl on efnet — it's not the highest traffic channel,
but if you're patient there'll generally be someone around who can
help.

Adam

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

Reply via email to