|
Posted by Captain Paralytic on 02/01/08 12:23
On 1 Feb, 12:08, Sebastian Hopfe <s.ho...@gmx.net> wrote:
> Hi,
>
> i would ask you about a little problem in my skript. I want to use the
> init-setting "ignore_repeated_errors" - but it does not things
> explained in the documentation. For testing this feature, i had wrote
> a little testscript. And on my WinXP - Xammp (It should work on this
> platform) i tried this.
>
> <?php
>
> phpinfo();
>
> echo ini_get("ignore_repeated_errors");
> ini_set("ignore_repeated_errors", "1");
> echo ini_get("ignore_repeated_errors");
>
> echo "<br>";
>
> echo ini_get("ignore_repeated_source");
> ini_set("ignore_repeated_source", "1");
> echo ini_get("ignore_repeated_source");
>
> phpinfo();
>
> $counter = 0;
>
> while(!feof($handle))
> {
> if(++$counter == 10)
> break;
> }
>
> ?>
>
> But, i got 10 times the same error - produced in the script. It seems
> to be wrong. Have anyone experience whit this iniset?
>
> Best regards
> Sebastian
According to the manual, ignore_repeated_errors stops the errors
getting logged repeatedly. So are you seeing these errors in the log?
Navigation:
[Reply to this message]
|