Re: Re: cvs: php4 / run-tests.php
| From: | Melvyn Sopacua | Date: | Mon, 28 Oct 2002 17:50:15 +0000 |
| Subject: | Re: Re: cvs: php4 / run-tests.php | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90216@lists.php.net to get a copy of this message | ||
At 18:24 28-10-2002, Marcus Börger wrote:
Second i did another commit to direct logs to stderr so the errors are shown in the output. So i do not see any problem here.I don't get it - display_errors=on works independantly from log_errors. Why do we need logs? msopacua@trinity.webteckies.org ~ $ /phpcvs/bin/php -f test.php ===> Log errors on [28-Oct-2002 18:48:21] PHP Notice: Undefined variable: foo in /home/msopacua/test.php on line 7 Notice: Undefined variable: foo in /home/msopacua/test.php on line 7 /home/msopacua/test.php(7) : Notice - Undefined variable: foo ===> Log errors off Notice: Undefined variable: foo in /home/msopacua/test.php on line 10 /home/msopacua/test.php(10) : Notice - Undefined variable: foo msopacua@trinity.webteckies.org ~ $ cat test.php <?php error_reporting(E_ALL); ini_set('display_errors', TRUE); ini_set('error_log', '/dev/stderr'); echo "===> Log errors on\n\n"; ini_set('log_errors', TRUE); echo $foo; ini_set('log_errors', FALSE); echo "===> Log errors off\n\n"; echo $foo; ?> Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua