To understand why I\'m asking this, read this and the comments under it. Consider the following code:
$obj = new stdClass; $obj->{10} = \'Thing\'; $objArray
You can try to remove it with array_splice(), if you know its offset ( foreach (...) { $offset++; ... } ), but storing data in an arrays like this, is really not a good idea. You should convert these objects to array with foreach:
array_splice()
foreach (...) { $offset++; ... }
foreach ( $obj as $key => $value ) $array[$key] = $value;