I'm debugging someone else old code, I think it has been made under php5 and I'm debugging after migrating to php8. The question I have is just about a syntax I haven't seen before, I don't know how to google and I can't test. I found this:
$aSelectedAssignmentFields=$advanced_options[assignment_fields];
And I don't know what it means. The value inside of the square brackets doesn't have a dollar sign or quotes. There is a class with that name but because of other issues I can't run it and check if that's right or wrong. It would be weird that is wrong, it would not that is outdated and in case it's right I would like to know what does it mean.
Thanks
var_dump($advanced_options)and check if it has a keyassignment_fields. I guess they just forgot the quotes