initial move on renaming files and fixing includes
applied and fixed the original patch

initial work on the patch import done
preserve the error code

otherwise it'd be cleared by a subsequent calls
fixed all the places where last error could be lost

whereby this commit should be applied to master anyway
updated NEWS
fixed virtual cwd header in phar
fixed invalid free
moved to do_alloca() usage where appropriate
enabled windows to use stack in both ts/nts mode, some more fixes
Merge branch 'bug50333' of github.com:weltling/php-src into bug50333
back to do_alloca(), reverted the wrong replacement
compact the code to preserve the error info after state freeing
getallheaders for php-fpm #62596
simplify the state free macros
removed unnecessary call
back to do_alloca()
virtual_cwd_activate() should be called only in one place
reverted the previous commit, both calls are needed in TS mode
limit virtual_cwd_activate() duplicated call to ZTS only
Remove outdate codes, make it clearer, although just a bit..