summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorvalmat <ufabiz@gmail.com>2014-03-27 01:19:12 +0600
committervalmat <ufabiz@gmail.com>2014-03-27 01:19:12 +0600
commitd0d062b4a05a9eb64b8d2e6d038af96ac532e4b3 (patch)
tree4fc4026b988ca6da18a88d2e34dd1d88c28d24ae /README.md
parent702c95cf779226550af6b33255a8e1b28ccca428 (diff)
Added new tests.
Due to support zts broke the ability to run tests without installation - fixed.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 601487a..17d1b62 100644
--- a/README.md
+++ b/README.md
@@ -57,9 +57,9 @@ More complicated structured can be handled by PHP-CPP as well. If you would like
a nested associative array from your function, you can do so too:
```c
-PhpCpp::Value get_complex_array()
+Php::Value get_complex_array()
{
- PhpCpp::Value r;
+ Php::Value r;
r["a"] = 123;
r["b"] = 456;
r["c"][0] = "nested value";
@@ -70,7 +70,7 @@ PhpCpp::Value get_complex_array()
The C++ function above is equivalent to the following function in PHP:
-```c
+```php
function get_complex_array()
{
return array(
@@ -82,4 +82,4 @@ function get_complex_array()
```
More information and more examples are available on the official website:
-http://www.php-cpp.com. \ No newline at end of file
+http://www.php-cpp.com.