Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@asgs this can go all up the stack.
Different locale behaviour, newline behaviour, charset configuration.
RegEx is a fragile thing when it comes to OS specific behaviour -
C0D4681453yYour first mistake was thinking php behaves the same on different environments.
Your second mistake was regex. 😅 -
@Maer validated on regexer, static input… I ended up giving up and splitting and joining the text where I needed :s
Oh sorry, I mean “ExPlOdInG and ImPlOdInG”
… stupid php -
Maer17823y@piratefox Too bad, we shall never know what went down there. But hey, at least it's working now.
-
@BixelPitch told my manager since I’ve been here! Buuut we “dont have time for it”
-
@BixelPitch tried to, they kept saying devs should have a working local environment and that that is our priority.
… to which I replied that… docker machine = an environment which can be run locally
But the more I tried to explain them that docker IS the fucking environment they want, the more they opposed. :/
Would just do it on my side, but we need passwords and bs to pull the custom library (cause ofc we have custom libraries… which basically don’t do anything but hey, using phar and fucking the whole project is nice) we use and security doesn’t trust the devs so we’re stuck having half-working crap.
“You guys should really read the unicorn project”
“Don’t have time for that”
“It shows.”
Related Rants
I created a regex which works locally but not on a remote installation with the same php version.
I am confused… very confused
rant
regex
wtf?
php