summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/basic_functions.c')
-rwxr-xr-xext/standard/basic_functions.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index b2b30a05e4..9eeed75b04 100755
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -108,8 +108,6 @@ PHPAPI php_basic_globals basic_globals;
#include "streamsfuncs.h"
#include "basic_functions_arginfo.h"
-static zend_class_entry *incomplete_class_entry = NULL;
-
typedef struct _user_tick_function_entry {
zval *arguments;
int arg_count;
@@ -220,7 +218,6 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p) /* {{{ */
memset(&BG(mblen_state), 0, sizeof(BG(mblen_state)));
#endif
- BG(incomplete_class) = incomplete_class_entry;
BG(page_uid) = -1;
BG(page_gid) = -1;
}
@@ -285,7 +282,7 @@ PHP_MINIT_FUNCTION(basic) /* {{{ */
#endif
#endif
- BG(incomplete_class) = incomplete_class_entry = php_create_incomplete_class();
+ php_register_incomplete_class();
REGISTER_LONG_CONSTANT("CONNECTION_ABORTED", PHP_CONNECTION_ABORTED, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("CONNECTION_NORMAL", PHP_CONNECTION_NORMAL, CONST_CS | CONST_PERSISTENT);