summaryrefslogtreecommitdiff
path: root/ext/rpc/java/except.php
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2003-06-25 00:28:10 +0000
committerSterling Hughes <sterling@php.net>2003-06-25 00:28:10 +0000
commit09927a7ba242e7d48100bf7cd43824c5528d5792 (patch)
treed47efdc84c7deb6e12e8deaa5dcf321f837a08b5 /ext/rpc/java/except.php
parent211ca9d9e59152438b236fbbf679cac975decc51 (diff)
downloadphp-git-09927a7ba242e7d48100bf7cd43824c5528d5792.tar.gz
moved to pecl by sascha. remove them from head.
discussed with harald, will remain in pecl till he has some more time to work on it.
Diffstat (limited to 'ext/rpc/java/except.php')
-rw-r--r--ext/rpc/java/except.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/rpc/java/except.php b/ext/rpc/java/except.php
deleted file mode 100644
index a7e6a79c08..0000000000
--- a/ext/rpc/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();
-?>