fix(PHP): Prevent max_input_vars and max_file_uploads corruptions (closes #4544)