Bug #81289 [Opn->Fbk]: Running php -v results in oci8.old_oci_close_semantics is deprecated message

From: Date: Sun, 25 Jul 2021 12:46:08 +0000
Subject: Bug #81289 [Opn->Fbk]: Running php -v results in oci8.old_oci_close_semantics is deprecated message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235333@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81289&edit=1 ID: 81289 Updated by: cmb@php.net Reported by: dave_martin at mindspring dot com Summary: Running php -v results in oci8.old_oci_close_semantics is deprecated message -Status: Open +Status: Feedback Type: Bug Package: OCI8 related Operating System: Windows 10 Pro PHP Version: 8.1.0beta1 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: oci8.old_oci_close_semantics has only recently been deprecated[1]. Apparently you have enabled that setting in your php.ini. [1] <https://github.com/php/php-src/commit/e120d5269a31cb40d422e8617428a430bcda78c1> Previous Comments: ------------------------------------------------------------------------ [2021-07-25 12:33:11] dave_martin at mindspring dot com This only happens when the oci8_19 extension is enabled in php.ini. When the extension is NOT enable the deprecated error is not shown when running php -v ------------------------------------------------------------------------ [2021-07-25 12:25:12] dave_martin at mindspring dot com Description: ------------ After installing beta 1 simply running php -v from a command window results in the following message: Deprecated: Directive oci8.old_oci_close_semantics is deprecated in Unknown on line 0 Test script: --------------- php -v Expected result: ---------------- Expected the version details to be returned without the deprecated message. The deprecated message did not occur with the last alpha release. D:\Temp>php -v PHP 8.1.0beta1 (cli) (built: Jul 20 2021 17:20:01) (ZTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.1.0-dev, Copyright (c) Zend Technologies Actual result: -------------- D:\Temp>php -v Deprecated: Directive oci8.old_oci_close_semantics is deprecated in Unknown on line 0 PHP 8.1.0beta1 (cli) (built: Jul 20 2021 17:20:01) (ZTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.1.0-dev, Copyright (c) Zend Technologies ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81289&edit=1

« previous php.bugs (#235333) next »