Skip to content

Commit fb87da5

Browse files
committed
Add bi
1 parent e91092f commit fb87da5

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

bin/PHPJava.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
use PHPJava\Core\JavaArchive;
4+
use PHPJava\Core\PHPJava;
5+
6+
require __DIR__ . '/../vendor/autoload.php';
7+
8+
if (!isset($argv[1])) {
9+
echo "First parameter is needed.\n";
10+
return;
11+
}
12+
13+
$jar = new JavaArchive($argv[1]);
14+
$arguments = array_slice($argv, 2);
15+
$jar->execute(
16+
[]
17+
);

0 commit comments

Comments
 (0)