diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-08 12:53:39 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-08 12:53:39 +0100 |
commit | 2e6efbd587e88be19b0c8f34d1597448125e23cf (patch) | |
tree | 026a8c94ddcd215de9be2be0541e54140770fd00 /documentation/variables.html | |
parent | 5b93d44d2a05b3648ec13ae1f076e224d63287d5 (diff) |
fixed small typos in documentation, and added article about calling functions
Diffstat (limited to 'documentation/variables.html')
-rw-r--r-- | documentation/variables.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/variables.html b/documentation/variables.html index e2515d4..2985ce5 100644 --- a/documentation/variables.html +++ b/documentation/variables.html @@ -35,7 +35,7 @@ that deal with pointer-to-pointer-to-pointer-to-zval's. </p> <p> - Every single PHP module, every PHP extension, and every builtin PHP function + Every single PHP module, every PHP extension, and every built-in PHP function is busy manipulating these zval structures. It is a big surprise that nobody ever took the time to wrap such a zval in a simple C++ class that does all this administration for you. C++ is such a nice language with constructors, @@ -254,7 +254,7 @@ std::cout << value.call("format", "Y-m-d H:i:s") << std::endl; // create a string with a function name Php::Value date = "date"; -// "date" is a builtin PHP function and thus can it be called +// "date" is a built-in PHP function and thus can it be called std::cout << date("Y-m-d H:i:s") << std::endl; // create a date-time object |