laravel - PHP - Different value shown when accessing id attribute -


i having issue accessing attribute laravel app.

a simple query fetch user this:

$login = users::select('user_id' ,'email', 'password')->where('email', input::get('email'))->first(); 

i've did dd($login) , shows attributes:

enter image description here accessing it's user_id shows different (dd($login->user_id)):

enter image description here

accessing email (dd($login->email)) ok though.

table struct:

enter image description here

well..looks limit php.. i'm using 32-bit php max integer value 2147483647..or switch string.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -