Version 6 used a function in older versions of php that is deprecated. Doesn't matter, because the latest version of .threads, being newer, doesn't have the same thing.
You're seeing a warning from the newer version of php that essentially says "hey, don't do that anymore because soon it will not work." Still works for now, just throws an ugly warning. Well, yes, we know that. that's why version 7 doesn't do that anymore.

Options are to hide these warnings, as Gizzy instructed, or continue to upgrade, in which the issue is not longer an issue.