Have you tried restarting your computer?Guess tomorrow's plan is to reinstall php.
At this point there are pretty much only three options. Php itself is broken on your machine, some other thing on your computer is causing this, you found a glitch in the matrix.
Or maybe set up an ide finally.