Given the following two functions, what statement is correct?
<code>
function dynamicNew($name) {
return new $name;
}
function reflectionNew($name) {
$r = new ReflectionClass($name);
return $r->newInstanceArgs();
}
</code>
A.
Both functions do the same
B.
dynamicNew() results in a parse error, reflectionNew() works