Chris@0: --TEST-- Chris@0: Test DeprecationErrorHandler in default mode Chris@0: --FILE-- Chris@0: testLegacyFoo(); Chris@0: $foo->testNonLegacyBar(); Chris@0: Chris@0: ?> Chris@0: --EXPECTF-- Chris@0: Unsilenced deprecation notices (3) Chris@0: Chris@0: unsilenced foo deprecation: 2x Chris@0: 2x in FooTestCase::testLegacyFoo Chris@0: Chris@0: unsilenced bar deprecation: 1x Chris@0: 1x in FooTestCase::testNonLegacyBar Chris@0: Chris@0: Remaining deprecation notices (1) Chris@0: Chris@0: silenced bar deprecation: 1x Chris@0: 1x in FooTestCase::testNonLegacyBar Chris@0: Chris@0: Legacy deprecation notices (1) Chris@0: Chris@0: Other deprecation notices (1) Chris@0: Chris@0: root deprecation: 1x Chris@0: