I tried to compile a protobuf file in php by using protoc, but when I wrote more then one message in the 'pbfile', the protoc gave me so many php files. The 'pbfile' contents are:
//test.proto begin
syntax="proto3";
message C2S_AcctLogin {}
message S2C_AcctLogin {}
//test.proto end
When I execute this cmd:
protoc.exe --php_out="." -I="." test.proto
...then I get two files: S2C_AcctLogin.php and C2S_AcctLogin.php
How can I get a single php file named 'test.php' like in cpp language?