mirror of
https://github.com/php/pecl-database-ibm_db2.git
synced 2026-03-23 23:02:16 +01:00
null with this function results in a fatal error on PHP 8
Does it make sense to even test for this?
This commit is contained in:
@@ -13,14 +13,11 @@ $result = db2_exec($conn, "select * from sales");
|
||||
|
||||
$r1 = db2_free_result($result);
|
||||
$r2 = db2_free_result($result);
|
||||
$r3 = @db2_free_result($result99);
|
||||
|
||||
var_dump( $r1 );
|
||||
var_dump( $r2 );
|
||||
var_dump( $r3 );
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
NULL
|
||||
|
||||
Reference in New Issue
Block a user