Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: third_party/protobuf/php/ext/google/protobuf/test.php

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
+
+?>
« no previous file with comments | « third_party/protobuf/php/ext/google/protobuf/storage.c ('k') | third_party/protobuf/php/ext/google/protobuf/type_check.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698