Skip to content

Commit be25644

Browse files
fix(profiling): guard atomic interrupt load on PHP 8.2
1 parent 02acd65 commit be25644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

profiling/src/php_ffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ zend_execute_data* ddog_php_prof_get_current_execute_data() {
249249
}
250250

251251
bool ddog_php_prof_vm_interrupt_pending() {
252-
#if PHP_VERSION_ID >= 80000
252+
#if PHP_VERSION_ID >= 80200
253253
return zend_atomic_bool_load_ex(&EG(vm_interrupt));
254254
#else
255255
return EG(vm_interrupt);

0 commit comments

Comments
 (0)