summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-09-20 16:56:02 +0000
committerAndi Gutmans <andi@php.net>1999-09-20 16:56:02 +0000
commit96a19593b223bdc8dbfa9aeb5e31c4a66102745b (patch)
tree17c5a16f8aabd64d34efa02f56e0638aef7cf5ca /main/php.h
parentc0dcedcafc9882c12bde1d39ebbefdfdd9aa51dd (diff)
downloadphp-git-96a19593b223bdc8dbfa9aeb5e31c4a66102745b.tar.gz
- Internal functions which are basic language functions should be in Zend
and not in PHP. I.e. strlen(), each(), error_reporting(), count(), get_class_name().
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 2207dbce8d..4f635a21e8 100644
--- a/main/php.h
+++ b/main/php.h
@@ -249,7 +249,6 @@ extern int ap_vsnprintf(char *, size_t, const char *, va_list);
#define STR_FREE(ptr) if (ptr && ptr!=empty_string && ptr!=undefined_variable_string) { efree(ptr); }
#define COPY_STRING(yy) (yy).value.str.val = (char *) estrndup((yy).value.str.val,(yy).value.str.len)
#define STR_PRINT(str) ((str)?(str):"")
-#define HASH_OF(p) ((p)->type==IS_ARRAY ? (p)->value.ht : (((p)->type==IS_OBJECT ? (p)->value.obj.properties : NULL)))
#ifndef MAXPATHLEN
#define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */