From 304d6154ba6f1edda9ad9a12c3c22befc7eb1ae6 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 17 Sep 2014 09:39:42 +0200 Subject: [PATCH] fix test --- tests/res001.phpt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/res001.phpt b/tests/res001.phpt index 6cf307a..836a3bd 100644 --- a/tests/res001.phpt +++ b/tests/res001.phpt @@ -10,6 +10,11 @@ echo "Test\n"; include "_setup.inc"; +set_error_handler(function($code, $error, $file, $line) { + printf("\nWarning: %s in %s on line %d\n", $error, $file, $line); + return true; +}, E_RECOVERABLE_ERROR); + class r extends pq\Result { public $dummy = 2; } -- 2.30.2