Using CLIFramework 3: in ArgInfo::validate():
return call_user_func($this->validator);
Unless I am missing something, there is no way for the validator to get the value to validate so validator is kindof pointless. Prolly should be
return call_user_func($this->validator,$value);