$class = 'ArrayIterator';
eval("@\$object = new \$class();");
printf("%s class parents: %s
\n", $class, print_r(class_parents($object), TRUE));
printf("%s class implements: %s
\n", $class, implode(', ', class_implements($object)));
printf("%s class methods: %s
\n", $class, implode(', ', get_class_methods($class)));
?>