<pre>
<?php
$arr = array('4' => 'foo', '4x' => 'bar'); $obj = (object)$arr;
echo "Let's say foo: \n".$obj->{'4'}."\n";
echo "Let's say bar: \n".$obj->{'4x'}."\n";
PHByZT4KPD9waHAKCiRhcnIgPSBhcnJheSgnNCcgPT4gJ2ZvbycsICc0eCcgPT4gJ2JhcicpOwokb2JqID0gKG9iamVjdCkkYXJyOwpwcmludF9yKCRvYmopOwoKZWNobyAiTGV0J3Mgc2F5IGZvbzogXG4iLiRvYmotPnsnNCd9LiJcbiI7CmVjaG8gIkxldCdzIHNheSBiYXI6IFxuIi4kb2JqLT57JzR4J30uIlxuIjsK