summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-06-19 17:50:31 +0000
committerAndi Gutmans <andi@php.net>2001-06-19 17:50:31 +0000
commit9c9a3139297c2507111de293de0d7bf8bc0a1068 (patch)
tree12cf447ce3f7e2e1bba72b79a093c141adf99add
parent530de64ac107aab154d9008c8c118ded3586f7b7 (diff)
downloadphp-git-9c9a3139297c2507111de293de0d7bf8bc0a1068.tar.gz
- MFH
-rw-r--r--Zend/zend_execute.c4
-rw-r--r--Zend/zend_execute.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index 9f34ec1bc4..4b63c98a7f 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -898,7 +898,7 @@ typedef struct _object_info {
zval *ptr;
} object_info;
-void execute(zend_op_array *op_array ELS_DC)
+ZEND_API void execute(zend_op_array *op_array ELS_DC)
{
zend_op *opline = op_array->opcodes;
#if SUPPORT_INTERACTIVE
@@ -1532,7 +1532,7 @@ do_fcall_common:
zend_hash_update(function_state.function_symbol_table, "this", sizeof("this"), &null_ptr, sizeof(zval *), (void **) &this_ptr);
if (!PZVAL_IS_REF(object.ptr)) {
- zend_error(E_WARNING,"Problem with method call. Report this bug\n");
+ zend_error(E_WARNING, "Problem with method call - please report this bug");
}
*this_ptr = object.ptr;
object.ptr = NULL;
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 96be87b9dd..db6da8cd2a 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -52,7 +52,7 @@ ZEND_API extern void (*zend_execute)(zend_op_array *op_array ELS_DC);
void init_executor(CLS_D ELS_DC);
void shutdown_executor(ELS_D);
-void execute(zend_op_array *op_array ELS_DC);
+ZEND_API void execute(zend_op_array *op_array ELS_DC);
ZEND_API int zend_is_true(zval *op);
static inline void safe_free_zval_ptr(zval *p)
{