function efBadImage($image, &$bad) { if (BadImageList::check($image)) { $bad = true; return false; } else { return true; } }