[PECL-CVS] [pecl-database-oci8] main: Merge pull request #43 from shivammathur/fix-8.6

[email protected] (Sharad Chandran R via GitHub)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Sharad Chandran R (sharadraju)
Committer: GitHub (web-flow)
Pusher: sharadraju
Date: 2025-12-19T09:08:48+05:30

Commit: https://github.com/php/pecl-database-oci8/commit/73ce21e566147cc5976193c0622304f90d04189d
Raw diff: https://github.com/php/pecl-database-oci8/commit/73ce21e566147cc5976193c0622304f90d04189d.diff

Merge pull request #43 from shivammathur/fix-8.6

PHP 8.6: WRONG_PARAM_COUNT has been removed in favour of zend_wrong_param_count() + RETURN_THROWS()

Changed paths:
  M  oci8_interface.c


Diff:

diff --git a/oci8_interface.c b/oci8_interface.c
index 2b1117d..3858035 100644
--- a/oci8_interface.c
+++ b/oci8_interface.c
@@ -1938,7 +1938,8 @@ PHP_FUNCTION(oci_password_change)
 		}
 		RETURN_RES(connection->id);
 	}
-	WRONG_PARAM_COUNT;
+	zend_wrong_param_count();
+    RETURN_THROWS();
 }
 /* }}} */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.