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