Handling optional input parameters in PHP with
I had an interesting use-case with a customer for which I provide consulting services: they needed multiple fields to be marked as "optional".
Example: updating a user
We will take a CRUD-ish example, for the sake of simplicity.
For example, in the following scenario, does a
$description mean "remove the description",