Download this file
17 lines (14 with data), 261 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | #!/usr/bin/php
<?php
require_once ("java/Java.inc");
$s=new java("java.lang.String", 12);
$c=$s->getBytes("ASCII");
if(java_values($c[0])==ord('1') && java_values($c[1])==ord('2')) {
echo "test okay\n";
exit(0);
}
else {
echo "ERROR\n";
exit(1);
}
?>
|
×
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.