mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
MFH: nuke php3 legacy
This commit is contained in:
parent
253392f64f
commit
06b36f7cea
6 changed files with 17 additions and 17 deletions
|
@ -30,7 +30,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
/* {{{ Function table */
|
/* {{{ Function table */
|
||||||
function_entry date_functions[] = {
|
zend_function_entry date_functions[] = {
|
||||||
PHP_FE(strtotime, NULL)
|
PHP_FE(strtotime, NULL)
|
||||||
PHP_FE(date, NULL)
|
PHP_FE(date, NULL)
|
||||||
PHP_FE(idate, NULL)
|
PHP_FE(idate, NULL)
|
||||||
|
@ -76,7 +76,7 @@ function_entry date_functions[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef EXPERIMENTAL_DATE_SUPPORT
|
#ifdef EXPERIMENTAL_DATE_SUPPORT
|
||||||
function_entry date_funcs_date[] = {
|
zend_function_entry date_funcs_date[] = {
|
||||||
ZEND_NAMED_FE(format, ZEND_FN(date_format), NULL)
|
ZEND_NAMED_FE(format, ZEND_FN(date_format), NULL)
|
||||||
ZEND_NAMED_FE(modify, ZEND_FN(date_modify), NULL)
|
ZEND_NAMED_FE(modify, ZEND_FN(date_modify), NULL)
|
||||||
ZEND_NAMED_FE(getTimezone, ZEND_FN(date_timezone_get), NULL)
|
ZEND_NAMED_FE(getTimezone, ZEND_FN(date_timezone_get), NULL)
|
||||||
|
@ -88,7 +88,7 @@ function_entry date_funcs_date[] = {
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
function_entry date_funcs_timezone[] = {
|
zend_function_entry date_funcs_timezone[] = {
|
||||||
ZEND_NAMED_FE(getName, ZEND_FN(timezone_name_get), NULL)
|
ZEND_NAMED_FE(getName, ZEND_FN(timezone_name_get), NULL)
|
||||||
ZEND_NAMED_FE(getOffset, ZEND_FN(timezone_offset_get), NULL)
|
ZEND_NAMED_FE(getOffset, ZEND_FN(timezone_offset_get), NULL)
|
||||||
ZEND_NAMED_FE(getTransistions, ZEND_FN(timezone_transistions_get), NULL)
|
ZEND_NAMED_FE(getTransistions, ZEND_FN(timezone_transistions_get), NULL)
|
||||||
|
|
|
@ -145,7 +145,7 @@ mysqli_property_entry mysqli_driver_property_entries[] = {
|
||||||
|
|
||||||
/* {{{ mysqli_driver_methods[]
|
/* {{{ mysqli_driver_methods[]
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_driver_methods[] = {
|
zend_function_entry mysqli_driver_methods[] = {
|
||||||
PHP_FALIAS(embedded_server_start, mysqli_embedded_server_start, NULL)
|
PHP_FALIAS(embedded_server_start, mysqli_embedded_server_start, NULL)
|
||||||
PHP_FALIAS(embedded_server_end, mysqli_embedded_server_end, NULL)
|
PHP_FALIAS(embedded_server_end, mysqli_embedded_server_end, NULL)
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
/* {{{ mysqli_exception_methods[]
|
/* {{{ mysqli_exception_methods[]
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_exception_methods[] = {
|
zend_function_entry mysqli_exception_methods[] = {
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
|
@ -50,7 +50,7 @@ static
|
||||||
*
|
*
|
||||||
* Every user visible function must have an entry in mysqli_functions[].
|
* Every user visible function must have an entry in mysqli_functions[].
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_functions[] = {
|
zend_function_entry mysqli_functions[] = {
|
||||||
PHP_FE(mysqli_affected_rows, NULL)
|
PHP_FE(mysqli_affected_rows, NULL)
|
||||||
PHP_FE(mysqli_autocommit, NULL)
|
PHP_FE(mysqli_autocommit, NULL)
|
||||||
PHP_FE(mysqli_change_user, NULL)
|
PHP_FE(mysqli_change_user, NULL)
|
||||||
|
@ -183,7 +183,7 @@ function_entry mysqli_functions[] = {
|
||||||
*
|
*
|
||||||
* Every user visible function must have an entry in mysqli_functions[].
|
* Every user visible function must have an entry in mysqli_functions[].
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_link_methods[] = {
|
zend_function_entry mysqli_link_methods[] = {
|
||||||
PHP_FALIAS(autocommit,mysqli_autocommit,NULL)
|
PHP_FALIAS(autocommit,mysqli_autocommit,NULL)
|
||||||
PHP_FALIAS(change_user,mysqli_change_user,NULL)
|
PHP_FALIAS(change_user,mysqli_change_user,NULL)
|
||||||
PHP_FALIAS(character_set_name, mysqli_character_set_name,NULL)
|
PHP_FALIAS(character_set_name, mysqli_character_set_name,NULL)
|
||||||
|
@ -244,7 +244,7 @@ function_entry mysqli_link_methods[] = {
|
||||||
*
|
*
|
||||||
* Every user visible function must have an entry in mysqli_result_functions[].
|
* Every user visible function must have an entry in mysqli_result_functions[].
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_result_methods[] = {
|
zend_function_entry mysqli_result_methods[] = {
|
||||||
PHP_FALIAS(mysqli_result, mysqli_result_construct, NULL)
|
PHP_FALIAS(mysqli_result, mysqli_result_construct, NULL)
|
||||||
PHP_FALIAS(close,mysqli_free_result,NULL)
|
PHP_FALIAS(close,mysqli_free_result,NULL)
|
||||||
PHP_FALIAS(free,mysqli_free_result,NULL)
|
PHP_FALIAS(free,mysqli_free_result,NULL)
|
||||||
|
@ -267,7 +267,7 @@ function_entry mysqli_result_methods[] = {
|
||||||
*
|
*
|
||||||
* Every user visible function must have an entry in mysqli_stmt_functions[].
|
* Every user visible function must have an entry in mysqli_stmt_functions[].
|
||||||
*/
|
*/
|
||||||
function_entry mysqli_stmt_methods[] = {
|
zend_function_entry mysqli_stmt_methods[] = {
|
||||||
PHP_FALIAS(mysqli_stmt, mysqli_stmt_construct, NULL)
|
PHP_FALIAS(mysqli_stmt, mysqli_stmt_construct, NULL)
|
||||||
PHP_FALIAS(attr_get,mysqli_stmt_attr_get,NULL)
|
PHP_FALIAS(attr_get,mysqli_stmt_attr_get,NULL)
|
||||||
PHP_FALIAS(attr_set,mysqli_stmt_attr_set,NULL)
|
PHP_FALIAS(attr_set,mysqli_stmt_attr_set,NULL)
|
||||||
|
|
|
@ -211,7 +211,7 @@ PHP_METHOD(mysqli_warning, __construct)
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
function_entry mysqli_warning_methods[] = {
|
zend_function_entry mysqli_warning_methods[] = {
|
||||||
PHP_ME(mysqli_warning, __construct, NULL, ZEND_ACC_PROTECTED)
|
PHP_ME(mysqli_warning, __construct, NULL, ZEND_ACC_PROTECTED)
|
||||||
PHP_ME(mysqli_warning, next, NULL, ZEND_ACC_PUBLIC)
|
PHP_ME(mysqli_warning, next, NULL, ZEND_ACC_PUBLIC)
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
|
|
|
@ -121,13 +121,13 @@ typedef struct {
|
||||||
#define PHP_MYSQLI_EXPORT(__type) PHP_MYSQLI_API __type
|
#define PHP_MYSQLI_EXPORT(__type) PHP_MYSQLI_API __type
|
||||||
|
|
||||||
extern zend_module_entry mysqli_module_entry;
|
extern zend_module_entry mysqli_module_entry;
|
||||||
extern function_entry mysqli_functions[];
|
extern zend_function_entry mysqli_functions[];
|
||||||
extern function_entry mysqli_link_methods[];
|
extern zend_function_entry mysqli_link_methods[];
|
||||||
extern function_entry mysqli_stmt_methods[];
|
extern zend_function_entry mysqli_stmt_methods[];
|
||||||
extern function_entry mysqli_result_methods[];
|
extern zend_function_entry mysqli_result_methods[];
|
||||||
extern function_entry mysqli_driver_methods[];
|
extern zend_function_entry mysqli_driver_methods[];
|
||||||
extern function_entry mysqli_warning_methods[];
|
extern zend_function_entry mysqli_warning_methods[];
|
||||||
extern function_entry mysqli_exception_methods[];
|
extern zend_function_entry mysqli_exception_methods[];
|
||||||
|
|
||||||
extern mysqli_property_entry mysqli_link_property_entries[];
|
extern mysqli_property_entry mysqli_link_property_entries[];
|
||||||
extern mysqli_property_entry mysqli_result_property_entries[];
|
extern mysqli_property_entry mysqli_result_property_entries[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue