Closed boboxiaodd closed 7 years ago
@boboxiaodd Try using the v2-alpha release. It appears you might be using the branch / code that is merged together from the work the previous maintainer was working on.
I am going to do some cleanup work on the repository so this is going to be less confusing going forward.
Thank you @christophermancini , It work, but maybe it don't suppourt proto3 syntax like this:
syntax = "proto3";
message Login_cs {
uint32 uid = 1;
string deviceid = 2;
uint64 timestamp = 3;
string authstr = 4;
}
it's nothing , i can change the syntax.
@boboxiaodd Ah, ok. Yea, proto3 support is not there. However if you are using proto3, you can use the new official Google PHP library. For Riak, we are using proto2 and can't upgrade to 3 without a great deal of work across the org, so I have to stick with 2 for now.
@christophermancini I use this command line:
One of php source is:
But i find the test code is
extends \ProtobufMessage