diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-09-15 09:20:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 09:20:23 -0700 |
commit | 5dd818cd2226fe8e3818206c47d77b2d9571509a (patch) | |
tree | b169803ed9125d27b7fdd41ced20bcb2ae338937 /php/tests/proto/test_reserved_message_lower.proto | |
parent | b04e5cba356212e4e8c66c61bbe0c3a20537c5b9 (diff) | |
parent | a425dd97f210cd4bab979d7aad980655a7409bfe (diff) | |
download | protobuf-5dd818cd2226fe8e3818206c47d77b2d9571509a.tar.gz protobuf-5dd818cd2226fe8e3818206c47d77b2d9571509a.tar.bz2 protobuf-5dd818cd2226fe8e3818206c47d77b2d9571509a.zip |
Merge pull request #3612 from TeBoring/php-bug
Add prefix to php reserved keywords.
Diffstat (limited to 'php/tests/proto/test_reserved_message_lower.proto')
-rw-r--r-- | php/tests/proto/test_reserved_message_lower.proto | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/php/tests/proto/test_reserved_message_lower.proto b/php/tests/proto/test_reserved_message_lower.proto new file mode 100644 index 00000000..ed120808 --- /dev/null +++ b/php/tests/proto/test_reserved_message_lower.proto @@ -0,0 +1,77 @@ +syntax = "proto3"; + +package lower; + +message abstract {} +message and {} +message array {} +message as {} +message break {} +message callable {} +message case {} +message catch {} +message class {} +message clone {} +message const {} +message continue {} +message declare {} +message default {} +message die {} +message do {} +message echo {} +message else {} +message elseif {} +message empty {} +message enddeclare {} +message endfor {} +message endforeach {} +message endif {} +message endswitch {} +message endwhile {} +message eval {} +message exit {} +message extends {} +message final {} +message for {} +message foreach {} +message function {} +message global {} +message goto {} +message if {} +message implements {} +message include {} +message include_once {} +message instanceof {} +message insteadof {} +message interface {} +message isset {} +message list {} +message namespace {} +message new {} +message or {} +message print {} +message private {} +message protected {} +message public {} +message require {} +message require_once {} +message return {} +message static {} +message switch {} +message throw {} +message trait {} +message try {} +message unset {} +message use {} +message var {} +message while {} +message xor {} +message int {} +message float {} +message bool {} +message string {} +message true {} +message false {} +message null {} +message void {} +message iterable {} |