projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
fix test
[m6w6/ext-pq]
/
tests
/
res001.phpt
diff --git
a/tests/res001.phpt
b/tests/res001.phpt
index 6cf307af220daf87886c5536c642e6e739e6b4b3..836a3bd8413b517db390fe1f28374bfe007552c3 100644
(file)
--- 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;
}