I am trying to convert indexed array to normal array. Basically what get is:
Array (  => 14  => 19  => 20 )
You're chasing shadows:
Both of the arrays you've shown are equal.
There is no such thing as an unindexed array in PHP.
But if you really want to be sure, use
$newArray = array_values($array)