Summer Special Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: vce65

Given the following two functions, what statement is correct?

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();

}

A.

Both functions do the same

B.

dynamicNew() results in a parse error, reflectionNew() works

Zend 200-500 Summary

  • Vendor: Zend
  • Product: 200-500
  • Update on: Jul 25, 2025
  • Questions: 219
Price: $52.5  $149.99
Buy Now 200-500 PDF + Testing Engine Pack

Payments We Accept

Your purchase with ExamsVCE is safe and fast. Your products will be available for immediate download after your payment has been received.
The ExamsVCE website is protected by 256-bit SSL from McAfee, the leader in online security.

examsvce payment method