For those who want to build on Windows with MSVC and Linux, with Cmake: https://github.com/jefrisibarani/PHP-CPP-cmake