[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] com =?UTF-8?Q?pecl/database/ibm=5Fdb=32=3A=20null=20with=20this=20functio?= =?UTF-8?Q?n=2
From: Calvin Buckley <calvinb () php ! net>
Date: 2020-11-30 18:12:35
Message-ID: php-mail-a84badc75e3716072f2150bc1296b740177058741 () git ! php ! net
[Download RAW message or body]
Commit: e0812bc1147366c66f501fc548ffd35e57f710f9
Author: Calvin Buckley <calvin@cmpct.info> Wed, 25 Nov 2020 16:54:46 -0500
Parents: f8d2b93b15e869e11749a67de6e6490710d6df69
Branches: master
Link: http://git.php.net/?p=pecl/database/ibm_db2.git;a=commitdiff;h=e0812bc1147366c66f501fc548ffd35e57f710f9
Log:
null with this function results in a fatal error on PHP 8
Does it make sense to even test for this?
Changed paths:
M tests/test_251_FreeResult_02.phpt
Diff:
diff --git a/tests/test_251_FreeResult_02.phpt b/tests/test_251_FreeResult_02.phpt
index b86f50c..c48b506 100644
--- a/tests/test_251_FreeResult_02.phpt
+++ b/tests/test_251_FreeResult_02.phpt
@@ -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
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic