See https://github.com/phpbb/phpbb3/pull/1180/files#r2593347