serggp
serggp
@roycwc could you please provide the entire output of make command?
@eurobubbler Unfortunately this extension doesn't support php7. But you can try it in this pull request: https://github.com/allegro/php-protobuf/pull/63
@eurobubbler Using command "git checkout **-b** php7" you created your new local branch from master rather than switched to actual php7 branch which contains php7 support. Please clone it again...
Could you please clarify what do you mean when you say 'empty User object'?
@hjagodzinski Skipping such objects during serialization is ok unless it's a _required_ field. This object should be recreated based on default values during parseFromString().
So I checked C++ implementation and fixed serialization method using the same approach. See pull request https://github.com/allegro/php-protobuf/pull/87
@socketman2016 Thank you for your report. The issue has been fixed. Please pull the branch again and try to use it.
@sm2017 Could you please show code example?
Looks like the exact definition of default values was introduced in proto3. Not sure it's the same for version 2.
@hjagodzinski The solution to use type casting is not very flexible. In my branch php7 I store ints which exceed PHP_INT_MAX as double values (for x86 systems). This is standard...