You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
|
2
(4) |
3
(10) |
4
(1) |
5
|
6
(1) |
|
7
|
8
(4) |
9
(3) |
10
(1) |
11
(1) |
12
|
13
(1) |
|
14
(2) |
15
|
16
|
17
|
18
(4) |
19
|
20
(1) |
|
21
|
22
(2) |
23
(2) |
24
(2) |
25
(2) |
26
(3) |
27
|
|
28
|
29
|
30
|
|
|
|
|
|
From: <php...@li...> - 2008-09-03 19:51:38
|
Hi,
> Try:
> $res = (bool) $IDEAS->isValidAccountNumber($acctnum) ;
No! PHP automatically casts a primitive value into a boolean, if it is part of the boolean expression. However, you cannot convert a PHP object into PHP value using a type cast. The only exception is the (string) type cast, which internally calls $res->__toString()[1].
Therefore the PHP/Java Bridge library contains two special procedures, one to fetch a PHP value from a Java object, the other one to cast a Java object into a PHP primitive type. Please see our documentation for details.
Regards,
Jost Boekemeier
[1] PHP's behaviour is insane, of course. In order to convert the following PHP object into a value one needs two type casts:
class Clazz_ONE {
function __toString() { return "1"; }
}
$one = new Clazz_ONE();
var_dump( (int) $one)
=> ERROR
var_dump( (int)(string) $one)
=> 1
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
|
|
From: <php...@li...> - 2008-09-03 16:04:11
|
Roger says:
>>You must change your method declaration by (notice the native boolean):
>>*public boolean isValidAccountNumber(String acctnum) {*
Thank you. I will try this when I get a chance and let you know. Since
it is working, I have moved to another assignment, but when I get time I
will try this. I appreciate the information. I wasn't aware of the
difference between boolean and Boolean.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
|
|
From: <php...@li...> - 2008-09-03 15:34:34
|
Of course, the error is in the method declaration, see:
*public Boolean isValidAccountNumber(String acctnum) { *
Java is performing an automatic typecasting from native boolean to object
java.lang.Boolean.
You must change your method declaration by (notice the native boolean):
*public boolean isValidAccountNumber(String acctnum) {*
Please test this change and give your feedback.
Greetings from Cartagena / Colombia
--
Roger Padilla
On Wed, Sep 3, 2008 at 9:57 AM, <php...@li...
> wrote:
> Benjamin wrote:
> >>I had a similar problem and I use java_values() to solve, try :
>
> >>if( java_values($IDEAS->isValidAccountNumber($acctnum)) ){
>
> That was it. Thanks so much Benjamin.
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-09-03 14:57:01
|
Benjamin wrote:
>>I had a similar problem and I use java_values() to solve, try :
>>if( java_values($IDEAS->isValidAccountNumber($acctnum)) ){
That was it. Thanks so much Benjamin.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
|
|
From: <php...@li...> - 2008-09-03 14:51:07
|
>>That's so strange... in PHP the number 1 is like true, that also not works >>for you? I believe the problem is that after the call, $res contains a Java Boolean object, not the boolean value of 0 or 1. I am trying the java_values approach now. Charles Shaffer Senior Analyst NTN-Bower Corporation |
|
From: <php...@li...> - 2008-09-03 14:39:54
|
That's so strange... in PHP the number 1 is like true, that also not works
for you?
On Wed, Sep 3, 2008 at 9:37 AM, <php...@li...
> wrote:
> >>Just try:
>
> >>// Notice the !
> >>if(!$res){
> >> ...
> >>}
>
> Same thing.
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-09-03 14:37:10
|
>>Just try:
>>// Notice the !
>>if(!$res){
>> ...
>>}
Same thing.
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
|
|
From: <php...@li...> - 2008-09-03 14:17:19
|
I had a similar problem and I use java_values() to solve, try :
if( java_values($IDEAS->isValidAccountNumber($acctnum)) ){
...
}
Hope this Help,
Benjamin.
php...@li... a écrit :
>>> Try:
>>>
>
>
>>> $res = (bool) $IDEAS->isValidAccountNumber($acctnum) ;
>>> if ($res === false) {
>>>
>
> I tried
> $result = (bool)$IDEAS->isValidAccountNumber($acctnum);
> echo "result = $result";
>
> And got
> result = 1
>
> This can't be correct because I set up the isValidAccountNumber function
> to always return false.
>
> I tried
> $result = $IDEAS->isValidAccountNumber($acctnum);
> echo "result = $result";
>
> And got
> result = [[o:Boolean]:"false"]
>
> At least false is in there somewhere. I guess the question I should be
> asking is how do I extract the value from the Boolean object returned by
> Java?
>
> When I try
> $resval = $result->value;
> echo "resval = $resval";
>
> It takes a dump
> Error [[o:Exception]:"java.lang.Exception: GetProperty failed:
> [[o:Boolean]]->value.
> Cause: java.lang.NoSuchFieldException: value (with args:).
>
> If not value, then what?
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|
|
From: <php...@li...> - 2008-09-03 14:12:22
|
Just try:
// Notice the !
if(!$res){
...
}
On Wed, Sep 3, 2008 at 9:05 AM, <php...@li...
> wrote:
> >>Try:
>
> >>$res = (bool) $IDEAS->isValidAccountNumber($acctnum) ;
> >>if ($res === false) {
>
> I tried
> $result = (bool)$IDEAS->isValidAccountNumber($acctnum);
> echo "result = $result";
>
> And got
> result = 1
>
> This can't be correct because I set up the isValidAccountNumber function
> to always return false.
>
> I tried
> $result = $IDEAS->isValidAccountNumber($acctnum);
> echo "result = $result";
>
> And got
> result = [[o:Boolean]:"false"]
>
> At least false is in there somewhere. I guess the question I should be
> asking is how do I extract the value from the Boolean object returned by
> Java?
>
> When I try
> $resval = $result->value;
> echo "resval = $resval";
>
> It takes a dump
> Error [[o:Exception]:"java.lang.Exception: GetProperty failed:
> [[o:Boolean]]->value.
> Cause: java.lang.NoSuchFieldException: value (with args:).
>
> If not value, then what?
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Roger José Padilla Camacho
|
|
From: <php...@li...> - 2008-09-03 14:06:10
|
>>Try:
>>$res = (bool) $IDEAS->isValidAccountNumber($acctnum) ;
>>if ($res === false) {
I tried
$result = (bool)$IDEAS->isValidAccountNumber($acctnum);
echo "result = $result";
And got
result = 1
This can't be correct because I set up the isValidAccountNumber function
to always return false.
I tried
$result = $IDEAS->isValidAccountNumber($acctnum);
echo "result = $result";
And got
result = [[o:Boolean]:"false"]
At least false is in there somewhere. I guess the question I should be
asking is how do I extract the value from the Boolean object returned by
Java?
When I try
$resval = $result->value;
echo "resval = $resval";
It takes a dump
Error [[o:Exception]:"java.lang.Exception: GetProperty failed:
[[o:Boolean]]->value.
Cause: java.lang.NoSuchFieldException: value (with args:).
If not value, then what?
Charles Shaffer
Senior Analyst
NTN-Bower Corporation
|