Given the following two functions, what statement is correct?
function dynamicNew($name) {
return new $name;
}
function reflectionNew($name) {
$r = new ReflectionClass($name);
return $r->newInstanceArgs();
}
What is the output of the following code?
Which one of the following technologies was not built into PHP before version 5?
How can the constant defined below be accessed from within PHP?
class myClass {
const FOO = 'BAR';
}