David Cole

Results 16 issues of David Cole

Allows the library to build a cache of members even with the `GUILD_MEMBERS` intent disabled.

enhancement

https://github.com/discord-php/DiscordPHP/commit/e180aa3bdd6fd48347069a86408093225f67fef2

features

CI currently builds the crate with the `DOCS_RS` environment variable, however, it doesn't check that the correct bindings file was actually used. Should fix this and check the resultant bindings...

ci/cd

Unfourtunately I'm unable to maintain this project right now - but I'd hate to see it die. Please reach out to me via email (listed on profile) if you are...

help wanted

Should be able to accept a reference inside a zval: https://www.phpinternalsbook.com/php7/zvals/references.html Questions to be answered: - What do we do if we attempt to extract a string from a zval...

enhancement

With this [change] in rust-analyzer, expansion of ext-php-rs macros errors out as they are no longer expanded in order. This is because Rust provides no guarantees of macro expansion, and...

bug

`Zval::string()` will no longer attempt to convert a long into a string. Instead, this is done through the new function on the `FromZval` trait: `from_zval_coerce`, which broadly follows PHP's [type...

Zvals currently implement both `Send` and `Sync`, however, if the zval contains a reference counted type (strings, arrays, objects), when dropped it will attempt to decrement the reference counter, which...

bug

At the moment, calling `zval.string()` will attempt to convert a `f64` into a string, so `zval.string() != zval.str()` all the time. This should be removed, and a new function added...

enhancement

``` Assertion failed: ((zend_gc_refcount(&(ht)->gc) == 1) || ((ht)->u.flags & (1

bug