From: Michael Wallner Date: Wed, 17 Sep 2014 07:39:42 +0000 (+0200) Subject: fix test X-Git-Tag: v0.5.0~17 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=commitdiff_plain;h=304d6154ba6f1edda9ad9a12c3c22befc7eb1ae6 fix test --- 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; }