I have a function right here:
function loginForm($post){
$username = c($post['username']);
$password = md5(c($post['password']));
if($this->login($username,$password))
$this->setCookies($post);
}
As you can see the username and password are returned from a function called
c()
(which is just $mysqli->real_escape_string()
).
Now, as you can see in the password field, there are 2 functions.
$password = md5(c($post['password']));
My question is, will the c()
function run first, or the md5
function will run first? I'm almost sure the c()
function is running first, but I'm not sure.