Try this code:
<pre><?php
$input = (object)(array) 123;
$reflection = new ReflectionObject($input);
var_dump($reflection->hasProperty('0'));
?></pre>
This will show you that although you can still see the value in var_dump($input), it is not considered a property. And if you ask getProperties(), you will not get any conclusion.
.. , , , ? , , .