My employer provided me with a new laptop last week (with windows 10) and now it seems that whenever I update code in my PHP scripts it causes some wierdness (odd issues that I have never seen before).
Prior to this I was using Windows 7 and XP before that and never had the issue.
I have to pain in the butt examples to provide. Hoping someone can shed some light for me.
scripts that so any kind of searching and replacing are not behaving properly. So code that use str_replace() does not seem to find and replace what it needs to. All I did was update some code in a file that uses the str_replace() and the function stopped working as expected.
the application above has another component that sends html email. Now when emails get sent, they are not formatted in html anymore. Everyone just comes in unformatted.
At this point I am afraid to work on others applications in my infrastructure as I fear those will start acting oddly as well.
All I can think of at this point is perhaps an encoding issue with my text editor or Windows? I have no idea though.
For the most part i use notepad++ and winscp to code.
In the past I would sometimes work directly on the server (has samba installes) but I cannot do this anymore as it’s an older server and the policy on our windows 10 machines and work blocks doesn’t let us connect to older SMB protocols.
Does anyone have any ideas? I am stumped.