summaryrefslogtreecommitdiff
path: root/tests/cpp/include/variables/006-casting-obj2str.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp/include/variables/006-casting-obj2str.h')
-rw-r--r--tests/cpp/include/variables/006-casting-obj2str.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/cpp/include/variables/006-casting-obj2str.h b/tests/cpp/include/variables/006-casting-obj2str.h
new file mode 100644
index 0000000..879683d
--- /dev/null
+++ b/tests/cpp/include/variables/006-casting-obj2str.h
@@ -0,0 +1,30 @@
+/**
+ *
+ * Test variables
+ * 006-casting-obj2str.phpt
+ *
+ */
+
+
+
+/**
+ * Set up namespace
+ */
+namespace TestVariables {
+
+
+ /*
+ * Test Php::Value casting operators
+ */
+ void value_cast2str(Php::Parameters &params)
+ {
+ std::string value = params[0];
+ Php::out << value << std::endl;
+ }
+
+
+/**
+ * End of namespace
+ */
+}
+