Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18673
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: set_error_handler(): duplicate error |
| Date | 2021-06-23 13:35 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <sav6a9$1f91$1@gioia.aioe.org> (permalink) |
| References | (3 earlier) <ij8kteFp5ocU1@mid.individual.net> <saq9ua$1j8h$1@gioia.aioe.org> <ijc1ehFen8qU1@mid.individual.net> <sasr13$1n9p$1@gioia.aioe.org> <ijeggiFt7asU1@mid.individual.net> |
Il 22/06/21 18:13, J.O. Aho ha scritto:
>
> On 22/06/2021 16.10, alex wrote:
>
>> So as already mentioned (if no error handler is implemented) I can't
>> see any errors :|
>
> php.ini:
> error_log = syslog
>
> if enabled, errors will be logged to the systems log system
>
>
> example:
> Jun 22 16:09:39 machine php: PHP Fatal error: Uncaught Error: Call to
> undefined function xx() in /tmp/a.php:2
> Jun 22 16:09:39 machine php: Stack trace:
> Jun 22 16:09:39 machine php: #0 {main}
> Jun 22 16:09:39 machine php: thrown in /tmp/a.php on line 2
>
> file in question:
> <?php
> xx();
>
>
<?php
var_dump(ini_get('error_log'));
xxx();
------------------
/tmp/tmp.PaOxmRpwmD/test.php:2:
string(6) "syslog"
Fatal error: Uncaught Error: Call to undefined function xxx() in
/tmp/tmp.PaOxmRpwmD/test.php on line 3
Error: Call to undefined function xxx() in /tmp/tmp.PaOxmRpwmD/test.php
on line 3
Call Stack:
0.0049 393400 1. {main}() /tmp/tmp.PaOxmRpwmD/test.php:0
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-10 11:04 +0200
Re: set_error_handler(): duplicate error Ii Ii <ya12983@mail.com> - 2021-06-16 02:39 -0700
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-16 13:48 +0200
Re: set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-18 14:53 +0200
Re: set_error_handler(): duplicate error Jerry Stuckle <jstucklex@attglobal.net> - 2021-06-18 22:00 -0400
Re: set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-19 16:41 +0200
Re: set_error_handler(): duplicate error Jerry Stuckle <jstucklex@attglobal.net> - 2021-06-19 19:21 -0400
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-20 13:10 +0200
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-20 13:02 +0200
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-20 12:51 +0200
Re: set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-21 17:06 +0200
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-21 19:43 +0200
Re: set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-22 16:10 +0200
Re: set_error_handler(): duplicate error "J.O. Aho" <user@example.net> - 2021-06-22 18:13 +0200
Re: set_error_handler(): duplicate error alex <1j9448a02@lnx159sneakemail.com.invalid> - 2021-06-23 13:35 +0200
Re: set_error_handler(): duplicate error Arno Welzel <usenet@arnowelzel.de> - 2021-06-23 10:24 +0200
csiph-web