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
-
sounds like different php versions or previous variables that lead up to this, having other data on the server, therefore this one being casted to string?
-
@JoshBent Yep, php 7.2 on the server and 7.1 locally. but on the other hand, the database on the server is mssql.
So it could also be the driver? -
Meta33867y@raldo94 MSSQL ... I feel bad for you.
Looking at how Excel also fucks up every kind of type parsing, I don't think Microsoft did better there. -
@Meta ye, php and mssql on Linux isn't an great fit, but it has got a lot better in the last year, the devs at ms has been working hard on their new driver https://github.com/Microsoft/...
-
Lyniven45597y@raldo94 mssql..making this fcking pdo odbc driver in cpanel almost killed me, piece of shit 🔪🔪
How the fuck does php type juggleling evaluate an variable as an integer on my system and passing all tests.
Then on the server as string, failing a typesafe comparison for authentication.
rant