summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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.