We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd2010f commit 16cd56cCopy full SHA for 16cd56c
1 file changed
src/Kernel/Mnemonics/_arraylength.php
@@ -9,6 +9,8 @@ final class _arraylength implements OperationInterface
9
public function execute(): void
10
{
11
$arrayref = $this->popFromOperandStack();
12
- $this->pushToOperandStack(count($arrayref->toArray()));
+ $this->pushToOperandStack(
13
+ count($arrayref)
14
+ );
15
}
16
0 commit comments