Menu

[r902]: / branches / Release-5-5-1 / php-java-bridge / tests.php5 / testCoerceArray.php  Maximize  Restore  History

Download this file

17 lines (14 with data), 319 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<?php
require_once ("java/Java.inc");
$here=getcwd();
try {
java_require("$here/testCoerceArray.jar");
$t1 = new java("TestCoerceArray");
$t2 = new java("TestCoerceArray");
echo java("TestCoerceArray")->f(array($t1, $t2)); echo "\n";
} catch (Exception $e) {
echo "test failed\n";
exit (1);
}
exit(0);
?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.