mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Congrats Andrey
This commit is contained in:
parent
46783929a3
commit
fff675c448
2 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,8 @@ PHP 4.0 CHANGE LOG ChangeLog
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
|
|
||||||
??? ?? 1999, Version 4.0 Beta 2
|
??? ?? 1999, Version 4.0 Beta 2
|
||||||
|
- Fixed a problem with the PHP error handler that could result in a crash
|
||||||
|
on certain operating systems (Zeev)
|
||||||
- Apache php_flag values only recognized 'On' (case sensitive) - changed
|
- Apache php_flag values only recognized 'On' (case sensitive) - changed
|
||||||
to case insensitive (Zeev)
|
to case insensitive (Zeev)
|
||||||
- Fixed a memory leak with switch statement containing return statements
|
- Fixed a memory leak with switch statement containing return statements
|
||||||
|
|
|
@ -359,6 +359,9 @@ PHPAPI void php3_error(int type, const char *format,...)
|
||||||
|
|
||||||
error_filename = zend_get_compiled_filename();
|
error_filename = zend_get_compiled_filename();
|
||||||
error_lineno = CG(zend_lineno);
|
error_lineno = CG(zend_lineno);
|
||||||
|
if (!error_filename) {
|
||||||
|
error_filename = zend_get_executed_filename(ELS_C);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case E_ERROR:
|
case E_ERROR:
|
||||||
|
@ -372,6 +375,10 @@ PHPAPI void php3_error(int type, const char *format,...)
|
||||||
error_lineno = 0;
|
error_lineno = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!error_filename) {
|
||||||
|
error_filename = "Unknown";
|
||||||
|
}
|
||||||
|
|
||||||
if (EG(error_reporting) & type || (type & E_CORE)) {
|
if (EG(error_reporting) & type || (type & E_CORE)) {
|
||||||
char *error_type_str;
|
char *error_type_str;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue