]> granicus.if.org Git - php/commitdiff
MFH: nuke php3 legacy
authorfoobar <sniper@php.net>
Tue, 6 Dec 2005 02:28:41 +0000 (02:28 +0000)
committerfoobar <sniper@php.net>
Tue, 6 Dec 2005 02:28:41 +0000 (02:28 +0000)
86 files changed:
ext/bcmath/bcmath.c
ext/bz2/bz2.c
ext/calendar/cal_unix.c
ext/calendar/calendar.c
ext/com_dotnet/com_extension.c
ext/ctype/ctype.c
ext/curl/interface.c
ext/dba/dba.c
ext/dbase/dbase.c
ext/dom/dom_iterators.c
ext/dom/nodelist.c
ext/exif/exif.c
ext/fbsql/php_fbsql.c
ext/fdf/fdf.c
ext/filepro/filepro.c
ext/ftp/php_ftp.c
ext/gd/gd.c
ext/gettext/gettext.c
ext/gmp/gmp.c
ext/hash/hash.c
ext/hwapi/hwapi.cpp
ext/iconv/iconv.c
ext/imap/php_imap.c
ext/informix/ifx.ec
ext/interbase/interbase.c
ext/ldap/ldap.c
ext/libxml/libxml.c
ext/mcrypt/mcrypt.c
ext/mhash/mhash.c
ext/mime_magic/mime_magic.c
ext/msession/msession.c
ext/msql/php_msql.c
ext/mysql/php_mysql.c
ext/ncurses/ncurses_fe.c
ext/ncurses/php_ncurses.h
ext/odbc/birdstep.c
ext/openssl/openssl.c
ext/pcntl/pcntl.c
ext/pcre/php_pcre.c
ext/pdo/pdo.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo/php_pdo_driver.h
ext/pdo/php_pdo_int.h
ext/pdo_dblib/pdo_dblib.c
ext/pdo_firebird/pdo_firebird.c
ext/pdo_mysql/pdo_mysql.c
ext/pdo_oci/pdo_oci.c
ext/pdo_pgsql/pdo_pgsql.c
ext/pdo_pgsql/pgsql_driver.c
ext/pdo_sqlite/pdo_sqlite.c
ext/pdo_sqlite/sqlite_driver.c
ext/pgsql/pgsql.c
ext/posix/posix.c
ext/pspell/pspell.c
ext/readline/readline.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/shmop/shmop.c
ext/simplexml/simplexml.c
ext/snmp/snmp.c
ext/snmp/winsnmp.c
ext/soap/soap.c
ext/sockets/sockets.c
ext/sqlite/pdo_sqlite2.c
ext/sqlite/sqlite.c
ext/sybase/php_sybase_db.c
ext/sybase_ct/php_sybase_ct.c
ext/sysvmsg/sysvmsg.c
ext/sysvsem/sysvsem.c
ext/sysvshm/sysvshm.c
ext/tidy/tidy.c
ext/tokenizer/tokenizer.c
ext/wddx/wddx.c
ext/xml/xml.c
ext/xmlrpc/xmlrpc-epi-php.c
ext/xsl/php_xsl.c
ext/zlib/zlib.c
sapi/aolserver/aolserver.c
sapi/apache/php_apache.c
sapi/apache2filter/php_functions.c
sapi/apache2handler/php_functions.c
sapi/apache_hooks/php_apache.c
sapi/continuity/capi.c
sapi/milter/php_milter.c
sapi/nsapi/nsapi.c

index 26c9e42ae667547a6f1650872e6a2e948f978466..63aebc597d155cc8c2afc1410394d992b9f968fa 100644 (file)
@@ -33,7 +33,7 @@
 
 ZEND_DECLARE_MODULE_GLOBALS(bcmath);
 
