I've encountered a strange bug in my Laravel application.
A property status
of a model x
is an integer in localhost, but is a string in my production server.
"status" => 1 "status" => "1"
This throws an error in my application because I'm using strict comparison.
Both use Laravel Framework 5.4.1 on PHP 5.6, with MySQL.
So I have no idea where the difference comes from... Do you?
via Jachinair