Function Java
Access the java type with the given name.
This procedure can be
used to access constants or procedures within a class.
To access class features, use the java constructor instead.
Example:
java("java.lang.Long")->MAX_VALUE
Any declared exception can be caught by PHP code.
Exceptions derived from java.lang.RuntimeException or Error must
not be caught unless declared in the methods throws clause -- OutOfMemoryErrors cannot be caught at all,
even if declared.
string |
$name |
type name |