-function_entry bcmath_functions[] = {
+zend_function_entry bcmath_functions[] = {
        PHP_FE(bcadd,                                                                   NULL)
        PHP_FE(bcsub,                                                                   NULL)
        PHP_FE(bcmul,                                                                   NULL)
index f3939c5ea3f83d4c01254a172fa19aa7541c9f4c..8468a6a8f38c6bd147c89bdf01307359f2f3f4a2 100644 (file)
@@ -40,7 +40,7 @@
 #define PHP_BZ_ERRSTR  1
 #define PHP_BZ_ERRBOTH 2
 
-function_entry bz2_functions[] = {
+zend_function_entry bz2_functions[] = {
        PHP_FE(bzopen,       NULL)
        PHP_FE(bzread,       NULL)
        PHP_FALIAS(bzwrite,   fwrite,           NULL)
index a455eb09ae7f46dcd319f79278078c8ac7de9b9d..3788aa42066ad64e90d0cd77646e08c49ac4ce6e 100644 (file)
@@ -28,7 +28,7 @@
    Convert UNIX timestamp to Julian Day */
 PHP_FUNCTION(unixtojd)
 {
-  pval *timestamp;
+  zval *timestamp;
   long jdate; 
   time_t t;
   struct tm *ta, tmbuf;
@@ -60,7 +60,7 @@ PHP_FUNCTION(unixtojd)
    Convert Julian Day to UNIX timestamp */
 PHP_FUNCTION(jdtounix)
 {
-  pval *jday;
+  zval *jday;
   long uday;
 
   if ((ZEND_NUM_ARGS()!= 1) || (zend_get_parameters(ht, 1, &jday) != SUCCESS)) {
index 5ec4b3cd614459cb192d8240b9c9d4779babcc0a..9e2f65176ce7b65d41b8e638e9f2f33155c92961 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <stdio.h>
 
-function_entry calendar_functions[] = {
+zend_function_entry calendar_functions[] = {
        PHP_FE(jdtogregorian, NULL)
        PHP_FE(gregoriantojd, NULL)
        PHP_FE(jdtojulian, NULL)
index 54fa6cc9a61596c4a381115f3e98e80753884109..4d4295a2e378593ed563b001f7e59563e8f6c80d 100644 (file)
@@ -37,7 +37,7 @@ zend_class_entry
        *php_com_exception_class_entry,
        *php_com_saproxy_class_entry;
 
-function_entry com_dotnet_functions[] = {
+zend_function_entry com_dotnet_functions[] = {
        PHP_FE(variant_set, NULL)
        PHP_FE(variant_add, NULL)
        PHP_FE(variant_cat, NULL)
index 506abc561fdbf57c1980660eb6a32a15394f93b9..118f71cde4344c375279dc67af0df1f73a236293 100644 (file)
@@ -43,7 +43,7 @@ ZEND_DECLARE_MODULE_GLOBALS(ctype)
 /* {{{ ctype_functions[]
  * Every user visible function must have an entry in ctype_functions[].
  */
-function_entry ctype_functions[] = {
+zend_function_entry ctype_functions[] = {
        PHP_FE(ctype_alnum,     NULL)
        PHP_FE(ctype_alpha,     NULL)
        PHP_FE(ctype_cntrl,     NULL)
index f512fa591ebec0f765a8d81a70b5b8bc03186cee..64a2e0d715a8d2e071b7a46f9d3860823c1ddf64 100644 (file)
@@ -130,7 +130,7 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC);
 
 /* {{{ curl_functions[]
  */
-function_entry curl_functions[] = {
+zend_function_entry curl_functions[] = {
        PHP_FE(curl_init,                NULL)
        PHP_FE(curl_copy_handle,         NULL)
        PHP_FE(curl_version,             NULL)
index 812dde2350d5a800b6fce5c77375bdd9178eb7bb..a7842922ad1e9b4e4263b1a6d625837b81bd4714 100644 (file)
@@ -53,7 +53,7 @@
 
 /* {{{ dba_functions[]
  */
-function_entry dba_functions[] = {
+zend_function_entry dba_functions[] = {
        PHP_FE(dba_open, NULL)
        PHP_FE(dba_popen, NULL)
        PHP_FE(dba_close, NULL)
index 764fc9fc053a1f8774e1d34efdf4ce5a16c578c1..82d26f7d4f7ee50bbee2123e5086d74084243461 100644 (file)
@@ -730,7 +730,7 @@ PHP_FUNCTION(dbase_create)
 
 /* {{{ dbase_functions[]
  */
-function_entry dbase_functions[] = {
+zend_function_entry dbase_functions[] = {
        PHP_FE(dbase_open,                                                              NULL)
        PHP_FE(dbase_create,                                                    NULL)
        PHP_FE(dbase_close,                                                             NULL)
index ded333bf36669df8db18ad643e9ab716bfea5c7f..33f7302d4a2187252fd7303148ab0fb556c55af7 100644 (file)
@@ -189,7 +189,7 @@ static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC)
        dom_nnodemap_object *objmap;
        int ret, previndex=1;
        HashTable *nodeht;
-       pval **entry;
+       zval **entry;
 
        php_dom_iterator *iterator = (php_dom_iterator *)iter;
 
@@ -258,7 +258,7 @@ zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object TS
        zval *curattr = NULL;
        int ret, curindex = 0;
        HashTable *nodeht;
-       pval **entry;
+       zval **entry;
 
        php_dom_iterator *iterator = emalloc(sizeof(php_dom_iterator));
 
index 52f6b0a44b1de0bf14d38ac3e51aebeb927c1b6b..1c9851a8c782885e58a5c0f545ac0c5554834334 100644 (file)
@@ -109,7 +109,7 @@ PHP_FUNCTION(dom_nodelist_item)
        xmlNodePtr nodep, curnode;
        int count = 0;
        HashTable *nodeht;
-       pval **entry;
+       zval **entry;
 
        if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_nodelist_class_entry, &index) == FAILURE) {
                return;
index dca6d85201d2e3fe9ad276335c423a9f73f90b77..f9ec894c41c45dcdd87a29ea88b41b93cc45e872 100644 (file)
@@ -105,7 +105,7 @@ ZEND_END_ARG_INFO();
 
 /* {{{ exif_functions[]
  */
-function_entry exif_functions[] = {
+zend_function_entry exif_functions[] = {
        PHP_FE(exif_read_data, NULL)
        PHP_FALIAS(read_exif_data, exif_read_data, NULL)
        PHP_FE(exif_tagname, NULL)
@@ -1843,7 +1843,7 @@ static void exif_iif_free(image_info_type *image_info, int section_index) {
 
 /* {{{ add_assoc_image_info
  * Add image_info to associative array value. */
-static void add_assoc_image_info(pval *value, int sub_array, image_info_type *image_info, int section_index TSRMLS_DC)
+static void add_assoc_image_info(zval *value, int sub_array, image_info_type *image_info, int section_index TSRMLS_DC)
 {
        char    buffer[64], *val, *name, uname[64];
        int     i, ap, l, b, idx=0, unknown=0;
@@ -1852,7 +1852,7 @@ static void add_assoc_image_info(pval *value, int sub_array, image_info_type *im
 #endif
        image_info_value *info_value;
        image_info_data  *info_data;
-       pval                     *tmpi, *array = NULL;
+       zval                     *tmpi, *array = NULL;
 
 #ifdef EXIF_DEBUG
 /*             php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Adding %d infos from section %s", image_info->info_list[section_index].count, exif_get_sectionname(section_index));*/
@@ -2248,7 +2248,7 @@ static char * exif_get_markername(int marker)
        Get headername for index or false if not defined */
 PHP_FUNCTION(exif_tagname)
 {
-       pval **p_num;
+       zval **p_num;
        int tag, ac = ZEND_NUM_ARGS();
        char *szTemp;
 
@@ -3780,7 +3780,7 @@ static int exif_read_file(image_info_type *ImageInfo, char *FileName, int read_t
    Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails */
 PHP_FUNCTION(exif_read_data)
 {
-       pval **p_name, **p_sections_needed, **p_sub_arrays, **p_read_thumbnail, **p_read_all;
+       zval **p_name, **p_sections_needed, **p_sub_arrays, **p_read_thumbnail, **p_read_all;
        int i, ac = ZEND_NUM_ARGS(), ret, sections_needed=0, sub_arrays=0, read_thumbnail=0, read_all=0;
        image_info_type ImageInfo;
        char tmp[64], *sections_str, *s;
index 26496eb89db1971c4ba6e24f6a6a065b42b92ed5..0e0b0b1c0d9d3cb6b4651b83521b3ff8fc3d3e56 100644 (file)
@@ -183,7 +183,7 @@ char *DigestPassword(char *user, char *password)
 
 /* {{{ fbsql_functions[]
  */
-function_entry fbsql_functions[] = {
+zend_function_entry fbsql_functions[] = {
        PHP_FE(fbsql_connect,                   NULL)
        PHP_FE(fbsql_pconnect,                  NULL)
        PHP_FE(fbsql_close,                             NULL)
index 3ed745b1e3c6444efa98c5791ab44be8d622e7e6..2c944590a517ad01385d270b8dafb36bd9f86e05 100644 (file)
@@ -49,7 +49,7 @@ SAPI_POST_HANDLER_FUNC(fdf_post_handler);
 
 /* {{{ fdf_functions[]
  */
-function_entry fdf_functions[] = {
+zend_function_entry fdf_functions[] = {
        PHP_FE(fdf_add_template,                                                NULL)
        PHP_FE(fdf_close,                                                               NULL)
        PHP_FE(fdf_create,                                                              NULL)
index 8da055b729312f5243aa02fb1c3055e81f41afa2..6aff03c4dd2b62546009f5c147b1b2ccaf99f702 100644 (file)
@@ -162,7 +162,7 @@ PHP_MSHUTDOWN_FUNCTION(filepro)
 }
 /* }}} */
 
-function_entry filepro_functions[] = {
+zend_function_entry filepro_functions[] = {
        PHP_FE(filepro,                                                                 NULL)
        PHP_FE(filepro_rowcount,                                                NULL)
        PHP_FE(filepro_fieldname,                                               NULL)
index 245f480cde5cc54371399b98eeadbc3998495c16..65d208ae37abde2bc9219ade1b599975f487b7c2 100644 (file)
@@ -51,7 +51,7 @@ static
         ZEND_ARG_PASS_INFO(1)
     ZEND_END_ARG_INFO()
 
-function_entry php_ftp_functions[] = {
+zend_function_entry php_ftp_functions[] = {
        PHP_FE(ftp_connect,                     NULL)
 #if HAVE_OPENSSL_EXT
        PHP_FE(ftp_ssl_connect,         NULL)
@@ -316,7 +316,7 @@ PHP_FUNCTION(ftp_chdir)
    Requests execution of a program on the FTP server */
 PHP_FUNCTION(ftp_exec)
 {
-       pval            *z_ftp;
+       zval            *z_ftp;
        ftpbuf_t        *ftp;
        char            *cmd;
        int                     cmd_len;
index 0ebd3489ca2c78126ee2201dccd55384366e76ac..cbd5fd5aad6f2db87da4abe6fc633037ae58e54f 100644 (file)
@@ -163,7 +163,7 @@ static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold
 
 /* {{{ gd_functions[]
  */
-function_entry gd_functions[] = {
+zend_function_entry gd_functions[] = {
        PHP_FE(gd_info,                                 NULL)
        PHP_FE(imagearc,                                                                NULL)
        PHP_FE(imageellipse,                                                    NULL)
index d47a0f6315bafd46cb0c301ba51cc538a2787bec..a979aaf492c243a45e9bfb4efe2d0cde97cbb9b5 100644 (file)
@@ -32,7 +32,7 @@
 
 /* {{{ php_gettext_functions[]
  */
-function_entry php_gettext_functions[] = {
+zend_function_entry php_gettext_functions[] = {
        PHP_NAMED_FE(textdomain,                zif_textdomain,         NULL)
        PHP_NAMED_FE(gettext,                   zif_gettext,            NULL)
        /* Alias for gettext() */
index d72a2d9828c4306cdbf7e20019f395b0d4116e50..cea27fadbc8c75bfc2ce061280676d0de086e3b1 100644 (file)
@@ -39,7 +39,7 @@ static int le_gmp;
 
 /* {{{ gmp_functions[]
  */
-function_entry gmp_functions[] = {
+zend_function_entry gmp_functions[] = {
        ZEND_FE(gmp_init,       NULL)
        ZEND_FE(gmp_intval,     NULL)
        ZEND_FE(gmp_strval,     NULL)
index a33cf2ea27ccf197a0034de785a8978a0fefcd59..4c4e31a5952d4632eb51ff2adb80624f73e83497 100644 (file)
@@ -596,7 +596,7 @@ PHP_MINFO_FUNCTION(hash)
 
 /* {{{ hash_functions[]
  */
-function_entry hash_functions[] = {
+zend_function_entry hash_functions[] = {
        PHP_FE(hash,                                                                    NULL)
        PHP_FE(hash_file,                                                               NULL)
 
index cc204b5b74aa6d53c5482489a39d422ab81ae5ae..251ab73bcbf2fe24cd61ba35663224aa6b795540 100644 (file)
@@ -67,7 +67,7 @@ static zend_class_entry *hw_api_reason_class_entry_ptr;
 //}
 //#endif
 
-function_entry hwapi_functions[] = {
+zend_function_entry hwapi_functions[] = {
        PHP_FE(hwapi_dummy,                                                             NULL)
        PHP_FE(hwapi_init,                                                              NULL)
        PHP_FE(hwapi_hgcsp,                                                             NULL)
@@ -102,7 +102,7 @@ function_entry hwapi_functions[] = {
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_functions[] = {
+static zend_function_entry php_hw_api_functions[] = {
        {"hgcsp", PHP_FN(hwapi_hgcsp), NULL},
        {"object", PHP_FN(hwapi_object), NULL},
        {"children", PHP_FN(hwapi_children), NULL},
@@ -148,7 +148,7 @@ static function_entry php_hw_api_functions[] = {
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_object_functions[] = {
+static zend_function_entry php_hw_api_object_functions[] = {
        {"hw_api_object", PHP_FN(hwapi_object_new), NULL},
        {"count", PHP_FN(hwapi_object_count), NULL},
        {"title", PHP_FN(hwapi_object_title), NULL},
@@ -161,7 +161,7 @@ static function_entry php_hw_api_object_functions[] = {
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_attribute_functions[] = {
+static zend_function_entry php_hw_api_attribute_functions[] = {
        {"hw_api_attribute", PHP_FN(hwapi_attribute_new), NULL},
        {"key", PHP_FN(hwapi_attribute_key), NULL},
        {"value", PHP_FN(hwapi_attribute_value), NULL},
@@ -170,20 +170,20 @@ static function_entry php_hw_api_attribute_functions[] = {
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_error_functions[] = {
+static zend_function_entry php_hw_api_error_functions[] = {
        {"count", PHP_FN(hwapi_error_count), NULL},
        {"reason", PHP_FN(hwapi_error_reason), NULL},
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_content_functions[] = {
+static zend_function_entry php_hw_api_content_functions[] = {
        {"hw_api_content", PHP_FN(hwapi_content_new), NULL},
        {"read", PHP_FN(hwapi_content_read), NULL},
        {"mimetype", PHP_FN(hwapi_content_mimetype), NULL},
        {NULL, NULL, NULL}
 };
 
-static function_entry php_hw_api_reason_functions[] = {
+static zend_function_entry php_hw_api_reason_functions[] = {
        {"type", PHP_FN(hwapi_reason_type), NULL},
        {"description", PHP_FN(hwapi_reason_description), NULL},
        {NULL, NULL, NULL}
index e3f9ef83c46343b56e0d11432e6039e755f13c31..ef88c5f258bc5a55f5a11fca436d0cc28fff8ac3 100644 (file)
@@ -64,7 +64,7 @@
 
 /* {{{ iconv_functions[]
  */
-function_entry iconv_functions[] = {
+zend_function_entry iconv_functions[] = {
        PHP_NAMED_FE(iconv,php_if_iconv,                                NULL)
        PHP_FE(ob_iconv_handler,                                                NULL)
        PHP_FE(iconv_get_encoding,                                              NULL)
index 8825244b482fdbd5a0512d74e37431f96e4c0648..88741cdd438aa8b078820b0fd6746e82f421f4b5 100644 (file)
@@ -79,7 +79,7 @@ void *fs_get(size_t size);
 
 /* {{{ imap_functions[]
  */
-function_entry imap_functions[] = {
+zend_function_entry imap_functions[] = {
        PHP_FE(imap_open,                                                               NULL)
        PHP_FE(imap_reopen,                                                             NULL)
        PHP_FE(imap_close,                                                              NULL)
index 8b988c818e767cf33e188f12bde26cd2284bdc7f..0473301c1c5714e90a184ee962073da40e50e5c4 100644 (file)
@@ -140,7 +140,7 @@ typedef char IFX[128];
                } \
        } while (0)
 
-function_entry ifx_functions[] = {
+zend_function_entry ifx_functions[] = {
        PHP_FE(ifx_connect,            NULL)
        PHP_FE(ifx_pconnect,           NULL)
        PHP_FE(ifx_close,              NULL)
index 14d25113b372c70676843723ee263bdcc9b919ef..3af34b4623833dae09c35ecc98d6f895977bfb00 100644 (file)
@@ -36,7 +36,7 @@
 #include "php_interbase.h"
 #include "php_ibase_includes.h"
 #include "SAPI.h"
-
+5B
 #include <time.h>
 
 #define ROLLBACK               0
@@ -44,7 +44,7 @@
 #define RETAIN                 2
 
 /* {{{ extension definition structures */
-function_entry ibase_functions[] = {
+zend_function_entry ibase_functions[] = {
        PHP_FE(ibase_connect, NULL)
        PHP_FE(ibase_pconnect, NULL)
        PHP_FE(ibase_close, NULL)
index 777e6acdcc57c78cd9cd79e1ee50f24cb4654306..8a388489f53337aa558ddbff58c418f18229f152 100644 (file)
@@ -97,7 +97,7 @@ static int le_link, le_result, le_result_entry, le_ber_entry;
 */
 /* {{{ ldap_functions[]
  */
-function_entry ldap_functions[] = {
+zend_function_entry ldap_functions[] = {
        PHP_FE(ldap_connect,                                                            NULL)
        PHP_FALIAS(ldap_close,          ldap_unbind,                    NULL)
        PHP_FE(ldap_bind,                                                                       NULL)
index 9f982a125bde0d1f936b034803a07401b1a4561c..32bb20761381c1891f967dd3a1bcf9ac75a3ea03 100644 (file)
@@ -87,7 +87,7 @@ PHP_MINFO_FUNCTION(libxml);
 /* }}} */
 
 /* {{{ extension definition structures */
-function_entry libxml_functions[] = {
+zend_function_entry libxml_functions[] = {
        PHP_FE(libxml_set_streams_context, NULL)
        PHP_FE(libxml_use_internal_errors, NULL)
        PHP_FE(libxml_get_last_error, NULL)
index 376a8a4683317477ea773fcbb34e6df7e98f90ad..345b6b31de3c40b33d20cfbb9dc7aa99db63d581 100644 (file)
@@ -43,7 +43,7 @@ typedef struct _php_mcrypt {
        zend_bool init;
 } php_mcrypt;
 
-function_entry mcrypt_functions[] = {
+zend_function_entry mcrypt_functions[] = {
        PHP_FE(mcrypt_ecb, NULL)
        PHP_FE(mcrypt_cbc, NULL)
        PHP_FE(mcrypt_cfb, NULL)
index e0ad582acd10790e306da201581c7e9b67eac1cb..cbd619b63dc9b0cef68294992bae1436fd37fbbb 100644 (file)
@@ -33,7 +33,7 @@
 #include "php_globals.h"
 #include "ext/standard/info.h"
 
-function_entry mhash_functions[] = {
+zend_function_entry mhash_functions[] = {
        PHP_FE(mhash_get_block_size, NULL)
        PHP_FE(mhash_get_hash_name, NULL)
        PHP_FE(mhash_keygen_s2k, NULL)
index 8c9b957ca268d45bcd622a172796357727787a61..a74cd90e7b240888f8435ecc169c1d70529d2b4b 100644 (file)
@@ -218,7 +218,7 @@ ZEND_DECLARE_MODULE_GLOBALS(mime_magic)
 static magic_server_config_rec mime_global;
 
 /* {{{ mime_magic_functions[] */
-function_entry mime_magic_functions[] = {
+zend_function_entry mime_magic_functions[] = {
        PHP_FE(mime_content_type,       NULL)      
        {NULL, NULL, NULL}      
 };
index ffbe791c434a2853f8523c77e51477c6b42c6a24..cd3b950d7bb2148453366b349a1c445f7125ce35 100644 (file)
@@ -120,7 +120,7 @@ static int  s_port=8086;
 static void *  s_conn=NULL;
 static REQB *  s_reqb=NULL;
 
-function_entry msession_functions[] = {
+zend_function_entry msession_functions[] = {
        PHP_FE(msession_connect,NULL)
        PHP_FE(msession_disconnect,NULL)
        PHP_FE(msession_lock,NULL)
index cc7454f550d7dfdfefedf998a5add46e3d969adf..9df8221e5b9e2dfdc368e23305f152e2e3aeab7b 100644 (file)
@@ -46,7 +46,7 @@ static php_msql_globals msql_globals;
 
 /* {{{ msql_functions[]
  */
-function_entry msql_functions[] = {
+zend_function_entry msql_functions[] = {
        PHP_FE(msql_connect,                                                    NULL)
        PHP_FE(msql_pconnect,                                                   NULL)
        PHP_FE(msql_close,                                                              NULL)
index 052b0b51dc2343671df68766fdb645bd532b97bb..5b8faf4e4b8c3a94ed15ca292a443040c4f9289b 100644 (file)
@@ -123,7 +123,7 @@ typedef struct _php_mysql_conn {
 
 /* {{{ mysql_functions[]
  */
-function_entry mysql_functions[] = {
+zend_function_entry mysql_functions[] = {
        PHP_FE(mysql_connect,                                                           NULL)
        PHP_FE(mysql_pconnect,                                                          NULL)
        PHP_FE(mysql_close,                                                                     NULL)
index 59f0a8b0e1db68bffcf37f65b1582f96005c3e90..5fd55e327928a12cec9a84e40c279fbceb52f367 100644 (file)
@@ -50,7 +50,7 @@ static
  *
  * Every user visible function must have an entry in ncurses_functions[].
  */
-function_entry ncurses_functions[] = {
+zend_function_entry ncurses_functions[] = {
        PHP_FE(ncurses_addch,                   NULL)
 #ifdef HAVE_NCURSES_COLOR_SET
        PHP_FE(ncurses_color_set,               NULL)
index 6b0ebcce6f417678e394cbe06744017cb14d26fc..9bc862f0872fb0b4698e278b508a246ff7003c34 100644 (file)
@@ -36,7 +36,7 @@ extern int le_ncurses_panels;
 extern zend_module_entry ncurses_module_entry;
 #define phpext_ncurses_ptr &ncurses_module_entry
 
-extern function_entry ncurses_functions[];
+extern zend_function_entry ncurses_functions[];
 #include "php_ncurses_fe.h"
 
 #ifdef PHP_WIN32
index 5c4c5ffd6a6dbb7ef96f75a95462f866596ab316..fe5ebb263d18853e59d331d5c6be9b032b6b50e0 100644 (file)
@@ -48,7 +48,7 @@
 #include "php_birdstep.h"
 #include "ext/standard/info.h"
 
-function_entry birdstep_functions[] = {
+zend_function_entry birdstep_functions[] = {
        PHP_FE(birdstep_connect,        NULL)
        PHP_FE(birdstep_close,          NULL)
        PHP_FE(birdstep_exec,           NULL)
index 2d13072082bd4bb1bf47d483e4d2584c1443a0e9..1c3a7fbc2f2eb5d20df36f28490226311336a747 100644 (file)
@@ -79,7 +79,7 @@ enum php_openssl_cipher_type {
 
 /* {{{ openssl_functions[]
  */
-function_entry openssl_functions[] = {
+zend_function_entry openssl_functions[] = {
 /* public/private key functions */
        PHP_FE(openssl_pkey_free,                       NULL)
        PHP_FE(openssl_pkey_new,                        NULL)
index dc347a8fd76e62d67abf343a0bdf9a1e9cb1add7..30975e78e82d53e40108c07ea95e4f1f5c6d31aa 100755 (executable)
@@ -43,7 +43,7 @@
 
 ZEND_DECLARE_MODULE_GLOBALS(pcntl)
 
-function_entry pcntl_functions[] = {
+zend_function_entry pcntl_functions[] = {
        PHP_FE(pcntl_fork,                      NULL)
        PHP_FE(pcntl_waitpid,           second_arg_force_ref)
        PHP_FE(pcntl_wait,              first_arg_force_ref)
index a70af3ea4878b0b8750bacf39c5d14156f8912da..3892005837a1408288c818a2b65139f8a6e886f0 100644 (file)
@@ -1610,7 +1610,7 @@ PHP_FUNCTION(preg_grep)
 
 /* {{{ module definition structures */
 
-function_entry pcre_functions[] = {
+zend_function_entry pcre_functions[] = {
        PHP_FE(preg_match,                              third_arg_force_ref)
        PHP_FE(preg_match_all,                  third_arg_force_ref)
        PHP_FE(preg_replace,                    NULL)
index 88a82035466a13676f4d830cfc6367fbd07e58a5..8e9ae2eec1fe7a77f12e7459f0ed847efc04be78 100755 (executable)
@@ -101,7 +101,7 @@ PHP_FUNCTION(pdo_drivers)
 /* }}} */
 
 /* {{{ pdo_functions[] */
-function_entry pdo_functions[] = {
+zend_function_entry pdo_functions[] = {
        PHP_FE(pdo_drivers,             NULL)
        {NULL, NULL, NULL}
 };
index 806b434d6081d5dfac55096d33cb2a521c28a30d..67c02579d3e9a0707cc702ace02ef4bcf01bda27 100755 (executable)
@@ -1083,7 +1083,7 @@ static PHP_METHOD(PDO, getAvailableDrivers)
 }
 /* }}} */
 
-function_entry pdo_dbh_functions[] = {
+zend_function_entry pdo_dbh_functions[] = {
        ZEND_MALIAS(PDO, __construct, dbh_constructor,  NULL,                   ZEND_ACC_PUBLIC)
        PHP_ME(PDO, prepare,            NULL,                                   ZEND_ACC_PUBLIC)
        PHP_ME(PDO, beginTransaction,NULL,                                      ZEND_ACC_PUBLIC)
@@ -1106,7 +1106,7 @@ function_entry pdo_dbh_functions[] = {
 /* {{{ overloaded object handlers for PDO class */
 int pdo_hash_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
 {
-       function_entry *funcs;
+       zend_function_entry *funcs;
        zend_function func;
        zend_internal_function *ifunc = (zend_internal_function*)&func;
        int namelen;
index ee1181fae79cf87579916a97aad1a7b6a814a7c1..60eb726c06fb5e7553d137701830043abb017b15 100755 (executable)
@@ -1965,7 +1965,7 @@ static PHP_METHOD(PDOStatement, __sleep)
 }
 /* }}} */
 
-function_entry pdo_dbstmt_functions[] = {
+zend_function_entry pdo_dbstmt_functions[] = {
        PHP_ME(PDOStatement, execute,           NULL,                                   ZEND_ACC_PUBLIC)
        PHP_ME(PDOStatement, fetch,                     NULL,                                   ZEND_ACC_PUBLIC)
        PHP_ME(PDOStatement, bindParam,         second_arg_force_ref,   ZEND_ACC_PUBLIC)
@@ -2302,7 +2302,7 @@ zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object TSRML
 
 /* {{{ overloaded handlers for PDORow class (used by PDO_FETCH_LAZY) */
 
-function_entry pdo_row_functions[] = {
+zend_function_entry pdo_row_functions[] = {
        {NULL, NULL, NULL}
 };
 
index 38f65d6af2f15ecad17cf7d182560416174b06e4..2edb99766872c0d31d277fd213a41f030b850a9b 100755 (executable)
@@ -284,7 +284,7 @@ enum {
        PDO_DBH_DRIVER_METHOD_KIND__MAX
 };
 
-typedef function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC);
+typedef zend_function_entry *(*pdo_dbh_get_driver_methods_func)(pdo_dbh_t *dbh, int kind TSRMLS_DC);
 
 struct pdo_dbh_methods {
        pdo_dbh_close_func              closer;
index e7c2487b58483f789b70a47eeb5199f7a386ea0e..c00a7034ad1b199901ac8f2a6183715be40810cb 100755 (executable)
@@ -32,12 +32,12 @@ void pdo_dbh_init(TSRMLS_D);
 void pdo_stmt_init(TSRMLS_D);
 
 extern zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC);
-extern function_entry pdo_dbh_functions[];
+extern zend_function_entry pdo_dbh_functions[];
 extern zend_class_entry *pdo_dbh_ce;
 extern ZEND_RSRC_DTOR_FUNC(php_pdo_pdbh_dtor);
 
 extern zend_object_value pdo_dbstmt_new(zend_class_entry *ce TSRMLS_DC);
-extern function_entry pdo_dbstmt_functions[];
+extern zend_function_entry pdo_dbstmt_functions[];
 extern zend_class_entry *pdo_dbstmt_ce;
 void pdo_dbstmt_free_storage(pdo_stmt_t *stmt TSRMLS_DC);
 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object TSRMLS_DC);
@@ -46,7 +46,7 @@ int pdo_stmt_describe_columns(pdo_stmt_t *stmt TSRMLS_DC);
 int pdo_stmt_setup_fetch_mode(INTERNAL_FUNCTION_PARAMETERS, pdo_stmt_t *stmt, int skip_first_arg);
 
 extern zend_object_value pdo_row_new(zend_class_entry *ce TSRMLS_DC);
-extern function_entry pdo_row_functions[];
+extern zend_function_entry pdo_row_functions[];
 extern zend_class_entry *pdo_row_ce;
 void pdo_row_free_storage(pdo_stmt_t *stmt TSRMLS_DC);
 extern zend_object_handlers pdo_row_object_handlers;
index f96d8accbe07608852c3fe703617dd5c1fdb41ed..c63a700932643170f7aeabf95979e073732e737a 100644 (file)
@@ -34,7 +34,7 @@
 
 ZEND_DECLARE_MODULE_GLOBALS(dblib)
 
-function_entry pdo_dblib_functions[] = {
+zend_function_entry pdo_dblib_functions[] = {
        {NULL, NULL, NULL}
 };
 
index d936c0e54e784e958ebaceb16554f49f8ebb6e25..9b6f5336c036070897f5fcd9155b7f0bbd4ac845 100644 (file)
@@ -30,7 +30,7 @@
 #include "php_pdo_firebird.h"
 #include "php_pdo_firebird_int.h"
 
-function_entry pdo_firebird_functions[] = { /* {{{ */
+zend_function_entry pdo_firebird_functions[] = { /* {{{ */
        {NULL, NULL, NULL}
 };
 /* }}} */
index 119f7e0a2fafd289cf458a6f9cdeeeea0ec61ea7..7569004a4ebd789b497333ed0f3dd73ec6ccaff4 100755 (executable)
@@ -31,7 +31,7 @@
 #include "php_pdo_mysql_int.h"
 
 /* {{{ pdo_mysql_functions[] */
-function_entry pdo_mysql_functions[] = {
+zend_function_entry pdo_mysql_functions[] = {
        {NULL, NULL, NULL}
 };
 /* }}} */
index d5d0df5f0b3587e0409f0545f1f44e9634231224..dfb23d50be324506709c524a43c3e0a1fbe0decf 100755 (executable)
@@ -31,7 +31,7 @@
 #include "php_pdo_oci_int.h"
 
 /* {{{ pdo_oci_functions[] */
-function_entry pdo_oci_functions[] = {
+zend_function_entry pdo_oci_functions[] = {
        {NULL, NULL, NULL}
 };
 /* }}} */
index e48338a27b7ea01404001c38b9fb1a79c42393fc..e339cd92c01f82bc243e2166845b6e0dc0d813bb 100644 (file)
@@ -31,7 +31,7 @@
 #include "php_pdo_pgsql_int.h"
 
 /* {{{ pdo_pgsql_functions[] */
-function_entry pdo_pgsql_functions[] = {
+zend_function_entry pdo_pgsql_functions[] = {
        {NULL, NULL, NULL}
 };
 /* }}} */
index 65fb948675b03ebd602b5c83a212840799758155..2a3eb2bc54c269160687fd3ccba358a1854c8c50 100644 (file)
@@ -580,14 +580,14 @@ static PHP_METHOD(PDO, pgsqlLOBUnlink)
 /* }}} */
 
 
-static function_entry dbh_methods[] = {
+static zend_function_entry dbh_methods[] = {
        PHP_ME(PDO, pgsqlLOBCreate, NULL, ZEND_ACC_PUBLIC)
        PHP_ME(PDO, pgsqlLOBOpen, NULL, ZEND_ACC_PUBLIC)
        PHP_ME(PDO, pgsqlLOBUnlink, NULL, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
-static function_entry *pdo_pgsql_get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
+static zend_function_entry *pdo_pgsql_get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
 {
        switch (kind) {
                case PDO_DBH_DRIVER_METHOD_KIND_DBH:
index edcfa31d85e536d6ebfbe8c189d791d602a6f9b2..20440a0f5dccfae5aa13c97042ffce92f8950540 100644 (file)
@@ -34,7 +34,7 @@
 #define PHP_PDO_SQLITE_MODULE_VERSION  "1.0.1"
 
 /* {{{ pdo_sqlite_functions[] */
-function_entry pdo_sqlite_functions[] = {
+zend_function_entry pdo_sqlite_functions[] = {
        {NULL, NULL, NULL}
 };
 /* }}} */
index ff935ab0316b74be5d58e3a77c3f9a5326aa22b5..a046969b2d095c11624c11e53952864e0453b9f6 100644 (file)
@@ -584,13 +584,13 @@ static PHP_METHOD(SQLite, sqliteCreateAggregate)
        RETURN_FALSE;
 }
 /* }}} */
-static function_entry dbh_methods[] = {
+static zend_function_entry dbh_methods[] = {
        PHP_ME(SQLite, sqliteCreateFunction, NULL, ZEND_ACC_PUBLIC)
        PHP_ME(SQLite, sqliteCreateAggregate, NULL, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
 
-static function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
+static zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
 {
        switch (kind) {
                case PDO_DBH_DRIVER_METHOD_KIND_DBH:
index 20ea794673549c7bb82dca02a96484190539a4e8..bc5444aac579537ca34c721f5f3fc6249c05464b 100644 (file)
@@ -77,7 +77,7 @@
 
 /* {{{ pgsql_functions[]
  */
-function_entry pgsql_functions[] = {
+zend_function_entry pgsql_functions[] = {
        /* connection functions */
        PHP_FE(pg_connect,              NULL)
        PHP_FE(pg_pconnect,             NULL)
index 890609e565f7e805a8cefac2ec93d12e3d8d9a5d..6535918adda578415c488f8c5645ea94eaf0d98a 100644 (file)
@@ -52,7 +52,7 @@ ZEND_DECLARE_MODULE_GLOBALS(posix)
 
 /* {{{ posix_functions[]
  */
-function_entry posix_functions[] = {
+zend_function_entry posix_functions[] = {
     /* POSIX.1, 3.3 */
        PHP_FE(posix_kill,              NULL)
 
index b3376329631cae35ee4604dc083cd8cbc7a57592..29c74507ab22cabf20db10ca5c198d29cd7159b3 100644 (file)
@@ -52,7 +52,7 @@
 
 /* {{{ pspell_functions[]
  */
-function_entry pspell_functions[] = {
+zend_function_entry pspell_functions[] = {
        PHP_FE(pspell_new,              NULL)
        PHP_FE(pspell_new_personal,             NULL)
        PHP_FE(pspell_new_config,               NULL)
index 0888cdd61aeb2f8cc7eabbe5140434c684a2553f..4de1115a72bab13faa0b37587db793a3c6dfaf95 100644 (file)
@@ -253,7 +253,7 @@ PHP_FUNCTION(readline_info)
    Adds a line to the history */
 PHP_FUNCTION(readline_add_history)
 {
-       pval **arg;
+       zval **arg;
        int ac = ZEND_NUM_ARGS();
 
        if (ac != 1 || zend_get_parameters_ex(ac, &arg) == FAILURE) {
@@ -312,7 +312,7 @@ PHP_FUNCTION(readline_list_history)
    Reads the history */
 PHP_FUNCTION(readline_read_history)
 {
-       pval **arg;
+       zval **arg;
        char *filename = NULL;
        int ac = ZEND_NUM_ARGS();
 
@@ -339,7 +339,7 @@ PHP_FUNCTION(readline_read_history)
    Writes the history */
 PHP_FUNCTION(readline_write_history)
 {
-       pval **arg;
+       zval **arg;
        char *filename = NULL;
        int ac = ZEND_NUM_ARGS();
 
index 5258c4850e0a849a25343080eb474f9dd2e1520a..3bf4c1fb5261020f75235db1e4ef58660d53a711 100644 (file)
@@ -4146,7 +4146,7 @@ static zend_function_entry reflection_extension_functions[] = {
 };
 /* }}} */
 
-function_entry reflection_ext_functions[] = { /* {{{ */
+zend_function_entry reflection_ext_functions[] = { /* {{{ */
        {NULL, NULL, NULL}
 }; /* }}} */
 
index 2b7df6406f96d73ace26a4d74e809176d329852d..e353fa913d28c76c39b35b0dd3f8cd81796ace28 100644 (file)
@@ -56,7 +56,7 @@
 
 /* {{{ session_functions[]
  */
-function_entry session_functions[] = {
+zend_function_entry session_functions[] = {
        PHP_FE(session_name,              NULL)
        PHP_FE(session_module_name,       NULL)
        PHP_FE(session_save_path,         NULL)
index 1a84e1edb9b27e29b684d3863d29f9e587a40855..882143dc5b39c01c94df8057e8dc263a2d8f2de3 100644 (file)
@@ -47,7 +47,7 @@ int shm_type;
 
 /* {{{ shmop_functions[] 
  */
-function_entry shmop_functions[] = {
+zend_function_entry shmop_functions[] = {
        PHP_FE(shmop_open, NULL)
        PHP_FE(shmop_read, NULL)
        PHP_FE(shmop_close, NULL)
index 310f3718d3c978f5f50e0b7c001bdfffd95e92f4..fd2e721521497bf368e002da0825de3212353574 100644 (file)
@@ -1925,7 +1925,7 @@ PHP_FUNCTION(simplexml_import_dom)
 }
 /* }}} */
 
-function_entry simplexml_functions[] = {
+zend_function_entry simplexml_functions[] = {
        PHP_FE(simplexml_load_file, NULL)
        PHP_FE(simplexml_load_string, NULL)
        PHP_FE(simplexml_import_dom, NULL)
index 3106138e99da5c05fc337ae30b3f874cd48589be..029b8f5cf78476ffad5e8322ba3665a4ed493d3a 100644 (file)
@@ -113,7 +113,7 @@ static oid objid_mib[] = {1, 3, 6, 1, 2, 1};
 
 /* {{{ snmp_functions[]
  */
-function_entry snmp_functions[] = {
+zend_function_entry snmp_functions[] = {
        PHP_FE(snmpget, NULL)
        PHP_FE(snmpgetnext, NULL)
        PHP_FE(snmpwalk, NULL)
index f4332300a540dc8c9fdedc9b09d47e881ca00a94..7aa4866d43bf93d5b60f9c39cd2680cb29010544 100644 (file)
@@ -21,7 +21,7 @@ Created from the snmputil sample in the Microsoft SDK for NT
 
 /* {{{ snmp_functions[]
  */
-function_entry snmp_functions[] = {
+zend_function_entry snmp_functions[] = {
     {"snmpget", php3_snmpget, NULL},
     {"snmpwalk", php3_snmpwalk, NULL},
     {NULL,NULL,NULL}
@@ -58,7 +58,7 @@ DLEXPORT zend_module_entry *get_module() { return &snmp_module_entry; }
 /* {{{ _php_snmp
  */
 void _php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) {
-       pval *a1, *a2, *a3;
+       zval *a1, *a2, *a3;
        INT     operation;
     LPSTR              agent;
     LPSTR              community;
index c71c73ce7d55a924002095a6d58b58caa0f0b9e7..a339f46716ccee1033b9e15d28c58a4bac56cd7c 100644 (file)
@@ -2840,7 +2840,7 @@ PHP_METHOD(SoapClient, __setLocation)
 #ifndef ZEND_ENGINE_2
 static void soap_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference)
 {
-       pval *object = property_reference->object;
+       zval *object = property_reference->object;
        zend_overloaded_element *function_name = (zend_overloaded_element *)property_reference->elements_list->tail->data;
        char *function = Z_STRVAL(function_name->element);
        zend_function *builtin_function;
index e36522b5cd939ba9351deb86f03ee48b6cc51e27..a424a31fdf64f6df9e3fbf9b1edf6e012cfedd34 100644 (file)
@@ -112,7 +112,7 @@ static
 
 /* {{{ sockets_functions[]
  */
-function_entry sockets_functions[] = {
+zend_function_entry sockets_functions[] = {
        PHP_FE(socket_select,                   first_through_third_args_force_ref)
        PHP_FE(socket_create,                   NULL)
        PHP_FE(socket_create_listen,    NULL)
index bd2cd0768e9ebdbbaddac2d6ae76b65b3c1bb881..5efa99c8b148aa20464effdb516649a505751d52 100644 (file)
@@ -477,12 +477,12 @@ static PHP_FUNCTION(sqlite2_create_function)
        /* TODO: implement this stuff */
 }
 
-static function_entry dbh_methods[] = {
+static zend_function_entry dbh_methods[] = {
        PHP_FE(sqlite2_create_function, NULL)
        {NULL, NULL, NULL}
 };
 
-static function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
+static zend_function_entry *get_driver_methods(pdo_dbh_t *dbh, int kind TSRMLS_DC)
 {
        switch (kind) {
                case PDO_DBH_DRIVER_METHOD_KIND_DBH:
index b45dffbbd3657e25f9c6f2fd54d7bc1fb03ee3b8..5cb2518a8062a5f6a4974552a5c80fca136a0cf1 100644 (file)
@@ -163,7 +163,7 @@ static int php_sqlite_fetch(struct php_sqlite_result *rres TSRMLS_DC);
 
 enum { PHPSQLITE_ASSOC = 1, PHPSQLITE_NUM = 2, PHPSQLITE_BOTH = PHPSQLITE_ASSOC|PHPSQLITE_NUM };
 
-function_entry sqlite_functions[] = {
+zend_function_entry sqlite_functions[] = {
        PHP_FE(sqlite_open, third_arg_force_ref)
        PHP_FE(sqlite_popen, third_arg_force_ref)
        PHP_FE(sqlite_close, NULL)
@@ -206,7 +206,7 @@ function_entry sqlite_functions[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry sqlite_funcs_db[] = {
+zend_function_entry sqlite_funcs_db[] = {
        PHP_ME_MAPPING(__construct, sqlite_open, third_arg_force_ref)
 /*     PHP_ME_MAPPING(close, sqlite_close, NULL)*/
        PHP_ME_MAPPING(query, sqlite_query, third_arg_force_ref)
@@ -226,7 +226,7 @@ function_entry sqlite_funcs_db[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry sqlite_funcs_query[] = {
+zend_function_entry sqlite_funcs_query[] = {
        PHP_ME_MAPPING(fetch, sqlite_fetch_array, NULL)
        PHP_ME_MAPPING(fetchObject, sqlite_fetch_object, NULL)
        PHP_ME_MAPPING(fetchSingle, sqlite_fetch_single, NULL)
@@ -250,7 +250,7 @@ function_entry sqlite_funcs_query[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry sqlite_funcs_ub_query[] = {
+zend_function_entry sqlite_funcs_ub_query[] = {
        PHP_ME_MAPPING(fetch, sqlite_fetch_array, NULL)
        PHP_ME_MAPPING(fetchObject, sqlite_fetch_object, NULL)
        PHP_ME_MAPPING(fetchSingle, sqlite_fetch_single, NULL)
@@ -265,7 +265,7 @@ function_entry sqlite_funcs_ub_query[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry sqlite_funcs_exception[] = {
+zend_function_entry sqlite_funcs_exception[] = {
        {NULL, NULL, NULL}
 };
 
index 6cd6db1b03574d8684947baa4c6b67e60b3a97a9..8ac53efa6ed772fe5d6ea3f9ef3b8ed66259be0e 100644 (file)
@@ -80,7 +80,7 @@ typedef struct {
 } sybase_result;
 
 
-function_entry sybase_functions[] = {
+zend_function_entry sybase_functions[] = {
        PHP_FE(sybase_connect,                  NULL)
        PHP_FE(sybase_pconnect,                 NULL)
        PHP_FE(sybase_close,                    NULL)
index 20517b6f60d78c52b7f076f8049f70cb3343f02e..f706445b94e54b76e8950267fb172f0d3a1a1acf 100644 (file)
@@ -37,7 +37,7 @@ static int le_link, le_plink, le_result;
 
 #if HAVE_SYBASE_CT
 
-function_entry sybase_functions[] = {
+zend_function_entry sybase_functions[] = {
        PHP_FE(sybase_connect, NULL)
        PHP_FE(sybase_pconnect, NULL)
        PHP_FE(sybase_close, NULL)
index 951282e9dcc8860a39c8c0cb353bc048fb9c46d2..affa6e20add6f98fdf28e598caa3eb5662c68bd6 100644 (file)
@@ -66,7 +66,7 @@ static
  *
  * Every user visible function must have an entry in sysvmsg_functions[].
  */
-function_entry sysvmsg_functions[] = {
+zend_function_entry sysvmsg_functions[] = {
        PHP_FE(msg_get_queue,                           NULL)
        PHP_FE(msg_send,                                        sixth_arg_force_ref)
        PHP_FE(msg_receive,                                     msg_receive_args_force_ref)
index 2602bdf1bd8e6cb325dc85d34f7ca8506df06864..a0b4ef2ca7e641ff92eb9778fbef57bec9eb4e13 100644 (file)
@@ -58,7 +58,7 @@ union semun {
 
 /* {{{ sysvsem_functions[]
  */
-function_entry sysvsem_functions[] = {
+zend_function_entry sysvsem_functions[] = {
        PHP_FE(sem_get,                 NULL)
        PHP_FE(sem_acquire,             NULL)
        PHP_FE(sem_release,             NULL)
index 34c7e1cb669076fd606d013450254db46a5d7142..6d53fb520e15e5b955f0753357e6e761e076884a 100644 (file)
@@ -40,7 +40,7 @@
 
 /* {{{ sysvshm_functions[]
  */
-function_entry sysvshm_functions[] = {
+zend_function_entry sysvshm_functions[] = {
        PHP_FE(shm_attach, NULL)
        PHP_FE(shm_remove, NULL)
        PHP_FE(shm_detach, NULL)
index 89a7132e867a72ce8b64623bd99e69c007a4071b..5e4075e48c852654c9a7dc171b8e1e02b6bb31a5 100644 (file)
@@ -237,7 +237,7 @@ STD_PHP_INI_ENTRY("tidy.default_config",    "",     PHP_INI_SYSTEM,         OnUpdateString,         d
 PHP_INI_ENTRY("tidy.clean_output",     "0",    PHP_INI_PERDIR,         NULL)
 PHP_INI_END()
 
-function_entry tidy_functions[] = {
+zend_function_entry tidy_functions[] = {
        PHP_FE(tidy_getopt,             NULL)
        PHP_FE(tidy_parse_string,       NULL)
        PHP_FE(tidy_parse_file,         NULL)
@@ -268,7 +268,7 @@ function_entry tidy_functions[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry tidy_funcs_doc[] = {
+zend_function_entry tidy_funcs_doc[] = {
        TIDY_METHOD_MAP(getOpt, tidy_getopt, NULL)
        TIDY_METHOD_MAP(cleanRepair, tidy_clean_repair, NULL)
        TIDY_DOC_ME(parseFile, NULL)
@@ -293,7 +293,7 @@ function_entry tidy_funcs_doc[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry tidy_funcs_node[] = {
+zend_function_entry tidy_funcs_node[] = {
        TIDY_NODE_ME(__construct, NULL)
        TIDY_NODE_ME(hasChildren, NULL)
        TIDY_NODE_ME(hasSiblings, NULL)
@@ -306,7 +306,7 @@ function_entry tidy_funcs_node[] = {
        {NULL, NULL, NULL}
 };
 
-function_entry tidy_funcs_exception[] = {
+zend_function_entry tidy_funcs_exception[] = {
        {NULL, NULL, NULL}
 };
 
index ce79eedab706ea402e9554b10d686e641394df16..23e7baa633f460b04358a1d3843a29253f2816fa 100644 (file)
@@ -103,7 +103,7 @@ ZEND_DECLARE_MODULE_GLOBALS(tokenizer)
  *
  * Every user visible function must have an entry in tokenizer_functions[].
  */
-function_entry tokenizer_functions[] = {
+zend_function_entry tokenizer_functions[] = {
        PHP_FE(token_get_all,   NULL)
        PHP_FE(token_name,      NULL)
        {NULL, NULL, NULL}      /* Must be the last line in tokenizer_functions[] */
index e6f993590c108d4cb62c3099cd238b9547503a98..c6708f0778fb28a998cd0fa1565f4783def33051 100644 (file)
@@ -99,7 +99,7 @@ static void php_wddx_process_data(void *user_data, const XML_Char *s, int len);
 
 /* {{{ wddx_functions[]
  */
-function_entry wddx_functions[] = {
+zend_function_entry wddx_functions[] = {
        PHP_FE(wddx_serialize_value, NULL)
        PHP_FE(wddx_serialize_vars, NULL)
        PHP_FE(wddx_packet_start, NULL)
index 67521253e41a8dae4befe7d21335eb86e2961ec7..033e8ffc7e5882f5e8502b353091999b3ac94c23 100644 (file)
@@ -111,7 +111,7 @@ static
                ZEND_ARG_PASS_INFO(1)
        ZEND_END_ARG_INFO();
 
-function_entry xml_functions[] = {
+zend_function_entry xml_functions[] = {
        PHP_FE(xml_parser_create, NULL)
        PHP_FE(xml_parser_create_ns, NULL)
        PHP_FE(xml_set_object, second_arg_force_ref)
index 162e2059ee870d273b9fc6f4f947771d5278c9f5..0f07d00d1e1c5e2c32de8e4eb0eb50eebeafb442 100644 (file)
@@ -80,7 +80,7 @@ ZEND_DECLARE_MODULE_GLOBALS(xmlrpc)
 
 static int le_xmlrpc_server;
 
-function_entry xmlrpc_functions[] = {
+zend_function_entry xmlrpc_functions[] = {
        PHP_FE(xmlrpc_encode,                                                                   NULL) 
        PHP_FE(xmlrpc_decode,                                                                   NULL)
        PHP_FE(xmlrpc_decode_request,                                                   second_arg_force_ref)
@@ -1330,7 +1330,7 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype)
             if(v) {
                time_t timestamp = XMLRPC_GetValueDateTime(v);
                if(timestamp) {
-                  pval* ztimestamp;
+                  zval* ztimestamp;
 
                   MAKE_STD_ZVAL(ztimestamp);
 
index 7959e037261604d55163b13c2e83587ff578e91f..dd0395e41f101b794d61c60d4727a4e3deff8a07 100644 (file)
@@ -38,7 +38,7 @@ static zend_object_handlers xsl_object_handlers;
  *
  * Every user visible function must have an entry in xsl_functions[].
  */
-function_entry xsl_functions[] = {
+zend_function_entry xsl_functions[] = {
        {NULL, NULL, NULL}  /* Must be the last line in xsl_functions[] */
 };
 /* }}} */
index 19e49ac8401aaf6b4621daddaf006f0dce0c03fb..d8d0a7e45bcc24b9ea2553bfe722d0d52a5f653b 100644 (file)
@@ -86,7 +86,7 @@ static int gz_magic[2] = {0x1f, 0x8b};        /* gzip magic header */
 
 /* {{{ php_zlib_functions[]
  */
-function_entry php_zlib_functions[] = {
+zend_function_entry php_zlib_functions[] = {
        PHP_FE(readgzfile,                                              NULL)
        PHP_FALIAS(gzrewind,    rewind,                 NULL)
        PHP_FALIAS(gzclose,             fclose,                 NULL)
index c04418aeb60183a25c2bd3521082d0a722bda8b0..da289c99d143112fdc9b27c88dc70c8a9f473b0f 100644 (file)
@@ -240,7 +240,7 @@ static void php_info_aolserver(ZEND_MODULE_INFO_FUNC_ARGS)
 
 PHP_FUNCTION(getallheaders);
 
-static function_entry aolserver_functions[] = {
+static zend_function_entry aolserver_functions[] = {
        PHP_FE(getallheaders, NULL)
        {NULL, NULL, NULL}
 };
index 787d09a05724d6cbf018804cf9213aa708cad28a..cbc842fd9fa3e622d568deaba62998da3d70df2d 100644 (file)
@@ -51,7 +51,7 @@ PHP_FUNCTION(apache_reset_timeout);
 
 PHP_MINFO_FUNCTION(apache);
 
-function_entry apache_functions[] = {
+zend_function_entry apache_functions[] = {
        PHP_FE(virtual,                                                                 NULL)
        PHP_FE(apache_request_headers,                                  NULL)
        PHP_FE(apache_note,                                                             NULL)
index a8191d0fbdd1d9525e0694c279788fadd6ba1c3e..4a2d81b1a69e832ed4960a25455227fc2184be6f 100644 (file)
@@ -355,7 +355,7 @@ PHP_MINFO_FUNCTION(apache)
        php_info_print_table_end();
 }
 
-static function_entry apache_functions[] = {
+static zend_function_entry apache_functions[] = {
        PHP_FE(apache_lookup_uri, NULL)
        PHP_FE(virtual, NULL)
        PHP_FE(apache_request_headers, NULL)
index 302c7b7e77ee22f63cc59c8f1a042948500981e2..7c286c605e1db7c9b64d2aa5f91b91eebabab94c 100644 (file)
@@ -462,7 +462,7 @@ PHP_MINFO_FUNCTION(apache)
        }
 }
 
-static function_entry apache_functions[] = {
+static zend_function_entry apache_functions[] = {
        PHP_FE(apache_lookup_uri, NULL)
        PHP_FE(virtual, NULL) 
        PHP_FE(apache_request_headers, NULL)
index 590707d4cc1241f404d9aaf19d4c9f93a9c354e1..eebea94b604500f4cfcca31d80bb230e4967897b 100644 (file)
@@ -60,7 +60,7 @@ PHP_FUNCTION(apache_get_modules);
 PHP_MINFO_FUNCTION(apache);
 
 
-function_entry apache_functions[] = {
+zend_function_entry apache_functions[] = {
        PHP_FE(virtual,                                                                 NULL)
        PHP_FE(apache_request_headers,                                  NULL)
        PHP_FE(apache_note,                                                             NULL)
@@ -1286,7 +1286,7 @@ PHP_FUNCTION(apache_request_send_header_field)
 
 /* {{{ php_apache_request_class_functions
  */
-static function_entry php_apache_request_class_functions[] = {
+static zend_function_entry php_apache_request_class_functions[] = {
        /* string slots */
        PHP_FALIAS(args,                                                apache_request_args,                            NULL)
        PHP_FALIAS(boundary,                                    apache_request_boundary,                        NULL)
index fb52acf3e61207d9501c16cab46699a692f5d405..4053292bebd60088a8ebcfbac101d3c05e70f423 100644 (file)
@@ -80,7 +80,7 @@ PHP_FUNCTION(continuity_virtual);
 PHP_FUNCTION(continuity_request_headers);
 PHP_FUNCTION(continuity_response_headers);
 
-function_entry continuity_functions[] = {
+zend_function_entry continuity_functions[] = {
         {NULL, NULL, NULL}
 };
 
index a0fad53d8f6408f40a6296c745442e41e22d69f7..f9e18bbcb9cfebc28894c54965a79a5663c968a1 100644 (file)
@@ -748,7 +748,7 @@ PHP_MINFO_FUNCTION(milter)
 
 /* {{{ milter_functions[]
 */
-static function_entry milter_functions[] = {
+static zend_function_entry milter_functions[] = {
        PHP_FE(smfi_setflags, NULL)
        PHP_FE(smfi_settimeout, NULL)
        PHP_FE(smfi_getsymval, NULL)
index 21e6ca70204104ed76f8473262c4d7b2843cb7d2..69eccdd15d25b0ba1ef11bb7e368b1ba98c4fc4d 100644 (file)
@@ -174,7 +174,7 @@ ZEND_DECLARE_MODULE_GLOBALS(nsapi)
  *
  * Every user visible function must have an entry in nsapi_functions[].
  */
-function_entry nsapi_functions[] = {
+zend_function_entry nsapi_functions[] = {
        PHP_FE(nsapi_virtual,   NULL)                                                                           /* Make subrequest */
        PHP_FALIAS(virtual, nsapi_virtual, NULL)                                                        /* compatibility */
        PHP_FE(nsapi_request_headers, NULL)                                                                     /* get request headers */