We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16cd56c commit 99a28f5Copy full SHA for 99a28f5
1 file changed
src/Kernel/Mnemonics/_multianewarray.php
@@ -1,15 +1,20 @@
1
<?php
2
namespace PHPJava\Kernel\Mnemonics;
3
4
-use PHPJava\Exceptions\NotImplementedException;
5
-
6
final class _multianewarray implements OperationInterface
7
{
8
use \PHPJava\Kernel\Core\Accumulator;
9
use \PHPJava\Kernel\Core\ConstantPool;
10
11
public function execute(): void
12
13
- throw new NotImplementedException(__CLASS__);
+ $cp = $this->getConstantPool();
+ $index = $this->readUnsignedShort();
+ $dimensions = $this->readByte();
14
+
15
+ $descriptor = $cp[$cp[$index]->getClassIndex()]->getString();
16
17
+ var_dump($descriptor, $dimensions);
18
+ exit();
19
}
20
0 commit comments