That would be for php 7.2.0 specifically.
That's not really an ideal solution though, as it will only work on that specific version, and it will only stop SMF from logging the error. It won't do anything to stop your server still probably having thousands of those errors logged.
Something like E_DEPRECATED && (version_compare(phpversion(), '7.2') >= 0)
would probably be better for the version comparison.
Officially, SMF 2.0 does not support 7.2