Whilst upgrading my REGEXP question type to Moodle 2.3 (dev), just came across this problem.
I have read MDL-26796 "stop accepting arrays in required_param() and optional_param()".
In my edit_regexp form I need to retrieve the question's feedback arrays. If I use optional_param(), moodle complains that "clean_param() can not process arrays, please use clean_param_array() instead."
If I use optional_param_array(), I get the same error message. It took me some time and looking into moodlelib to realize that the problem is this:
in function optional_param_array() : Note: arrays of arrays are not supported, only alphanumeric keys with _ and - are supported.
This worked fine before Moodle 2.3. Please advise what I can do now.
In the question edit form, feedbacks are in arrays of arrays like see attached.
Joseph
EDIT.- Of course I could always use $_POST[], but I'd rather use the Moodle API if at all possible.