I have a weird problem with PHP array.
Locally, when logged array looks like this:
array( 0 => '7')
Same array when logged on server looks like this:
array(7);
I am logging it using Monolog \Log::info
method. PHP version on server is 5.5.20 and locally 5.6.6 I am using Laravel framework version 4.2
I was trying to enforce all kinds of casting, and adding keys but no luck. This small difference is responsible for huge bug in my app.
Thanks