View Issue Details

IDProjectCategoryView StatusLast Update
0002426XdebugUncategorizedpublic2026-05-29 10:38
Reporterrbairwell Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformDebian GNU/LinuxOSLinuxOS Version13
Product Version3.5.1 
Summary0002426: xdebug_get_tracefile_name incorrectly throws notice
Description

When output tracing is NOT active and xdebug_get_tracefile_name() is called, it is meant to return null to indicate that it is not active ( https://xdebug.org/docs/all_functions#xdebug_get_tracefile_name )

Whilst it does emit the "null", it also raises a Notice:
Functionality is not enabled in XXXX.php on line XXX

IMHO, it should not raise this notice as we are just "checking" to see if output tracing is enabled.

PHP version 8.5.6 (not listed in drop down: 8.5.4 is max listed)

Steps To Reproduce

<?php
if (is_null(xdebug_get_tracefile_name())) {
print "No tracing\n";
} else {
print "Tracing active!\n";
}

TagsNo tags attached.
Operating SystemDebian GNU/Linux 13
PHP Version8.5-dev

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-05-29 10:38 rbairwell New Issue