Add support for PHP7?
The five RC of PHP has been released, and PHP 7 is likely to be released on Nov 12 this year.
+1. Could we at least get this populated? https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog
+1
+1
+1
I have begun reviewing what changes need to be made to update it to PHP 7 and it doesn't look bad. Hoping to get it done sometime in the next few weeks.
Great! Waiting for it too! Thank you for your work!
Would be great to use this, any estimation on when it might be ready?
+1
@christophermancini is there any update?
+1
+1
@christophermancini is there any update?
+1
+1
+1
+1
You can try php7 support here: https://github.com/serggp/php-protobuf/tree/php7 Pull request: https://github.com/allegro/php-protobuf/pull/63
Please let me know if something goes wrong
@serggp https://github.com/serggp/php-protobuf/tree/php7 when i used this in production with php7,it went wrong! /root/Downloads/php-protobuf/protobuf.c:90: error: ‘this_ptr’ undeclared (first use in this function) /root/Downloads/php-protobuf/protobuf.c:90: error: (Each undeclared identifier is reported only once /root/Downloads/php-protobuf/protobuf.c:90: error: for each function it appears in.) /root/Downloads/php-protobuf/protobuf.c:104: warning: passing argument 1 of ‘_zval_ptr_dtor’ from incompatible pointer type /usr/local/php/include/php/Zend/zend_variables.h:112: note: expected ‘struct zval *’ but argument is of typ ........
@cjhlai Looks like you were trying to compile the extension using master branch. Please make sure you are using php7 branch.
@serggp yes,I download from https://github.com/serggp/php-protobuf/tree/php7 ,so i am sure it is php7 branch.the errors occur when executing make && make install.