Merge branch 'hotfix/#6634-allow-crossorigin-headscript-attribute'

Close #6634
#7012 - removing incompatible PHP 5.4 syntax from test script
#7012 - removing incompatible PHP 5.4 syntax from test script
Merge pull request #7013 from Ocramius/hotfix/#7012-zend-view-php-5.4-syntax-removal

Hotfix/#7012 zend view php 5.4 syntax removal
Merge branch 'hotfix/#7012-zend-view-php-5.4-syntax-removal' into develop

Close #7012
Close #7013
Forward port #7013