|
From: <php...@li...> - 2009-04-17 11:34:09
|
Hello,
does anyone have an idea how to access this class from php?
public class Arrayausgabe{
public int[] meinArray(int wert){
int a=wert;
int Array[]=new int[5];
Array[0]=a;
Array[1]=a+1;
Array[2]=a+2;
Array[3]=a+5;
Array[4]=a+9;
return Array;
}
}
Well,
<?php
require_once("http://localhost:8081/Ordner/java/Java.inc");
$System = java("java.lang.System");
$object = new java("Arrayausgabe");
????????????????????????????????
?>
Thanks in advance!!!!!!!!!!!!!
|