Add ARRAY for reserved name (#3150)
diff --git a/php/tests/generated_class_test.php b/php/tests/generated_class_test.php
index b42397b..be641b6 100644
--- a/php/tests/generated_class_test.php
+++ b/php/tests/generated_class_test.php
@@ -876,6 +876,7 @@
$m = new \Foo\TestMessage_Empty();
$m = new \Foo\PBEmpty();
$m = new \PrefixEmpty();
+ $m = new \Foo\PBARRAY();
}
#########################################################
@@ -886,8 +887,8 @@
{
$m = (new TestMessage())
->setOptionalInt32(1)
- ->setOptionalInt64(2);
+ ->setOptionalUInt32(2);
$this->assertSame(1, $m->getOptionalInt32());
- $this->assertSame(2, $m->getOptionalInt64());
+ $this->assertSame(2, $m->getOptionalUInt32());
}
}