You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error!("Memory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT. See https://github.com/DataDog/dd-trace-php/pull/3199");
error!("Memory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT or upgrade PHP to at least version 8.4.7. See https://github.com/DataDog/dd-trace-php/pull/3199");
Copy file name to clipboardExpand all lines: profiling/tests/phpt/jit_03.phpt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ we make sure to disable allocation profiling when we detect the JIT is enabled.
8
8
<?php
9
9
if (PHP_VERSION_ID < 80400)
10
10
echo"skip: PHP Version < 8.4 are not affected", PHP_EOL;
11
+
if (PHP_VERSION_ID >= 80407)
12
+
echo"skip: fixed since PHP version 8.4.7", PHP_EOL;
11
13
if (!extension_loaded('datadog-profiling'))
12
14
echo"skip: test requires datadog-profiling", PHP_EOL;
13
15
if (php_uname("s") === "Darwin")
@@ -27,5 +29,5 @@ opcache.jit_buffer_size=4M
27
29
echo"Done.", PHP_EOL;
28
30
?>
29
31
--EXPECTF--
30
-
%aMemory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT. See https://github.com/DataDog/dd-trace-php/pull/3199
32
+
%aMemory allocation profiling will be disabled as long as JIT is active. To enable allocation profiling disable JIT or upgrade PHP to at least version 8.4.7. See https://github.com/DataDog/dd-trace-php/pull/3199
0 commit comments