Merge branch 'hotfix/#7002-form-escape-encoding-passed-to-escapehtmlattr-helper'

Close #7002
optimized performance of ZendStdlibAbstractOptions
#7006 - cs fixes (calisthenics)
#7006 - cs fixes (avoiding unused vars)
#7006 - `sprintf` over string concatenation
#7006 - `sprintf` over string concatenation
Merge branch 'performance/#7006-abstractoptions-case-insensitive-method-calls' into develop

Close #7006
Forward port #7006