When I use this
The first record of the table is found, is this correct ?
On the contrary
No record found (to me correct)
Yeah you're right. But remember that
Admin::findFirst() is the same as
Admin::findFirst(0), if you're using unsigned int with autoincremente, it's correct (because it starts at 1).
1) Yeah, is very dangerous, they had to fix that checking that
$var != undefined && $var != NULL (@phalcon).
2) When some user logs in, the developer has to set some way (DB, access file) to say that the user is already log on. So I don't think so that will happen normally.