Advanced PHP
Q77 / 100

What is PHP's named arguments interaction with function signature changes?

Correct! Well done.

Incorrect.

The correct answer is B) Renaming a parameter in a library function breaks callers using named arguments for that parameter — a BC-breaking change

B

Correct Answer

Renaming a parameter in a library function breaks callers using named arguments for that parameter — a BC-breaking change

Explanation

Named arguments bind by parameter name, so renaming a parameter is a breaking change for any callers relying on the old name.

Progress
77/100