Skip to content

Commit 234c03a

Browse files
committed
Remove PHP4.x stuff
1 parent 2381ffb commit 234c03a

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

ext/ming/ming.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4133,25 +4133,6 @@ PHP_MINFO_FUNCTION(ming)
41334133
/* {{{ todo PHP_MINIT_FUNCTION(ming)
41344134
*/
41354135

4136-
#if PHP_API_VERSION == 20020918
4137-
static php4_fix_funcnames(char *class_name, zend_function_entry *funcs)
4138-
{
4139-
zend_function_entry *pf = funcs;
4140-
char *pname;
4141-
4142-
while(funcs->fname) {
4143-
if( strcmp(funcs->fname,"__construct") == 0 ) {
4144-
pname=strdup(class_name);
4145-
} else {
4146-
pname=strdup(funcs->fname);
4147-
}
4148-
funcs->fname=pname;
4149-
while(*pname) { *pname=tolower(*pname);pname++;}
4150-
funcs++;
4151-
}
4152-
}
4153-
#endif
4154-
41554136
/* custom error handler propagates ming errors up to php */
41564137
static void php_ming_error(const char *msg, ...)
41574138
{

0 commit comments

Comments
 (0)