1--TEST--
2Test ignore_repeated_errors ini setting
3--INI--
4ignore_repeated_errors=1
5--FILE--
6<?php
7
8// Not a repeated error due to different variables names.
9$u1 + $u2;
10
11// Repeated error.
12$u + $u;
13
14// Not a repeated error, because the line is different.
15$u + 1;
16
17?>
18--EXPECTF--
19Warning: Undefined variable $u1 in %s on line %d
20
21Warning: Undefined variable $u2 in %s on line %d
22
23Warning: Undefined variable $u in %s on line %d
24
25Warning: Undefined variable $u in %s on line %d
26