avoid strlen usage in loop
fixed copying of the struct as it's not being modified

in the subsequent function call
Fixed bug #67633
Merge branch 'PHP-5.5' into PHP-5.6
Merge branch 'PHP-5.6'

Conflicts:
	Zend/zend_compile.c