SVN post/pre commit hook to check php syntax on windows
问题 I have recently migrated my SVN server to a windows server. It all went very smoothly - it was too good to be true - so it turned out. I have/had a pre-commit hook which ran a syntax check on any PHP file committed and rejected the commit with a suitable error message if it failed the check - I will copy this below. Obviously this does not work on Windows, and I have not been able to find an alternative which does. Does anyone out there have anything? I wouldn't really know where to start