> if i use array instead of ptr uncheckedarray, then i don't need dealloc. > right??
The array type is stack-allocated so not need for `dealloc`, which is for heap memory. It gets freed automatically when its declaring stack frame exits. Also, the `$` operator is redundant for `echo`.