mirror of
https://github.com/php/php-src.git
synced 2025-01-26 05:34:32 +08:00
Remove PHP4.x stuff
This commit is contained in:
parent
2381ffba16
commit
234c03a14f
@ -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, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user