php-protobuf icon indicating copy to clipboard operation
php-protobuf copied to clipboard

Add support for PHP7?

Open flashjay opened this issue 11 years ago • 60 comments

The five RC of PHP has been released, and PHP 7 is likely to be released on Nov 12 this year.

flashjay avatar Oct 27 '15 04:10 flashjay

+1. Could we at least get this populated? https://github.com/gophp7/gophp7-ext/wiki/extensions-catalog

kbanman avatar Nov 06 '15 07:11 kbanman

+1

xianhuawei avatar Dec 05 '15 01:12 xianhuawei

+1

thomas-ye avatar Jan 15 '16 06:01 thomas-ye

+1

daniel-adlantic avatar Jan 15 '16 14:01 daniel-adlantic

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.

christophermancini avatar Jan 16 '16 01:01 christophermancini

Great! Waiting for it too! Thank you for your work!

axxapy avatar Jan 22 '16 22:01 axxapy

Would be great to use this, any estimation on when it might be ready?

Kdb1993 avatar Feb 12 '16 12:02 Kdb1993

+1

tomswinkels avatar Feb 22 '16 09:02 tomswinkels

@christophermancini is there any update?

tomswinkels avatar Mar 15 '16 16:03 tomswinkels

+1

webx32 avatar Mar 22 '16 08:03 webx32

+1

boycetien avatar Mar 29 '16 11:03 boycetien

@christophermancini is there any update?

baltazorbest avatar Mar 30 '16 08:03 baltazorbest

+1

re-action avatar Apr 14 '16 15:04 re-action

+1

hhilbert avatar Apr 20 '16 08:04 hhilbert

+1

boycetien avatar Apr 22 '16 05:04 boycetien

+1

ghost avatar Apr 22 '16 06:04 ghost

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 avatar Apr 25 '16 05:04 serggp

@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 avatar May 18 '16 11:05 cjhlai

@cjhlai Looks like you were trying to compile the extension using master branch. Please make sure you are using php7 branch.

serggp avatar May 18 '16 18:05 serggp

@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.

cjhlai avatar May 19 '16 01:05 cjhlai