Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Update aerospike.php to use Aerospike::OK as int #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Philosoft
Copy link

As per C header file https://github.com/aerospike/aerospike-client-c/blob/648cb21e880e3039a086e3c412f19a7b4e3fd116/src/include/aerospike/as_status.h#L106-L113
And actual behavior

php > var_dump(phpversion());
string(6) "7.3.18"
php > var_dump(phpversion('aerospike'));
string(5) "7.5.2"
php > var_dump(Aerospike::OK);
int(0)

As per C header file https://github.com/aerospike/aerospike-client-c/blob/648cb21e880e3039a086e3c412f19a7b4e3fd116/src/include/aerospike/as_status.h#L106-L113
And actual behavior
```
php > var_dump(phpversion());
php shell code:1:
string(6) "7.3.18"
php > var_dump(phpversion('aerospike'));
php shell code:1:
string(5) "7.5.2"
php > var_dump(Aerospike::OK);
php shell code:1:
int(0)
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant