View Issue Details

IDProjectCategoryView StatusLast Update
0002426XdebugUncategorizedpublic2026-05-29 15:23
Reporterrbairwell Assigned Toderick  
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformDebian GNU/LinuxOSLinuxOS Version13
Product Version3.5.1 
Target Version3.5dev 
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

Issue History

Date Modified Username Field Change
2026-05-29 10:38 rbairwell New Issue
2026-05-29 15:22 derick Assigned To => derick
2026-05-29 15:22 derick Status new => assigned
2026-05-29 15:22 derick Note Added: 0007512
2026-05-29 15:23 derick Target Version => 3.5dev