Hi,
PHP 5.3 now contains a module system with namespaces, symbol aliases etc.
Please see your PHP 5.3 documentation for details.
Example:
<?php java_autoload();
use java::lang::String as JString;
echo new JString("test");
?>
The separator has been changed from PHP 5.3 RC to 5.3 final. The example
uses the old :: syntax. You can also open complete environments, as in other
modern module systems, see your PHP docu for details.
Regards,
Jost Boekemeier
30. Jun 2009 4:28 nachm. schrieb am <
php...@li...>:
How can i import a class in php bridge.
How can I use this:
import java.util.Date;
and not
$system = new Java('java.lang.Date');
Like in java???
Best Regards,
--
Belchior Palma
---------------------------------------------------------------------
Tel: +55 18 9133-8043
------------------------------------------------------------------------------
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|