summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-15 15:47:24 +0000
committerZeev Suraski <zeev@php.net>1999-05-15 15:47:24 +0000
commitb0bfa458b5c30a2992eb3f433d9e57b32195e3fb (patch)
tree0abf2dafddf9d636aefe460db52766af220b2c9d /Zend/zend.c
parentd2c16bf5bd084dce9893061f9d878c379aba3ce1 (diff)
downloadphp-git-b0bfa458b5c30a2992eb3f433d9e57b32195e3fb.tar.gz
* Fix all hash checks that checked Bucket.arKey for NULL, when it was changed
to char[1], these checks should have been changed to Bucket.nKeyLength==0 * Support runtime declaration of functions. I ended up changing the grammar to catch top level functions vs. nested functions. The reason is simple - if we don't have functions properly declared at compile-time, function calls cannot be resolved at compile time, and have to be resolved at runtime, which ends up being much much slower (without the optimizer, that is). It's no biggy though, the grammar change isn't that bad.
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index f9b0640d09..0ede40804b 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -320,6 +320,7 @@ void zenderror(char *error)
}
+BEGIN_EXTERN_C()
ZEND_API void zend_bailout()
{
CLS_FETCH();
@@ -328,6 +329,7 @@ ZEND_API void zend_bailout()
CG(unclean_shutdown) = 1;
longjmp(EG(bailout), FAILURE);
}
+END_EXTERN_C()
void zend_append_version_info(zend_extension *extension)