diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-05-29 15:30:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 15:30:47 -0700 |
commit | 282fb9e68ec101b7b7616a45279427944afc3e6b (patch) | |
tree | bb7d92efef2d228e62c47ec3ce8951c8fd567b0b /php/src | |
parent | 4d5daf4ef97918176b892dbedce17b1d854ffe8e (diff) |
Add ARRAY for reserved name (#3150)
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/Google/Protobuf/descriptor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/Google/Protobuf/descriptor.php b/php/src/Google/Protobuf/descriptor.php index fb69eda0..35e4929b 100644 --- a/php/src/Google/Protobuf/descriptor.php +++ b/php/src/Google/Protobuf/descriptor.php @@ -236,7 +236,7 @@ function getClassNamePrefix( return $prefix; } - $reserved_words = array("Empty"); + $reserved_words = array("Empty", "ECHO", "ARRAY"); foreach ($reserved_words as $reserved_word) { if ($classname === $reserved_word) { if ($file_proto->getPackage() === "google.protobuf") { |