SyntaxFix
Write A Post
Hire A Developer
Questions
Use int(@array) as it threats the argument as scalar.
int(@array)