I am trying to make phalcon\validation to be require when exist the field in post or only to validate on create new user. However since the source code is compiled in C therefore I donno what is inside the code happen.
I am trying to do something in user model like
if(*syntax*){
$this->validate(new Email(
array(
"field" => "email",
"message" => "Email format error"
)
));
}
Donno if I have seen the correct source code actually, issit the cphalcon-master\build\64bits\phalcon.c ? I just dont seem to understand those 7572409594392423UL , 193489362UL things.