For extensions building with USES=php:ext or USES=php:zend, there is now a PHP_MOD_PRIO that is automatically set.
- If the extension doesn't depend on any other extension, it's set to 20.
- If the extension needs another extension (USE_PHP is set), it gets 30.
If the extension needs to be loaded before everything (like opcache, or ioncube) it manually gets a lower number, 5 or 10.
If there is an extension that needs an extension that's 30, well the framework can't know that, so, it'll need to to manually get a PHP_MOD_PRIO, of 40 for instance.