aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2017-05-29 15:30:47 -0700
committerGravatar Bo Yang <teboring@google.com>2017-06-20 15:06:22 -0700
commitdba8928ff53ae372bba3d928a6145754a97238d5 (patch)
tree4177a3467bd1120fa99e5dfccb59c7b1f0c1b7ca /php/ext
parentbf04c83267619b618e7112b242f424f8b3e785b6 (diff)
Add ARRAY for reserved name (#3150)
Diffstat (limited to 'php/ext')
-rw-r--r--php/ext/google/protobuf/def.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/ext/google/protobuf/def.c b/php/ext/google/protobuf/def.c
index 8e563a61..099ebd05 100644
--- a/php/ext/google/protobuf/def.c
+++ b/php/ext/google/protobuf/def.c
@@ -30,8 +30,8 @@
#include "protobuf.h"
-const char* const kReservedNames[] = {"Empty"};
-const int kReservedNamesSize = 1;
+const char* const kReservedNames[] = {"Empty", "ECHO", "ARRAY"};
+const int kReservedNamesSize = 3;
// Forward declare.
static void descriptor_init_c_instance(Descriptor* intern TSRMLS_DC);