Skip to content

Commit 99a28f5

Browse files
committed
WIP
1 parent 16cd56c commit 99a28f5

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
<?php
22
namespace PHPJava\Kernel\Mnemonics;
33

4-
use PHPJava\Exceptions\NotImplementedException;
5-
64
final class _multianewarray implements OperationInterface
75
{
86
use \PHPJava\Kernel\Core\Accumulator;
97
use \PHPJava\Kernel\Core\ConstantPool;
108

119
public function execute(): void
1210
{
13-
throw new NotImplementedException(__CLASS__);
11+
$cp = $this->getConstantPool();
12+
$index = $this->readUnsignedShort();
13+
$dimensions = $this->readByte();
14+
15+
$descriptor = $cp[$cp[$index]->getClassIndex()]->getString();
16+
17+
var_dump($descriptor, $dimensions);
18+
exit();
1419
}
1520
}

0 commit comments

Comments
 (0)