is there is any default function in string?
Posted: Sun Nov 09, 2008 8:38 pm
$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...
thanks & regards,
- Jasin Tanuwijaya
'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...
thanks & regards,
- Jasin Tanuwijaya