mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
- Fix severity (found by johannes)
This commit is contained in:
parent
32aaa6a7be
commit
0236e31313
@ -810,7 +810,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS
|
||||
} else {
|
||||
severity = E_ERROR;
|
||||
}
|
||||
zend_error(E_STRICT, "Non-static method %s::%s() cannot be called statically", calling_scope->name, EX(function_state).function->common.function_name);
|
||||
zend_error(severity, "Non-static method %s::%s() cannot be called statically", calling_scope->name, EX(function_state).function->common.function_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user