ң

java_last_exception_get

(PHP 4 >= 4.0.2)

java_last_exception_get - Java-.

exception java_last_exception_get (void)

Java- PHP:

1. Java
<?php $stack = new Java('java.util.Stack'); $stack->push(1); // $result = $stack->pop(); $ex = java_last_exception_get(); if (!$ex) print "$result\n"; // ģ ( @) $result = @$stack->pop(); $ex = java_last_exception_get(); if ($ex) print $ex->toString(); // java_last_exception_clear(); ?>

ң
java_last_exception_clear LDAP