#define ZEND_MOD_CONFLICTS(name) ZEND_MOD_CONFLICTS_EX(name, NULL, NULL)
#define ZEND_MOD_OPTIONAL(name) ZEND_MOD_OPTIONAL_EX(name, NULL, NULL)
+#define ZEND_MOD_END { NULL, NULL, NULL, 0 }
+
struct _zend_module_dep {
const char *name; /* module name */
const char *rel; /* version relationship: NULL (exists), lt|le|eq|ge|gt (to given version) */
static const zend_module_dep dom_deps[] = {
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_CONFLICTS("domxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
zend_module_entry dom_module_entry = { /* {{{ */
#if EXIF_USE_MBSTRING
ZEND_MOD_REQUIRED("mbstring")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
/* {{{ imap dependencies */
static const zend_module_dep imap_deps[] = {
ZEND_MOD_REQUIRED("standard")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
#if defined(MYSQL_USE_MYSQLND)
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysql_module_entry
#if defined(MYSQLI_USE_MYSQLND)
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysqli_module_entry
static const zend_module_dep mysqlnd_deps[] = {
ZEND_MOD_REQUIRED("standard")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ mysqlnd_module_entry
#ifdef HAVE_SPL
ZEND_MOD_REQUIRED("spl")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_dblib_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_firebird_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#ifdef PDO_USE_MYSQLND
ZEND_MOD_REQUIRED("mysqlnd")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_oci_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_odbc_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_pgsql_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#if ZEND_MODULE_API_NO >= 20050922
static const zend_module_dep pdo_sqlite_deps[] = {
ZEND_MOD_REQUIRED("pdo")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
/* }}} */
#if HAVE_SPL
ZEND_MOD_REQUIRED("spl")
#endif
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
zend_module_entry phar_module_entry = {
static const zend_module_dep session_deps[] = { /* {{{ */
ZEND_MOD_OPTIONAL("hash")
ZEND_MOD_REQUIRED("spl")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
static const zend_module_dep simplexml_deps[] = { /* {{{ */
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_REQUIRED("spl")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
static const zend_module_dep standard_deps[] = { /* {{{ */
ZEND_MOD_OPTIONAL("session")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* }}} */
#ifdef LIBXML_EXPAT_COMPAT
static const zend_module_dep xml_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
#endif
static const zend_module_dep xmlreader_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ xmlreader_module_entry
static const zend_module_dep xsl_deps[] = {
ZEND_MOD_REQUIRED("libxml")
- {NULL, NULL, NULL}
+ ZEND_MOD_END
};
/* {{{ xsl_module_entry