PHP and Windows are often enough at odds that not having a nice REPL is probably going to be the least of your problems. The other poster is right, bring up a VM and be happy.
I've even got a client on an ancient Windows 2000 box running PHP. Took all of an hour to get running. Yes, not the most preferred stack, but they aren't at odds.
If you hard-code paths in the code that refer to Linux-specific things, it won't work in Windows.
That said, if it works on Windows, it will most likely work on Linux, but a VM should still be favored due to the probability of prod being Linux.