ext-php-rs icon indicating copy to clipboard operation
ext-php-rs copied to clipboard

Zvals are not `Send` nor `Sync`

Open davidcole1340 opened this issue 4 years ago • 0 comments

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 is not atomic and therefore not defined behaviour.

davidcole1340 avatar Oct 01 '21 06:10 davidcole1340