|
From: <php...@li...> - 2008-09-02 19:16:19
|
How do you return a boolean value from a java routine to a php module?
I have a java method that validates an account number and returns true or
false. The Java declaration is
public Boolean isValidAccountNumber(String acctnum) {
in the method I return true; or return false;
In the php code I check it like this
if ($IDEAS->isValidAccountNumber($acctnum) == false) {
No matter what I do, it always acts as if the return value was true. Even
when I force the Java method to always return false;
Is this a type issue?
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
|