I have a PHP array like this one:
array( [0] => 1
[1] => 2
[2] => 3
[3] => Some strings
)
How can I remove an entry that is not an integer number from an array? I need to output this:
array( [0] => 1
[1] => 2
[2] => 3
)
Can someone give me a clue?
See Question&Answers more detail:os