Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18929
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: backtrace into error.log |
| Date | 2022-04-23 15:33 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <t40v7d$1j5n$1@gioia.aioe.org> (permalink) |
| References | (1 earlier) <t3uctd$78h$1@jstuckle.eternal-september.org> <t3ufsr$jav$1@gioia.aioe.org> <jcg3nsFpoptU1@mid.individual.net> <t3unqc$f7n$1@gioia.aioe.org> <7t6263a953i11b8d9n3e8%sfroehli@Froehlich.Priv.at> |
Il 23/04/22 09:24, Stefan Froehlich ha scritto:
> AFAIK PHP never did this, but xdebug does so - perhaps you had it
> installed in earlier days.
I have found that with exceptions it works
$ php -r "trigger_error(123);throw new Exception;"
$ tail -n5 /var/log/error.log
[23-Apr-2022 15:30:31 Europe/Berlin] PHP Notice: 123 in Command line
code on line 1
[23-Apr-2022 15:30:31 Europe/Berlin] PHP Fatal error: Uncaught
Exception in Command line code:1
Stack trace:
#0 {main}
thrown in Command line code on line 1
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 11:29 +0200
Re: backtrace into error.log Jerry Stuckle <stuckle.jerry@gmail.com> - 2022-04-22 10:08 -0400
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 16:59 +0200
Re: backtrace into error.log Arno Welzel <usenet@arnowelzel.de> - 2022-04-22 18:34 +0200
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 19:14 +0200
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-22 19:30 +0200
Re: backtrace into error.log Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2022-04-23 07:24 +0000
Re: backtrace into error.log alex <1j9448a02@lnx159sneakemail.com.invalid> - 2022-04-23 15:33 +0200
Re: backtrace into error.log Kristjan Robam <kristjanrobam1983@outlook.com> - 2023-10-14 04:01 -0700
csiph-web