PHP_RINIT(pgsql),
PHP_RSHUTDOWN(pgsql),
PHP_MINFO(pgsql),
- NO_VERSION_YET,
+ PHP_PGSQL_VERSION,
PHP_MODULE_GLOBALS(pgsql),
PHP_GINIT(pgsql),
NULL,
extern zend_module_entry pgsql_module_entry;
#define pgsql_module_ptr &pgsql_module_entry
+#include "php_version.h"
+#define PHP_PGSQL_VERSION PHP_VERSION
+
#ifdef PHP_PGSQL_PRIVATE
#undef SOCKET_SIZE_TYPE
#include <libpq-fe.h>
extern zend_module_entry posix_module_entry;
#define posix_module_ptr &posix_module_entry
+#include "php_version.h"
+#define PHP_POSIX_VERSION PHP_VERSION
+
/* POSIX.1, 3.3 */
PHP_FUNCTION(posix_kill);
NULL,
NULL,
PHP_MINFO(posix),
- NO_VERSION_YET,
+ PHP_POSIX_VERSION,
PHP_MODULE_GLOBALS(posix),
PHP_GINIT(posix),
NULL,
#if HAVE_PSPELL
extern zend_module_entry pspell_module_entry;
#define pspell_module_ptr &pspell_module_entry
+
+#include "php_version.h"
+#define PHP_PSPELL_VERSION PHP_VERSION
+
#else
#define pspell_module_ptr NULL
#endif
zend_module_entry pspell_module_entry = {
STANDARD_MODULE_HEADER,
- "pspell", pspell_functions, PHP_MINIT(pspell), NULL, NULL, NULL, PHP_MINFO(pspell), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
+ "pspell", pspell_functions, PHP_MINIT(pspell), NULL, NULL, NULL, PHP_MINFO(pspell), PHP_PSPELL_VERSION, STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_PSPELL
extern zend_module_entry readline_module_entry;
#define phpext_readline_ptr &readline_module_entry
+#include "php_version.h"
+#define PHP_READLINE_VERSION PHP_VERSION
+
#else
#define phpext_readline_ptr NULL
NULL,
PHP_RSHUTDOWN(readline),
PHP_MINFO(readline),
- PHP_VERSION,
+ PHP_READLINE_VERSION,
STANDARD_MODULE_PROPERTIES
};
extern zend_module_entry recode_module_entry;
#define phpext_recode_ptr &recode_module_entry
+#include "php_version.h"
+#define PHP_RECODE_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(recode);
PHP_MSHUTDOWN_FUNCTION(recode);
PHP_MINFO_FUNCTION(recode);
NULL,
NULL,
PHP_MINFO(recode),
- NO_VERSION_YET,
+ PHP_RECODE_VERSION,
PHP_MODULE_GLOBALS(recode),
PHP_GINIT(recode),
NULL,
NULL,
NULL,
PHP_MINFO(reflection),
- "$Id$",
+ PHP_REFLECTION_VERSION,
STANDARD_MODULE_PROPERTIES
}; /* }}} */
extern zend_module_entry reflection_module_entry;
#define phpext_reflection_ptr &reflection_module_entry
+#define PHP_REFLECTION_VERSION PHP_VERSION
+
BEGIN_EXTERN_C()
/* Class entry pointers */
#define PHP_SESSION_API 20150121
+#include "php_version.h"
+#define PHP_SESSION_VERSION PHP_VERSION
+
/* save handler macros */
#define PS_NUM_APIS 9
#define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name
PHP_MINIT(session), PHP_MSHUTDOWN(session),
PHP_RINIT(session), PHP_RSHUTDOWN(session),
PHP_MINFO(session),
- NO_VERSION_YET,
+ PHP_SESSION_VERSION,
PHP_MODULE_GLOBALS(ps),
PHP_GINIT(ps),
NULL,
extern zend_module_entry shmop_module_entry;
#define phpext_shmop_ptr &shmop_module_entry
+#include "php_version.h"
+#define PHP_SHMOP_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(shmop);
PHP_MINFO_FUNCTION(shmop);
NULL,
NULL,
PHP_MINFO(shmop),
- NO_VERSION_YET,
+ PHP_SHMOP_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry simplexml_module_entry;
#define phpext_simplexml_ptr &simplexml_module_entry
+#include "php_version.h"
+#define PHP_SIMPLEXML_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif
NULL,
NULL,
PHP_MINFO(simplexml),
- "0.1",
+ PHP_SIMPLEXML_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
/* {{{ snmp_module_entry
*/
zend_module_entry snmp_module_entry = {
-#if ZEND_MODULE_API_NO >= 20050922
STANDARD_MODULE_HEADER_EX,
NULL,
snmp_module_deps,
-#else
- STANDARD_MODULE_HEADER,
-#endif
"snmp",
snmp_functions,
PHP_MINIT(snmp),
#include <libxml/parser.h>
#include <libxml/xpath.h>
-#ifndef PHP_HAVE_STREAMS
-# error You lose - must be compiled against PHP 4.3.0 or later
-#endif
+#define PHP_SOAP_VERSION PHP_VERSION
#ifndef PHP_WIN32
# define TRUE 1
NULL,
PHP_MINFO(soap),
#ifdef STANDARD_MODULE_HEADER
- NO_VERSION_YET,
+ PHP_SOAP_VERSION,
#endif
STANDARD_MODULE_PROPERTIES,
};
# include "windows_common.h"
#endif
+#define PHP_SOCKETS_VERSION PHP_VERSION
+
extern zend_module_entry sockets_module_entry;
#define phpext_sockets_ptr &sockets_module_entry
NULL,
PHP_RSHUTDOWN(sockets),
PHP_MINFO(sockets),
- NO_VERSION_YET,
+ PHP_SOCKETS_VERSION,
PHP_MODULE_GLOBALS(sockets),
PHP_GINIT(sockets),
NULL,
PHP_RINIT(spl),
PHP_RSHUTDOWN(spl),
PHP_MINFO(spl),
- "0.2",
+ PHP_SPL_VERSION,
PHP_MODULE_GLOBALS(spl),
PHP_GINIT(spl),
NULL,
#include "php.h"
#include <stdarg.h>
+#define PHP_SPL_VERSION PHP_VERSION
+
#if 0
#define SPL_DEBUG(x) x
#else
PHP_RINIT(basic), /* request startup */
PHP_RSHUTDOWN(basic), /* request shutdown */
PHP_MINFO(basic), /* extension info */
- PHP_VERSION, /* extension version */
+ PHP_STANDARD_VERSION, /* extension version */
STANDARD_MODULE_PROPERTIES
};
/* }}} */
#include "php_type.h"
#include "php_password.h"
+#include "php_version.h"
+#define PHP_STANDARD_VERSION PHP_VERSION
+
#define phpext_standard_ptr basic_functions_module_ptr
PHP_MINIT_FUNCTION(standard_filters);
PHP_MSHUTDOWN_FUNCTION(standard_filters);
extern zend_module_entry sysvmsg_module_entry;
#define phpext_sysvmsg_ptr &sysvmsg_module_entry
+#include "php_version.h"
+#define PHP_SYSVMSG_VERSION PHP_VERSION
+
#ifndef __USE_GNU
/* we want to use mtype instead of __mtype */
#define __USE_GNU
NULL,
NULL,
PHP_MINFO(sysvmsg),
- NO_VERSION_YET,
+ PHP_SYSVMSG_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry sysvsem_module_entry;
#define sysvsem_module_ptr &sysvsem_module_entry
+#include "php_version.h"
+#define PHP_SYSVSEM_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(sysvsem);
PHP_FUNCTION(sem_get);
PHP_FUNCTION(sem_acquire);
NULL,
NULL,
NULL,
- NO_VERSION_YET,
+ PHP_SYSVSEM_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry sysvshm_module_entry;
#define sysvshm_module_ptr &sysvshm_module_entry
+#include "php_version.h"
+#define PHP_SYSVSHM_VERSION PHP_VERSION
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
NULL,
NULL,
NULL,
- NO_VERSION_YET,
+ PHP_SYSVSHM_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry tidy_module_entry;
#define phpext_tidy_ptr &tidy_module_entry
+#include "php_version.h"
+#define PHP_TIDY_VERSION PHP_VERSION
+
#define TIDY_METHOD_MAP(name, func_name, arg_types) \
ZEND_NAMED_FE(name, ZEND_FN(func_name), arg_types)
#define TIDY_NODE_METHOD(name) PHP_FUNCTION(tnm_ ##name)
#define TIDY_CALL
#endif
-#define PHP_TIDY_MODULE_VERSION "2.0"
-
/* {{{ ext/tidy macros
*/
#define FIX_BUFFER(bptr) do { if ((bptr)->size) { (bptr)->bp[(bptr)->size-1] = '\0'; } } while(0)
PHP_RINIT(tidy),
NULL,
PHP_MINFO(tidy),
- PHP_TIDY_MODULE_VERSION,
+ PHP_TIDY_VERSION,
PHP_MODULE_GLOBALS(tidy),
NULL,
NULL,
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
- php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id$)");
+ php_info_print_table_row(2, "Extension Version", PHP_TIDY_VERSION " ($Id$)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
extern zend_module_entry tokenizer_module_entry;
#define phpext_tokenizer_ptr &tokenizer_module_entry
+#include "php_version.h"
+#define PHP_TOKENIZER_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif
/* {{{ tokenizer_module_entry
*/
zend_module_entry tokenizer_module_entry = {
-#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
-#endif
"tokenizer",
tokenizer_functions,
PHP_MINIT(tokenizer),
NULL,
NULL,
PHP_MINFO(tokenizer),
-#if ZEND_MODULE_API_NO >= 20010901
- "0.1", /* Replace with version number for your extension */
-#endif
+ PHP_TOKENIZER_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry wddx_module_entry;
#define wddx_module_ptr &wddx_module_entry
+#include "php_version.h"
+#define PHP_WDDX_VERSION PHP_VERSION
+
PHP_FUNCTION(wddx_serialize_value);
PHP_FUNCTION(wddx_serialize_vars);
PHP_FUNCTION(wddx_packet_start);
NULL,
NULL,
PHP_MINFO(wddx),
- NO_VERSION_YET,
+ PHP_WDDX_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
#ifdef HAVE_XML
extern zend_module_entry xml_module_entry;
#define xml_module_ptr &xml_module_entry
+
+#include "php_version.h"
+#define PHP_XML_VERSION PHP_VERSION
+
#else
#define xml_module_ptr NULL
#endif
NULL, /* per-request startup function */
NULL, /* per-request shutdown function */
PHP_MINFO(xml), /* information function */
- NO_VERSION_YET,
+ PHP_XML_VERSION,
PHP_MODULE_GLOBALS(xml), /* globals descriptor */
PHP_GINIT(xml), /* globals ctor */
NULL, /* globals dtor */
NULL,
NULL,
PHP_MINFO(xmlreader),
- "0.1", /* Replace with version number for your extension */
+ PHP_XMLREADER_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry xmlreader_module_entry;
#define phpext_xmlreader_ptr &xmlreader_module_entry
+#include "php_version.h"
+#define PHP_XMLREADER_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif
extern zend_module_entry xmlrpc_module_entry;
#define phpext_xmlrpc_ptr &xmlrpc_module_entry
+#include "php_version.h"
+#define PHP_XMLRPC_VERSION PHP_VERSION
+
PHP_MINIT_FUNCTION(xmlrpc);
PHP_MINFO_FUNCTION(xmlrpc);
#include "php_xmlrpc.h"
#include "xmlrpc.h"
-#define PHP_EXT_VERSION "0.51"
-
static int le_xmlrpc_server;
/* {{{ arginfo */
NULL,
NULL,
PHP_MINFO(xmlrpc),
- PHP_EXT_VERSION,
+ PHP_XMLRPC_VERSION,
STANDARD_MODULE_PROPERTIES
};
{
php_info_print_table_start();
php_info_print_table_row(2, "core library version", XMLRPC_GetVersionString());
- php_info_print_table_row(2, "php extension version", PHP_EXT_VERSION);
+ php_info_print_table_row(2, "php extension version", PHP_XMLRPC_VERSION);
php_info_print_table_row(2, "author", "Dan Libby");
php_info_print_table_row(2, "homepage", "http://xmlrpc-epi.sourceforge.net");
php_info_print_table_row(2, "open sourced by", "Epinions.com");
NULL,
NULL,
PHP_MINFO(xmlwriter),
- "0.1",
+ PHP_XMLWRITER_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry xmlwriter_module_entry;
#define phpext_xmlwriter_ptr &xmlwriter_module_entry
+#include "php_version.h"
+#define PHP_XMLWRITER_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif
/* {{{ xsl_module_entry
*/
zend_module_entry xsl_module_entry = {
-#if ZEND_MODULE_API_NO >= 20050617
STANDARD_MODULE_HEADER_EX, NULL,
xsl_deps,
-#elif ZEND_MODULE_API_NO >= 20010901
- STANDARD_MODULE_HEADER,
-#endif
"xsl",
xsl_functions,
PHP_MINIT(xsl),
NULL,
NULL,
PHP_MINFO(xsl),
-#if ZEND_MODULE_API_NO >= 20010901
- "0.1", /* Replace with version number for your extension */
-#endif
+ PHP_XSL_VERSION,
STANDARD_MODULE_PROPERTIES
};
/* }}} */
extern zend_module_entry xsl_module_entry;
#define phpext_xsl_ptr &xsl_module_entry
+#include "php_version.h"
+#define PHP_XSL_VERSION PHP_VERSION
+
#ifdef ZTS
#include "TSRM.h"
#endif
#ifndef PHP_ZLIB_H
#define PHP_ZLIB_H
+#include "php_version.h"
+#define PHP_ZLIB_VERSION PHP_VERSION
+
#include <zlib.h>
#define PHP_ZLIB_ENCODING_RAW -0xf
PHP_RINIT(zlib),
PHP_RSHUTDOWN(zlib),
PHP_MINFO(zlib),
- "2.0",
+ PHP_ZLIB_VERSION,
PHP_MODULE_GLOBALS(zlib),
PHP_GINIT(zlib),
NULL,