summaryrefslogtreecommitdiff
path: root/ext/java/except.php
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-05-26 12:54:20 +0000
committerSVN Migration <svn@php.net>2002-05-26 12:54:20 +0000
commit64f6b9bdc0080ea3b70def3fd285283901712f5f (patch)
tree38cef23d834d27a17a2b74d9545b177bfee962ac /ext/java/except.php
parent7168cb0567170b9a2beceb427970607e3eaeb63e (diff)
downloadphp-git-RELEASE_0_10.tar.gz
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_10'.RELEASE_0_10
Diffstat (limited to 'ext/java/except.php')
-rw-r--r--ext/java/except.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/java/except.php b/ext/java/except.php
deleted file mode 100644
index a7e6a79c08..0000000000
--- a/ext/java/except.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?
- $stack=new Java("java.util.Stack");
- $stack->push(1);
-
- #
- # Should succeed and print out "1"
- #
- $result = $stack->pop();
- $ex = java_last_exception_get();
- if (!$ex) print "$result\n";
-
- #
- # Should fail - note the "@" eliminates the warning
- #
- $result=@$stack->pop();
- $ex=java_last_exception_get();
- if ($ex) print $ex->toString();
-
- #
- # Reset last exception
- #
- java_last_exception_clear();
-?>