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