Class Java
The Java proxy class.
Use this class to create a Java instance. Use the Java function to access a Java type.
Example which creates an instance:
$s = new Java("java.lang.String", "hello");
Any declared exception can be caught by PHP code.
Exceptions derived from java.lang.RuntimeException or Error should
not be caught unless declared in the methods throws clause --
OutOfMemoryErrors cannot be caught at all, even if declared.
- java_AbstractJava implements IteratorAggregate, ArrayAccess, java_JavaType
- Java