For example, I was using Laravel on Windows, PHP 5.5.24 and now I have switched to Ubuntu with PHP 5.6.11 and some strange things have happened.
For example:
$spec = $advert->Category->specifications->where('groupid', 2);
String looks fine, but on Ubuntu all where
clause parameters must be strings like:
$spec = $advert->Category->specifications->where('groupid', '2');
I'm not sure if it's PHP's fault, or MySql, or even my IDE.