[ticket/12610] Add an argument to check the version of the extensions

PHPBB3-12610