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;
}
Warning: pq\Result not initialized in %s on line %d
Warning: pq\Result not initialized in %s on line %d
-object(pq\Result)#%d (7) {
+
+Warning: pq\Result not initialized in %s on line %d
+
+Warning: pq\Result not initialized in %s on line %d
+object(pq\Result)#%d (8) {
["status"]=>
NULL
["statusMessage"]=>
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
-array(8) {
+array(9) {
["dummy"]=>
int(2)
["status"]=>
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
Done