Fine tuned the order of adding request variables.
Fixed #67985 - Incorrect last used array index copied to new array after unset

In master zend_array_dup() is used to do this properly; this is a workaround.
Bug #67965: Fix blocking behavior in non-blocking crypto streams
Bug #41631: Fix regression from first attempt (6569db8)