fix(getResPhpFunc): Evaluate '{XXX}' notation in autocompletions (closes #5151)