Index: third_party/protobuf/php/ext/google/protobuf/test.php |
diff --git a/third_party/protobuf/php/ext/google/protobuf/test.php b/third_party/protobuf/php/ext/google/protobuf/test.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6bbadd48b18eaf0ea5194ab22d6faa41abe7bcdb |
--- /dev/null |
+++ b/third_party/protobuf/php/ext/google/protobuf/test.php |
@@ -0,0 +1,15 @@ |
+<?php |
+ |
+ |
+namespace Google\Protobuf; |
+ |
+$pool = get_generated_pool(); |
+$pool->addMessage("TestMessage") |
+ ->optional("optional_int32_a", "int32", 1) |
+ ->optional("optional_int32_b", "int32", 2) |
+ ->finalizeToPool() |
+ ->finalize(); |
+ |
+$test_message = new \TestMessage(); |
+ |
+?> |