Hi, I'm trying to use our java-code in php. But strange things happens.... Maybe I did a simple mistake..
$MyInf=new Java("myUtil.myInfo"); This is inside of a loop through 3 items: $MyAttributes=array(); $MyAttributes=$MyInf->MyAttrReader($v, "","", $item); $c=null; $c=count($MyAttributes); so far ok, $c shows the correct number but when doing this : reset($MyAttributes); $sa=$MyAttributes[0]; /* I can use 0 because there are always more than one elements inside*/ var_dump($sa); it comes up with a java-object only for the first entry object(java)(1) { [0]=> int(4) } int(20) int(36) And then of course it's impossible to call methods on the objects because they are no objects.... Fatal error: Call to a member function on a non-object Every hint woul'd be appreciated thanks, Helke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php