Re: Help me

From: Date: Thu, 10 Aug 2000 02:46:00 +0000
Subject: Re: Help me
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-558@lists.php.net to get a copy of this message
Thank you very much. But i don't how to do that . exa: file: test.java public class test{ public int ret_test(int i) { if (i>0) return 31; if (i==0) return 30; if (i<0) return 29; return 100; } } After i complimed it,then where will i put test.class ? my php file is: <? $b = new Java("test"); $x=$b->ret_test(4); echo $x; ?> But i can't success. Help me please ""Richard Lynch"" <richard@zend.com> wrote in message news:008301c0021a$176564a0$fa3326cf@lie.com... > Something not unlike this: > <?php > #Using Beanie.class from our Java Server: > $beanie = new Java("Beanie constructarg1, constructarg2"); > $beanie->methodA(); > $beanig->methodB(arg1, arg2, arg3); > ?> > > Known (?) Limitation: PHP and Java arrays are not going to go through, as I > understand it. > > Rasmus' tutorial from O'Reilly OpenSource may have a real-life example... > > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net > For additional commands, e-mail: php-qa-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.qa (#558) next »