Merge branch 'performance/#6562-isset-over-array-key-exists'

Close #6562
fixes #6435: Race Condition in filesystem cache on prepare directory structure
Merge branch 'hotfix/#6573-zend-cache-filesystem-race-conditions-fixes-for-#6435' into develop

Close #6573
Close #6435
Forward port #6573
Forward port #6435