Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[NFR] Explicitly mention dependecies on modules used at coompile time #840
Right now Phalcon uses SPL, PCRE, JSON, Session modules if they present at compile time. Those modules can be built either statically into PHP or as DSOs.
If a module Phalcon depends on is built as a DSO and then later is disabled in php.ini, this may lead to very interesting crashes due to unresolved external symbol. Module dependencies will ensure that all required modules are present at runtime and provide meaningful diagnostics if one of the required modules is missing.
This PR implements the following:
To be done: