From: Jost B. <jos...@ya...> - 2005-12-13 19:24:20
|
Hi Jonathan, > $object->setValue(true); I could not reproduce the above problem using the following test code: public class test { public Object getBoolean(boolean b) {return new Boolean(b);} } <?php java_require(getcwd()); $test = new Java("test"); echo $test->getBoolean(true); echo $test->getBoolean(false); php 4.3.9, bridge 2.0.8. Can you please set the java.log_level to 5 and attach the log at the end of the ticket (http://sourceforge.net/tracker/index.php?func=detail&aid=1379741&group_id=117793&atid=679233) BTW: Is it possible to upgrade to php5 and bridge version 3.0.2? PHP5 eliminates this problem altogether as the bridge no longer needs to coerce the return values. All the examples you've given should work as expected, you can even cast java values to boolean or other php types. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |