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)
#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)
Convert UNIX timestamp to Julian Day */
PHP_FUNCTION(unixtojd)
{
- pval *timestamp;
+ zval *timestamp;
long jdate;
time_t t;
struct tm *ta, tmbuf;
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)) {
#include <stdio.h>
-function_entry calendar_functions[] = {
+zend_function_entry calendar_functions[] = {
PHP_FE(jdtogregorian, NULL)
PHP_FE(gregoriantojd, NULL)
PHP_FE(jdtojulian, NULL)
*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)
/* {{{ 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)
/* {{{ 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)
/* {{{ 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)
/* {{{ 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)
dom_nnodemap_object *objmap;
int ret, previndex=1;
HashTable *nodeht;
- pval **entry;
+ zval **entry;
php_dom_iterator *iterator = (php_dom_iterator *)iter;
zval *curattr = NULL;
int ret, curindex = 0;
HashTable *nodeht;
- pval **entry;
+ zval **entry;
php_dom_iterator *iterator = emalloc(sizeof(php_dom_iterator));
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;
/* {{{ 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)
/* {{{ 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;
#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));*/
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;
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;
/* {{{ 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)
/* {{{ 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)
}
/* }}} */
-function_entry filepro_functions[] = {
+zend_function_entry filepro_functions[] = {
PHP_FE(filepro, NULL)
PHP_FE(filepro_rowcount, NULL)
PHP_FE(filepro_fieldname, NULL)
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)
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;
/* {{{ gd_functions[]
*/
-function_entry gd_functions[] = {
+zend_function_entry gd_functions[] = {
PHP_FE(gd_info, NULL)
PHP_FE(imagearc, NULL)
PHP_FE(imageellipse, NULL)
/* {{{ 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() */
/* {{{ 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)
/* {{{ hash_functions[]
*/
-function_entry hash_functions[] = {
+zend_function_entry hash_functions[] = {
PHP_FE(hash, NULL)
PHP_FE(hash_file, NULL)
//}
//#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)
{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},
{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},
{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},
{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}
/* {{{ 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)
/* {{{ 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)
} \
} 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)
#include "php_interbase.h"
#include "php_ibase_includes.h"
#include "SAPI.h"
-
+5B
#include <time.h>
#define ROLLBACK 0
#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)
*/
/* {{{ 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)
/* }}} */
/* {{{ 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)
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)
#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)
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}
};
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)
/* {{{ 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)
/* {{{ 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)
*
* 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)
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
#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)
/* {{{ 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)
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)
/* {{{ 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)
/* }}} */
/* {{{ pdo_functions[] */
-function_entry pdo_functions[] = {
+zend_function_entry pdo_functions[] = {
PHP_FE(pdo_drivers, NULL)
{NULL, NULL, NULL}
};
}
/* }}} */
-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)
/* {{{ 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;
}
/* }}} */
-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)
/* {{{ overloaded handlers for PDORow class (used by PDO_FETCH_LAZY) */
-function_entry pdo_row_functions[] = {
+zend_function_entry pdo_row_functions[] = {
{NULL, NULL, NULL}
};
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;
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);
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;
ZEND_DECLARE_MODULE_GLOBALS(dblib)
-function_entry pdo_dblib_functions[] = {
+zend_function_entry pdo_dblib_functions[] = {
{NULL, NULL, NULL}
};
#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}
};
/* }}} */
#include "php_pdo_mysql_int.h"
/* {{{ pdo_mysql_functions[] */
-function_entry pdo_mysql_functions[] = {
+zend_function_entry pdo_mysql_functions[] = {
{NULL, NULL, NULL}
};
/* }}} */
#include "php_pdo_oci_int.h"
/* {{{ pdo_oci_functions[] */
-function_entry pdo_oci_functions[] = {
+zend_function_entry pdo_oci_functions[] = {
{NULL, NULL, NULL}
};
/* }}} */
#include "php_pdo_pgsql_int.h"
/* {{{ pdo_pgsql_functions[] */
-function_entry pdo_pgsql_functions[] = {
+zend_function_entry pdo_pgsql_functions[] = {
{NULL, NULL, NULL}
};
/* }}} */
/* }}} */
-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:
#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}
};
/* }}} */
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:
/* {{{ pgsql_functions[]
*/
-function_entry pgsql_functions[] = {
+zend_function_entry pgsql_functions[] = {
/* connection functions */
PHP_FE(pg_connect, NULL)
PHP_FE(pg_pconnect, NULL)
/* {{{ posix_functions[]
*/
-function_entry posix_functions[] = {
+zend_function_entry posix_functions[] = {
/* POSIX.1, 3.3 */
PHP_FE(posix_kill, NULL)
/* {{{ 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)
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) {
Reads the history */
PHP_FUNCTION(readline_read_history)
{
- pval **arg;
+ zval **arg;
char *filename = NULL;
int ac = ZEND_NUM_ARGS();
Writes the history */
PHP_FUNCTION(readline_write_history)
{
- pval **arg;
+ zval **arg;
char *filename = NULL;
int ac = ZEND_NUM_ARGS();
};
/* }}} */
-function_entry reflection_ext_functions[] = { /* {{{ */
+zend_function_entry reflection_ext_functions[] = { /* {{{ */
{NULL, NULL, NULL}
}; /* }}} */
/* {{{ 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)
/* {{{ 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)
}
/* }}} */
-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)
/* {{{ snmp_functions[]
*/
-function_entry snmp_functions[] = {
+zend_function_entry snmp_functions[] = {
PHP_FE(snmpget, NULL)
PHP_FE(snmpgetnext, NULL)
PHP_FE(snmpwalk, NULL)
/* {{{ snmp_functions[]
*/
-function_entry snmp_functions[] = {
+zend_function_entry snmp_functions[] = {
{"snmpget", php3_snmpget, NULL},
{"snmpwalk", php3_snmpwalk, NULL},
{NULL,NULL,NULL}
/* {{{ _php_snmp
*/
void _php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) {
- pval *a1, *a2, *a3;
+ zval *a1, *a2, *a3;
INT operation;
LPSTR agent;
LPSTR community;
#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;
/* {{{ 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)
/* 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:
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)
{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)
{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)
{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)
{NULL, NULL, NULL}
};
-function_entry sqlite_funcs_exception[] = {
+zend_function_entry sqlite_funcs_exception[] = {
{NULL, NULL, NULL}
};
} 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)
#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)
*
* 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)
/* {{{ 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)
/* {{{ 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)
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)
{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)
{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)
{NULL, NULL, NULL}
};
-function_entry tidy_funcs_exception[] = {
+zend_function_entry tidy_funcs_exception[] = {
{NULL, NULL, NULL}
};
*
* 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[] */
/* {{{ 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)
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)
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)
if(v) {
time_t timestamp = XMLRPC_GetValueDateTime(v);
if(timestamp) {
- pval* ztimestamp;
+ zval* ztimestamp;
MAKE_STD_ZVAL(ztimestamp);
*
* 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[] */
};
/* }}} */
/* {{{ 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)
PHP_FUNCTION(getallheaders);
-static function_entry aolserver_functions[] = {
+static zend_function_entry aolserver_functions[] = {
PHP_FE(getallheaders, NULL)
{NULL, NULL, NULL}
};
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)
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)
}
}
-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)
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)
/* {{{ 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)
PHP_FUNCTION(continuity_request_headers);
PHP_FUNCTION(continuity_response_headers);
-function_entry continuity_functions[] = {
+zend_function_entry continuity_functions[] = {
{NULL, NULL, NULL}
};
/* {{{ 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)
*
* 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 */