Example syntax:
temp.a = new[3];
temp.a[1] = 2;
//Output 0,2,0
echo(a);
Opcode value (from decompiler):
The NewArray opcode basically has a size parameter that indicates how big the array should be. It will pop the top value from the stack as the size.
Example syntax:
Opcode value (from decompiler):
The
NewArrayopcode basically has a size parameter that indicates how big the array should be. It will pop the top value from the stack as the size.