|
From: <php...@li...> - 2008-01-21 09:16:12
|
Hi,
> $obj = new Java("parser.ParseNode);
> echo $pobj->printHello(); //printHello is a static
should print something to the debug log.
> //printTest is not a static function
If the method printTest cannot be called, it means that the defining class is static or it has a
non-public constructor, in which case the PHP/Java Bridge returns the type instead of an instance.
(This behaviour is for compatibility with other bridges, but the recommended way to access a type
is through the java() function, of course.)
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|