paragi / sphp

A snappy PHP execution module / middleware
46 stars 14 forks source link

Option B: Windows Compat, Socket Fix, Reworkings and Refactoring #11

Closed Apollon77 closed 6 years ago

Apollon77 commented 6 years ago

Please check and accept the testing commit first. Or only accept this one, but follow things described there first!!

This PR will also fix windows compatibility and will do a lot more. We went over the file, refactored some codeparts and also found a sockets bug. In general it is now more "state of the art". Also it allows to hand ver an object to "express" to not need to set direct library properties, but provide then in an "object" form as it is done normally in nodejs libs these days.

Your decision if you take this one. If you decide against it I can try to re-find the socket-bug and provide.