Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: set_error_handler(): duplicate error Date: Tue, 22 Jun 2021 18:13:05 +0200 Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net TpO2KuEtQ44tY928HqFoFgCowWUffgOeNIHaF1JsXpEBP6+Xf7 Cancel-Lock: sha1:wN3rOXudO+9t2R3QPKOW9ZGYzVU= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 In-Reply-To: Content-Language: en-US-large Xref: csiph.com comp.lang.php:18671 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: