From professional translators, enterprises, web pages and freely available translation repositories.
?php $stack = new java('java.util.stack'); $stack- push(1); // this should succeed $result = $stack- pop(); $ex = java_last_exception_get(); if (!$ex) print "$result\n"; // this should fail (error suppressed by @) $result = @$stack- pop(); $ex = java_last_exception_get(); if ($ex) print $ex- tostring(); // clear last exception java_last_exception_clear();?
zurück