PHP is exactly the same on Linux and Windows as long as you are using good coding practices, are not using deprecated variables and functions, are not suppressing error messages, are not porting code from an older version of PHP. See, I maintain code on a project that was originally contracted to someone in the United States who failed to tell his client that all he was doing was outsourcing the project to a foreign company. He lost the contract to me when that foreign company became unresponsive to change requests. Many of the comments and variable names are in a foreign language that I do not recognize. The code looks like the foreign company had once written a CMS and just resell it shoehorning new features with hacks. There are many weaknesses to their code but this is not about judging other developers. This post is to warn that although PHP should conceptually move seamlessly from a Linux environment to a Windows Server environment, in reality it doesn’t.
Husband to one wonderful wife, father to five fantastic children, juggler, technophile, freelancer, DIYer, adventurer, volunteer
Disclosure: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for me to earn fees by linking to Amazon.com and affiliated sites.