Page 1 of 1

is there is any default function in string?

Posted: Sun Nov 09, 2008 8:38 pm
by jas1n2007
$gate_extra = array('initialize' => 'user_login_initialize',
'verify' => 'user_login_verify',
'destroy' => 'user_login_destroy',
'data' => array('user_id' => $user_id));

assert(function_exists($gate_extra['initialize']));
if (!$gate_extra['initialize']($gate_extra['data'])) {
// Fail to initialize!
echo($gate_extra['initialize']);
return false;
}


i wonder in what condition will the < if (!$gate_extra['initialize']($gate_extra['data'])) > have value of true ??

can any body help me?
i've been trying to find the answer for 3 days... :banghead:

thanks & regards,
- Jasin Tanuwijaya

Re: is there is any default function in string?

Posted: Sun Nov 09, 2008 8:56 pm
by requinix
Depends what user_login_initialize does.