From 9e1ecc534bace7d00a265a49018c0148a56361ae Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sun, 15 Sep 2013 13:57:53 -0700 Subject: Added Environment::call() method that makes it possible to call PHP functions --- tests/simple/simple.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/simple/simple.cpp b/tests/simple/simple.cpp index dede458..fbc29d4 100644 --- a/tests/simple/simple.cpp +++ b/tests/simple/simple.cpp @@ -27,6 +27,10 @@ static Php::Value my_plus(Php::Environment &env, Php::Parameters ¶ms) g = "zo kan het ook"; + string output = env.call("strtoupper","test in lowercase"); + + cout << "output: " << output << endl; + return p1 + p2; } -- cgit v1.2.3