Are you sure you want to do it this way? It's a lot more overhead, especially if you are just working with a data set.
But if you do want to do it this way, then you need to use "variable variables". Here is one way you can do it.
<?php
$obj_id = 0;
$obj_base = "my_obj";
//When creating a new object do it this way.
$obj_id++;
$obj_name = $obj_base . $obj_id;
new $$obj_name = new myObject();
?>
Now you will have an object called $my_obj1 or whatever $obj_id was, and you have a variable that will tell you how many objects you've created. But I highly recommend that you do some more research, cause I don't think this is an optimal solution.