Skip to content

Commit

Permalink
v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Theunissen committed Dec 19, 2023
1 parent 5cffb47 commit daf9b1e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://github.com/php-ds/ext-ds/workflows/CI/badge.svg)](https://github.com/php-ds/ext-ds/actions?query=workflow%3A%22CI%22+branch%3Amaster)
[![Build status](https://ci.appveyor.com/api/projects/status/9w0xitp3q04hdu1d?svg=true)](https://ci.appveyor.com/project/rtheunissen/ext-ds)
[![PECL](https://img.shields.io/badge/PECL-1.4.0-blue.svg)](https://pecl.php.net/package/ds)
[![PECL](https://img.shields.io/badge/PECL-1.5.0-blue.svg)](https://pecl.php.net/package/ds)

A PHP language extension that provides specialized data structures as efficient alternatives to the PHP array.
You can read about it in more detail [in this blog post](https://medium.com/p/9dda7af674cd) which highlights the API, performance (relative to PHP 7) and other benefits of using the extension.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"minimum-stability": "dev",
"require-dev": {
"php-ds/tests": "^1.4.0"
"php-ds/tests": "^1.5.0"
},
"scripts": {
"test" : "php test.php",
Expand Down
14 changes: 8 additions & 6 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2021-12-13</date>
<time>10:20:14</time>
<date>2023-12-19</date>
<time>17:53:14</time>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/MIT">MIT License</license>
<notes>
- Support for PHP 8.1
- Support for PHP 8.3
- Fix #194 @nielsdos
- Fix #200 @nielsdos
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -153,7 +155,7 @@
<dependencies>
<required>
<php>
<min>7.3.0</min>
<min>7.4.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
Expand Down
2 changes: 1 addition & 1 deletion php_ds.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extern zend_module_entry ds_module_entry;
#define phpext_ds_ptr &ds_module_entry

/* Replace with version number for your extension */
#define PHP_DS_VERSION "1.4.0"
#define PHP_DS_VERSION "1.5.0"

#ifdef PHP_WIN32
# define PHP_API __declspec(dllexport)
Expand Down
4 changes: 1 addition & 3 deletions src/ds/ds_htable.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,10 +704,8 @@ void ds_htable_put(ds_htable_t *table, zval *key, zval *value)

// If found, destruct the current value so that we can replace it.
if (found) {
zval_ptr_dtor(&bucket->value);
ZVAL_UNDEF(&bucket->value);
DTOR_AND_UNDEF(&bucket->value);
}

if (value) {
ZVAL_COPY(&bucket->value, value);
}
Expand Down

0 comments on commit daf9b1e

Please sign in to comment.