Skip to content

Commit 60869f4

Browse files
committed
Push updates for version 3.4.1
1 parent 288917b commit 60869f4

File tree

3 files changed

+35
-17
lines changed

3 files changed

+35
-17
lines changed

package.xml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
1010
<description>
1111
The OCI8 extension lets you access Oracle Database.
1212

13-
Use 'pecl install oci8' to install for PHP 8.2 and PHP 8.3.
13+
Use 'pecl install oci8' to install for PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
1414

1515
Use 'pecl install oci8-3.2.1' to install for PHP 8.1.
1616

@@ -59,24 +59,24 @@ Oracle's standard cross-version connectivity applies. For example, PHP OCI8 lin
5959
<active>no</active>
6060
</lead>
6161

62-
<date>2024-07-24</date>
62+
<date>2024-12-23</date>
6363
<time>12:00:00</time>
6464

6565
<version>
66-
<release>3.4.0</release>
67-
<api>3.4.0</api>
66+
<release>3.4.1</release>
67+
<api>3.4.1</api>
6868
</version>
6969
<stability>
7070
<release>stable</release>
7171
<api>stable</api>
7272
</stability>
7373
<license uri="http://www.php.net/license">PHP</license>
7474
<notes>
75-
This version has been tested with PHP 8.2 and PHP 8.3.
75+
This version has been tested with PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
7676

7777
Requires Oracle Client libraries from 11.2 or later.
7878

79-
Added oci_pconnect() support for Oracle wallets
79+
Minor updates for package bug fix, PIE migration and upcoming PHP release.
8080
</notes>
8181
<contents>
8282
<dir name="/">
@@ -463,6 +463,25 @@ Oracle's standard cross-version connectivity applies. For example, PHP OCI8 lin
463463
</extsrcrelease>
464464
<changelog>
465465

466+
<release>
467+
<version>
468+
<release>3.4.0</release>
469+
<api>3.4.0</api>
470+
</version>
471+
<stability>
472+
<release>stable</release>
473+
<api>stable</api>
474+
</stability>
475+
<license uri="http://www.php.net/license">PHP</license>
476+
<notes>
477+
This version has been tested with PHP 8.2 and PHP 8.3.
478+
479+
Requires Oracle Client libraries from 11.2 or later.
480+
481+
Added oci_pconnect() support for Oracle wallets.
482+
</notes>
483+
</release>
484+
466485
<release>
467486
<version>
468487
<release>3.3.0</release>

php_oci8.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
*/
2525

2626
#ifdef HAVE_OCI8
27-
# ifndef PHP_OCI8_H
28-
# define PHP_OCI8_H
27+
#ifndef PHP_OCI8_H
28+
#define PHP_OCI8_H
2929

3030
#ifdef ZTS
31-
# include "TSRM.h"
31+
#include "TSRM.h"
3232
#endif
3333

3434
/*
@@ -40,24 +40,23 @@
4040
*/
4141
#undef PHP_OCI8_VERSION
4242
#endif
43-
#define PHP_OCI8_VERSION "3.4.0"
43+
#define PHP_OCI8_VERSION "3.4.1"
4444

4545
extern zend_module_entry oci8_module_entry;
4646
#define phpext_oci8_ptr &oci8_module_entry
4747
#define phpext_oci8_11g_ptr &oci8_module_entry
4848
#define phpext_oci8_12c_ptr &oci8_module_entry
4949
#define phpext_oci8_19_ptr &oci8_module_entry
5050

51-
5251
PHP_MINIT_FUNCTION(oci);
5352
PHP_RINIT_FUNCTION(oci);
5453
PHP_MSHUTDOWN_FUNCTION(oci);
5554
PHP_RSHUTDOWN_FUNCTION(oci);
5655
PHP_MINFO_FUNCTION(oci);
5756

58-
# endif /* !PHP_OCI8_H */
59-
#else /* !HAVE_OCI8 */
57+
#endif /* !PHP_OCI8_H */
58+
#else /* !HAVE_OCI8 */
6059

61-
# define oci8_module_ptr NULL
60+
#define oci8_module_ptr NULL
6261

6362
#endif /* HAVE_OCI8 */

tests/driver_name.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ function get_attr($conn)
5858
?>
5959
--EXPECT--
6060
**Test 1.1 - Default values for the attribute **************
61-
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
61+
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
6262

6363
***Test 1.2 - Get the values from different connections **************
6464
Testing with oci_pconnect()
65-
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
65+
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
6666
Testing with oci_new_connect()
67-
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
67+
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
6868
Done

0 commit comments

Comments
 (0)