From: <php...@li...> - 2011-01-26 22:37:12
|
Hi, interesting concept. But it doesn't work, because the jsr223 api doesn't know about the existing php continuation and creates a new one. Jsr223 is for java->php->java... calls. For php->java->php... calls use java_closure: function toString() { return "i am a php Object method called from java called from php.";} echo java_closure(); Please see java_closure API doc for details. Regards, Jost Bökemeier |