Remove PHP4.x stuff

This commit is contained in:
Frank M. Kromann 2006-12-05 21:46:33 +00:00
parent 2381ffba16
commit 234c03a14f

View File

@ -4133,25 +4133,6 @@ PHP_MINFO_FUNCTION(ming)
/* {{{ todo PHP_MINIT_FUNCTION(ming)
*/
#if PHP_API_VERSION == 20020918
static php4_fix_funcnames(char *class_name, zend_function_entry *funcs)
{
zend_function_entry *pf = funcs;
char *pname;
while(funcs->fname) {
if( strcmp(funcs->fname,"__construct") == 0 ) {
pname=strdup(class_name);
} else {
pname=strdup(funcs->fname);
}
funcs->fname=pname;
while(*pname) { *pname=tolower(*pname);pname++;}
funcs++;
}
}
#endif
/* custom error handler propagates ming errors up to php */
static void php_ming_error(const char *msg, ...)
{