|
From: <php...@li...> - 2008-03-07 16:49:23
|
Thank you! Yes, I understand that. Actually, I have already taken out
the if statment
if( $fuzzyRuleSet == null ) {
so I am running
$temp = $fuzzyRuleSet->toString();
directly, but it still give me an nullpointerexception. The method can
run in java just don't understand how come it cannot run in php. Any
other suggestions? Please! Thanks again!
On Fri, Mar 7, 2008 at 12:34 AM,
<php...@li...> wrote:
> > if( $fuzzyRuleSet == null ) {
>
> > $temp = $fuzzyRuleSet->toString();
> >
> > Even I take out the null test, the error still remains. Can anyone help? Thanks!
>
> The same argument applies to the above code, of course.
>
> Use
>
> (string)$fuzzyRuleSet == null
>
> or better
>
> is_null (java_values ($fuzzyRuleSet))
>
>
> for the test.
>
>
> Regards,
> Jost Boekemeier
>
>
>
> Lesen Sie Ihre E-Mails auf dem Handy.
> www.yahoo.de/go
>
> -------------------------------------------------------------------------
>
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|