• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XenForo_Input cleaning array of uints?

Chris D

XenForo developer
Staff member
Do you mean this?

$uints = $this->_input->filterSingle('uints', array(XenForo_Input::UINT, 'array' => true));


Well-known member
What if I am using XenForo_Input::rawFilter? I have this line of code:

XenForo_Input::rawFilter($arrayOfUInts, XenForo_Input::UINT, array("array" => true));
but it spits out an int instead.