<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2026-09-03 04:23:41]-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><docs>https://bugs.xdebug.org/</docs><link>https://bugs.xdebug.org/</link><description><![CDATA[MantisBT - Issues]]></description><title>MantisBT - Issues</title><image><title>MantisBT - Issues</title><url>https://bugs.xdebug.org/images/mantis_logo.png</url><link>https://bugs.xdebug.org/</link><description><![CDATA[MantisBT - Issues]]></description></image><language>en</language><category>All Projects</category><ttl>10</ttl><dc:language>en</dc:language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>0002437: systemd private /tmp path reported is incorrect</title><author></author><link>https://bugs.xdebug.org/view.php?id=2437</link><description><![CDATA[This is happening with Xdebug 3.5.3/PHP 8.3.33 on a SLES 15 SP7 system; I believe using the SUSE provided packages. The systemd private tmp path it reports in xdebug_info() and prepended to /tmp paths is incorrect and not actually the one used on the host. That is, with the mountinfo below, it reports that /tmp/systemd-private-57d3315f5ac2496098a5d7e5f2bbbea7-apache2.service-0oynxS is the path in use when the correct path to the /tmp seen by PHP outside of the process would be /tmp/systemd-private-57d3315f5ac2496098a5d7e5f2bbbea7-apache2.service-pwpfxr. The mountinfo for the process is below:&lt;br /&gt;
&lt;br /&gt;
446 135 254:2 / / rw,relatime shared:326 master:1 - ext4 /dev/mapper/system-rootlv rw,discard&lt;br /&gt;
447 446 254:1 / /usr rw,relatime shared:352 master:2 - ext4 /dev/mapper/system-usrlv rw,discard,data=ordered&lt;br /&gt;
451 447 254:7 / /usr/local rw,relatime shared:353 master:82 - ext4 /dev/mapper/system-usrlocallv rw,discard,data=ordered&lt;br /&gt;
452 446 0:5 / /dev rw,nosuid shared:354 master:3 - devtmpfs devtmpfs rw,size=4096k,nr_inodes=4050823,mode=755,inode64&lt;br /&gt;
453 452 0:22 / /dev/shm rw,nosuid,nodev shared:355 master:4 - tmpfs tmpfs rw,size=43204380k,inode64&lt;br /&gt;
454 452 0:23 / /dev/pts rw,nosuid,noexec,relatime shared:356 master:5 - devpts devpts rw,gid=5,mode=620,ptmxmode=000&lt;br /&gt;
455 452 0:31 / /dev/hugepages rw,nosuid,nodev,relatime shared:357 master:16 - hugetlbfs hugetlbfs rw,pagesize=2M&lt;br /&gt;
456 452 0:19 / /dev/mqueue rw,nosuid,nodev,noexec,relatime shared:358 master:17 - mqueue mqueue rw&lt;br /&gt;
464 446 0:21 / /sys rw,nosuid,nodev,noexec,relatime shared:359 master:6 - sysfs sysfs rw&lt;br /&gt;
465 464 0:6 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:360 master:7 - securityfs securityfs rw&lt;br /&gt;
466 464 0:25 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:361 master:8 - cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot&lt;br /&gt;
467 464 0:26 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:362 master:9 - pstore pstore rw&lt;br /&gt;
489 464 0:27 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime shared:363 master:10 - efivarfs efivarfs rw&lt;br /&gt;
581 464 0:28 / /sys/fs/bpf rw,nosuid,nodev,noexec,relatime shared:364 master:11 - bpf bpf rw,mode=700&lt;br /&gt;
582 464 0:12 / /sys/kernel/tracing rw,nosuid,nodev,noexec,relatime shared:365 master:18 - tracefs tracefs rw&lt;br /&gt;
583 464 0:7 / /sys/kernel/debug rw,nosuid,nodev,noexec,relatime shared:366 master:19 - debugfs debugfs rw&lt;br /&gt;
609 583 0:12 / /sys/kernel/debug/tracing rw,nosuid,nodev,noexec,relatime shared:367 master:836 - tracefs tracefs rw&lt;br /&gt;
610 464 0:32 / /sys/fs/fuse/connections rw,nosuid,nodev,noexec,relatime shared:368 master:20 - fusectl fusectl rw&lt;br /&gt;
611 464 0:33 / /sys/kernel/config rw,nosuid,nodev,noexec,relatime shared:369 master:21 - configfs configfs rw&lt;br /&gt;
612 446 0:20 / /proc rw,nosuid,nodev,noexec,relatime shared:370 master:12 - proc proc rw&lt;br /&gt;
613 612 0:30 / /proc/sys/fs/binfmt_misc rw,relatime shared:371 master:15 - autofs systemd-1 rw,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=17451&lt;br /&gt;
614 613 0:52 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime shared:372 master:380 - binfmt_misc binfmt_misc rw&lt;br /&gt;
615 446 0:24 / /run rw,nosuid,nodev shared:373 master:13 - tmpfs tmpfs rw,size=6488004k,nr_inodes=819200,mode=755,inode64&lt;br /&gt;
621 615 0:47 / /run/vmblock-fuse rw,nosuid,nodev,relatime shared:375 master:215 - fuse.vmware-vmblock vmware-vmblock rw,user_id=0,group_id=0,default_permissions,allow_other&lt;br /&gt;
623 615 0:64 / /run/user/0 rw,nosuid,nodev,relatime shared:376 master:734 - tmpfs tmpfs rw,size=3244000k,nr_inodes=811000,mode=700,inode64&lt;br /&gt;
624 623 0:65 / /run/user/0/gvfs rw,nosuid,nodev,relatime shared:377 master:780 - fuse.gvfsd-fuse gvfsd-fuse rw,user_id=0,group_id=0&lt;br /&gt;
625 623 0:66 / /run/user/0/doc rw,nosuid,nodev,relatime shared:378 master:797 - fuse.portal portal rw,user_id=0,group_id=0&lt;br /&gt;
626 615 0:51 / /run/user/1500 rw,nosuid,nodev,relatime shared:379 master:502 - tmpfs tmpfs rw,size=3244000k,nr_inodes=811000,mode=700,uid=1500,gid=1500,inode64&lt;br /&gt;
627 446 254:3 / /boot rw,relatime shared:383 master:70 - ext4 /dev/mapper/system-bootlv rw,discard,data=ordered&lt;br /&gt;
628 627 254:12 / /boot/grub2/i386-pc rw,relatime shared:384 master:91 - ext4 /dev/mapper/system-boot386 rw,discard,data=ordered&lt;br /&gt;
629 627 254:11 / /boot/grub2/x86_64-efi rw,relatime shared:385 master:94 - ext4 /dev/mapper/system-bootx64 rw,discard,data=ordered&lt;br /&gt;
630 627 8:1 / /boot/efi rw,relatime shared:386 master:100 - vfat /dev/sda1 rw,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro&lt;br /&gt;
631 446 254:10 / /home rw,relatime shared:494 master:73 - ext4 /dev/mapper/system-homelv rw,discard,data=ordered&lt;br /&gt;
632 446 254:9 / /opt rw,relatime shared:510 master:76 - ext4 /dev/mapper/system-optlv rw,discard,data=ordered&lt;br /&gt;
633 446 254:8 / /tmp rw,relatime shared:518 master:79 - ext4 /dev/mapper/system-tmplv rw,discard,data=ordered&lt;br /&gt;
634 446 254:5 / /srv rw,relatime shared:520 master:85 - ext4 /dev/mapper/system-srvlv rw,discard,data=ordered&lt;br /&gt;
635 634 254:4 / /srv/www rw,relatime shared:521 master:97 - ext4 /dev/mapper/system-srvwwwlv rw,discard,data=ordered&lt;br /&gt;
636 446 254:6 / /var rw,relatime shared:522 master:88 - ext4 /dev/mapper/system-varlv rw,discard,data=ordered&lt;br /&gt;
637 446 254:13 / /phprepo rw,relatime shared:541 master:457 - ext4 /dev/mapper/system-phprepo_lv rw,discard,data=ordered&lt;br /&gt;
616 615 0:24 /systemd/inaccessible/dir /run/credentials ro,nosuid,nodev,noexec shared:381 master:13 - tmpfs tmpfs rw,size=6488004k,nr_inodes=819200,mode=755,inode64&lt;br /&gt;
617 615 0:24 /systemd/propagate/apache2.service /run/systemd/incoming ro,nosuid,nodev master:13 - tmpfs tmpfs rw,size=6488004k,nr_inodes=819200,mode=755,inode64&lt;br /&gt;
618 633 254:8 /systemd-private-57d3315f5ac2496098a5d7e5f2bbbea7-apache2.service-pwpfxr/tmp /tmp rw,relatime shared:519 master:79 - ext4 /dev/mapper/system-tmplv rw,discard,data=ordered&lt;br /&gt;
619 636 254:6 /tmp/systemd-private-57d3315f5ac2496098a5d7e5f2bbbea7-apache2.service-0oynxS/tmp /var/tmp rw,relatime shared:523 master:88 - ext4 /dev/mapper/system-varlv rw,discard,data=ordered&lt;br /&gt;
&lt;br /&gt;
I think the fact it doesn't begin with /tmp is what trips it up; it should probably be looking for the actual mount point being /tmp?]]></description><category>Uncategorized</category><pubDate>Tue, 01 Sep 2026 22:44:13 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2437</guid><comments>https://bugs.xdebug.org/view.php?id=2437#bugnotes</comments></item><item><title>0002252: Running phpunit in coverage triggers segfault in xdebug_branch_info_mark_reached</title><author></author><link>https://bugs.xdebug.org/view.php?id=2252</link><description><![CDATA[When using php 8.2.17 and xdebug 3.3.1 on phpunit 9 coverage test triggers a segfault]]></description><category>Code Coverage</category><pubDate>Wed, 29 Jul 2026 13:23:08 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2252</guid><comments>https://bugs.xdebug.org/view.php?id=2252#bugnotes</comments></item><item><title>0002434: Version 3.5.3, test failure on aarch64</title><author></author><link>https://bugs.xdebug.org/view.php?id=2434</link><description><![CDATA[Building version 3.5.3 and running the test suite&lt;br /&gt;
&lt;br /&gt;
FAILED TEST SUMMARY&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=2424&quot;&gt;0002424&lt;/a&gt;: Ctrl Socket: Aliveness after empty command [tests/debugger/bug02424-01.phpt]&lt;br /&gt;
Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=2424&quot;&gt;0002424&lt;/a&gt;: Ctrl Socket: Command that doesn't exist [tests/debugger/bug02424-02.phpt]&lt;br /&gt;
Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=2424&quot;&gt;0002424&lt;/a&gt;: Ctrl Socket: 'ps' command [tests/debugger/bug02424-03.phpt]&lt;br /&gt;
Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=2424&quot;&gt;0002424&lt;/a&gt;: Ctrl Socket: Invalid command arguments [tests/debugger/bug02424-04.phpt]&lt;br /&gt;
&lt;br /&gt;
All failing with &lt;br /&gt;
001+ PHP Warning:  stream_socket_client(): Unable to connect to unix://\0xdebug-ctrl.32289 (Connection refused) in /tmp/11-bug02424-03 on line 3&lt;br /&gt;
002+ PHP Fatal error:  Uncaught TypeError: stream_set_write_buffer(): Argument #1 ($stream) must be of type resource, false given in /tmp/11-bug02424-03:4&lt;br /&gt;
&lt;br /&gt;
No problem on x86_64&lt;br /&gt;
&lt;br /&gt;
May be a issue in PHP.]]></description><category>Uncategorized</category><pubDate>Tue, 09 Jun 2026 09:13:25 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2434</guid><comments>https://bugs.xdebug.org/view.php?id=2434#bugnotes</comments></item><item><title>0002413: Suggestion: Develop mode in terminal</title><author></author><link>https://bugs.xdebug.org/view.php?id=2413</link><description><![CDATA[Suggestion to not display html tags in develop mode in terminal use]]></description><category>Uncategorized</category><pubDate>Wed, 03 Jun 2026 15:23:21 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2413</guid><comments>https://bugs.xdebug.org/view.php?id=2413#bugnotes</comments></item><item><title>0002432: eval doesn't support functions like array_map and array_filter</title><author></author><link>https://bugs.xdebug.org/view.php?id=2432</link><description><![CDATA[This was very useful for extracting specific values from arrays of objects, and identifying patterns and counts meeting criteria within an array whilst debugging large data objects.]]></description><category>Step Debugging</category><pubDate>Tue, 02 Jun 2026 20:30:23 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2432</guid><comments>https://bugs.xdebug.org/view.php?id=2432#bugnotes</comments></item><item><title>0002428: XDEBUG_MODE=develop and set_error_handler for deprecated null key in array</title><author></author><link>https://bugs.xdebug.org/view.php?id=2428</link><description><![CDATA[when an error handler is added in the code, the array does not support null keys (which are deprecated as of 8.5.x)]]></description><category>Uncategorized</category><pubDate>Fri, 29 May 2026 15:13:03 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2428</guid><comments>https://bugs.xdebug.org/view.php?id=2428#bugnotes</comments></item><item><title>0002099: Filename path mapping, when using docker/container/vm</title><author></author><link>https://bugs.xdebug.org/view.php?id=2099</link><description><![CDATA[If xdebug provides information about files (e.g. stack traces), we can configure the way it works.&lt;br /&gt;
&lt;br /&gt;
But on my host machine, the files have a different location, then on my guest machine. E.g.: /home/me/project/myapp VS /app&lt;br /&gt;
&lt;br /&gt;
My wish is to have a configuration option, where i could replace a prefix filepath with another prefix.&lt;br /&gt;
&lt;br /&gt;
Something like: &lt;br /&gt;
xdebug.file_map=&quot;/app /home/me/project/myapp&quot;]]></description><category>Uncategorized</category><pubDate>Thu, 28 May 2026 21:49:05 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2099</guid><comments>https://bugs.xdebug.org/view.php?id=2099#bugnotes</comments></item><item><title>0002396: xdebug eval can't define anonymous functions</title><author></author><link>https://bugs.xdebug.org/view.php?id=2396</link><description><![CDATA[it used to be able to do this. It was an invaluable convenience to our whole company for testing our code.]]></description><category>Uncategorized</category><pubDate>Thu, 28 May 2026 14:57:23 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2396</guid><comments>https://bugs.xdebug.org/view.php?id=2396#bugnotes</comments></item><item><title>0002406: Tests failing on armhf with PHP 8.5</title><author></author><link>https://bugs.xdebug.org/view.php?id=2406</link><description><![CDATA[Running the upstream tests in Ubuntu, using PHP 8.5 results in a fail.&lt;br /&gt;
See logs in: &lt;a href=&quot;https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/x/xdebug/20260224_020114_37526@/log.gz&quot; rel=&quot;noopener,nofollow&quot;&gt;https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/x/xdebug/20260224_020114_37526@/log.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the logs:&lt;br /&gt;
&lt;br /&gt;
=====================================================================&lt;br /&gt;
520s FAILED TEST SUMMARY&lt;br /&gt;
520s ---------------------------------------------------------------------&lt;br /&gt;
520s Test for bug &lt;a href=&quot;https://bugs.xdebug.org/view.php?id=1343&quot;&gt;0001343&lt;/a&gt;: Wrong values of numerical keys outside 32bit range [tests/develop/bug01343-32bit.phpt]&lt;br /&gt;
520s =====================================================================&lt;br /&gt;
&lt;br /&gt;
Does not say much, but looking at other PHP 8.5 armhf failures, it may be related to a warning about not being able to cast floats outside of the 32 bit range (exactly what the test is about) to int. This warning was not there in PHP8.4, but it's always there in PHP 8.5.]]></description><category>Uncategorized</category><pubDate>Thu, 28 May 2026 14:56:41 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2406</guid><comments>https://bugs.xdebug.org/view.php?id=2406#bugnotes</comments></item><item><title>0002244: xDebug 3.3.x crashes Apache on Ubuntu 22.04 via WSL2; PHP 8.1, seeking resolution.</title><author></author><link>https://bugs.xdebug.org/view.php?id=2244</link><description><![CDATA[Hello xDebug Team,&lt;br /&gt;
&lt;br /&gt;
We've encountered recent issues with version 3.3.x. When enabling the PHP debug extension via the ini file, our PHP crashes (our custom hostname becomes inaccessible, though localhost remains accessible) with Apache, despite the CLI version working fine. Versions equal to or before 3.2.x function without any problems; it's only the latest xDebug version causing issues.&lt;br /&gt;
&lt;br /&gt;
Though we don't have extensive logs, one of our developers encountered segfault errors when enabling the latest xDebug version.&lt;br /&gt;
&lt;br /&gt;
Our development environment consists of:&lt;br /&gt;
&lt;br /&gt;
Platform: Windows Subsystem for Linux (WSL2)&lt;br /&gt;
OS: Ubuntu 22.04&lt;br /&gt;
Web Server: Apache (using supervisor to run apache and mysql services)&lt;br /&gt;
PHP Version: 8.1&lt;br /&gt;
Other enabled PHP extensions on our server include:&lt;br /&gt;
&lt;br /&gt;
ionCube PHP Loader v13.0.2&lt;br /&gt;
Zend OPcache v8.1.27&lt;br /&gt;
We'd appreciate any assistance you can provide in resolving this matter.]]></description><category>Uncategorized</category><pubDate>Wed, 06 May 2026 15:31:24 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2244</guid><comments>https://bugs.xdebug.org/view.php?id=2244#bugnotes</comments></item><item><title>0002420: Introduce separate flags for branch coverage and path coverage collection</title><author></author><link>https://bugs.xdebug.org/view.php?id=2420</link><description><![CDATA[Currently, Xdebug provides a single flag, XDEBUG_CC_BRANCH_CHECK, which activates both branch coverage and path coverage collection simultaneously. I'd like to propose splitting this into two independent flags so that branch coverage and path coverage can be activated separately.&lt;br /&gt;
&lt;br /&gt;
The current design only supports two scenarios:&lt;br /&gt;
&lt;br /&gt;
1. Line coverage only (no flag)&lt;br /&gt;
2. Line coverage + branch coverage + path coverage (XDEBUG_CC_BRANCH_CHECK)&lt;br /&gt;
&lt;br /&gt;
There is no way to enable branch coverage without also enabling path coverage. My assumption is that collecting branch coverage information alone is less resource-intensive than collecting both branch coverage and path coverage. Users who only need branch coverage currently have to pay the additional cost of path coverage collection, even if they do not make use of that data.&lt;br /&gt;
&lt;br /&gt;
Splitting the flag would enable three scenarios:&lt;br /&gt;
&lt;br /&gt;
1. Line coverage only&lt;br /&gt;
2. Line coverage + branch coverage&lt;br /&gt;
3. Line coverage + branch coverage + path coverage&lt;br /&gt;
&lt;br /&gt;
And technically also &quot;line coverage + path coverage&quot;, but I do not see how this would be useful in practice.&lt;br /&gt;
&lt;br /&gt;
I would like to propose two new flags:&lt;br /&gt;
&lt;br /&gt;
- XDEBUG_CC_BRANCH_COVERAGE to activate branch coverage&lt;br /&gt;
- XDEBUG_CC_PATH_COVERAGE to activate path coverage&lt;br /&gt;
&lt;br /&gt;
I am not sure whether or not XDEBUG_CC_PATH_COVERAGE should also activate branch coverage.&lt;br /&gt;
I am aware that the &quot;_CC&quot; infix and the &quot;_COVERAGE&quot; suffix carry redundant information, so the names are not ideal. I have not come up with better names yet, sorry.&lt;br /&gt;
&lt;br /&gt;
In a perfect world, the existing XDEBUG_CC_BRANCH_CHECK flag would be redefined to mean &quot;activate branch coverage only&quot;. However, this would be a backward-compatibility break for existing users who rely on its current behaviour of also activating path coverage. To avoid that, I propose the deprecation of XDEBUG_CC_BRANCH_CHECK and the granular / separate flags shown above.]]></description><category>Code Coverage</category><pubDate>Wed, 29 Apr 2026 09:43:28 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2420</guid><comments>https://bugs.xdebug.org/view.php?id=2420#bugnotes</comments></item><item><title>0002419: Line coverage does not report ternary branch lines when ternary is inside an array literal</title><author></author><link>https://bugs.xdebug.org/view.php?id=2419</link><description><![CDATA[When a multiline ternary operator is used as a value inside an array literal, xdebug_get_code_coverage() does not report coverage data for the lines containing the true and false branch expressions. The same ternary in a simple variable assignment context reports both branch lines correctly.&lt;br /&gt;
&lt;br /&gt;
This affects php-code-coverage (used by PHPUnit). When a ternary operator spans multiple lines inside an array literal, the branch expression lines do not appear in coverage reports at all. They are neither green (executed) nor red (not executed). They are simply not treated as executable lines.&lt;br /&gt;
&lt;br /&gt;
Reported in &lt;a href=&quot;https://github.com/sebastianbergmann/php-code-coverage/issues/1029&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/sebastianbergmann/php-code-coverage/issues/1029&lt;/a&gt;]]></description><category>Code Coverage</category><pubDate>Fri, 24 Apr 2026 09:36:14 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2419</guid><comments>https://bugs.xdebug.org/view.php?id=2419#bugnotes</comments></item><item><title>0002407: Performance issues with 3.5.1 vs 3.4</title><author></author><link>https://bugs.xdebug.org/view.php?id=2407</link><description><![CDATA[I updated my PHP and Xdebug today.&lt;br /&gt;
Some performance testing scripts i have suddenly saw issues.&lt;br /&gt;
Saw the other tickets concerning performance issues and can say 3.5.1 is better compared to 3.5.0 but not to earlier versions.&lt;br /&gt;
&lt;br /&gt;
CPU: AMD 5700G&lt;br /&gt;
All of this was done on PHP 8.3.30 since Xdebug 3.4.7 was not available for PHP 8.5.x.]]></description><category>Uncategorized</category><pubDate>Mon, 23 Mar 2026 19:13:14 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2407</guid><comments>https://bugs.xdebug.org/view.php?id=2407#bugnotes</comments></item><item><title>0002402: Error in xdebug 3.5 with PHP 8.5 when executing code with the pipe operator</title><author></author><link>https://bugs.xdebug.org/view.php?id=2402</link><description><![CDATA[When trying to execute code with the new piper operator, PHP is unable to return the output and reports the error: zend_mn_heap_corrupted (this in the CLI, in the browser it reports error 500)&lt;br /&gt;
&lt;br /&gt;
By disabling xdebug in php.ini, PHP can correctly interpret the code snippets containing the pipe operator.&lt;br /&gt;
Initially I thought it was the Xdebug version, I changed it to the latest version, which is 3.5, and PHP to 8.5.1 and not even with that (I noticed that Xdebug only supports version 8.5.0).&lt;br /&gt;
&lt;br /&gt;
And when writing other codes, PHP with Xdebug enabled runs normally.]]></description><category>Tracing</category><pubDate>Mon, 23 Mar 2026 15:59:06 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2402</guid><comments>https://bugs.xdebug.org/view.php?id=2402#bugnotes</comments></item><item><title>0002394: Can't create control Named Pipe</title><author></author><link>https://bugs.xdebug.org/view.php?id=2394</link><description><![CDATA[I'm always getting:&lt;br /&gt;
&lt;br /&gt;
[25784] Log opened at 2025-12-31 14:45:05.172564&lt;br /&gt;
[25784] [Config] WARN: Can't create control Named Pipe (0x0)&lt;br /&gt;
[25784] Log closed at 2025-12-31 14:45:05.173333&lt;br /&gt;
&lt;br /&gt;
As such, no stop by Xdebug at breakpoint.]]></description><category>Step Debugging</category><pubDate>Mon, 23 Mar 2026 15:36:12 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2394</guid><comments>https://bugs.xdebug.org/view.php?id=2394#bugnotes</comments></item><item><title>0002412: No warning shown before logging out while writing a post.</title><author></author><link>https://bugs.xdebug.org/view.php?id=2412</link><description><![CDATA[If a user is writing a post and accidentally clicks logout, the system logs out immediately without any confirmation. This results in loss of typed content.]]></description><category>Uncategorized</category><pubDate>Sat, 21 Mar 2026 18:36:42 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2412</guid><comments>https://bugs.xdebug.org/view.php?id=2412#bugnotes</comments></item><item><title>0002391: Code Coverage times out on random tests</title><author></author><link>https://bugs.xdebug.org/view.php?id=2391</link><description><![CDATA[We accidentally installed 3.50-dev and then our code coverage started failing. I listed as always reproducible because if we run our entire test suite, it happens every time. However, the particular test that times out varies. &lt;br /&gt;
&lt;br /&gt;
Step 3/3: PHPUnit (Command Line)&lt;br /&gt;
19:24:05   Starting: D:\TeamCityBuildAgent\temp\agentTmp\custom_script1165008140808374324.cmd&lt;br /&gt;
19:24:05   in directory: D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8&lt;br /&gt;
19:26:58   PHPUnit 12.4.1 by Sebastian Bergmann and contributors.&lt;br /&gt;
19:26:58   &lt;br /&gt;
19:26:58   Runtime:       PHP 8.4.14 with Xdebug 3.5.0-dev&lt;br /&gt;
19:26:58   Configuration: D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\phpunit\phpunit-coverage.xml&lt;br /&gt;
19:26:58   &lt;br /&gt;
19:27:03   D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\phpunit\phpunit-coverage.xml&lt;br /&gt;
19:29:37   &lt;br /&gt;
19:29:37   Fatal error: Maximum execution time of 120 seconds exceeded in D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\vendor\phpmailer\phpmailer\src\PHPMailer.php on line 895&lt;br /&gt;
19:29:37   Maximum execution time of 120 seconds exceeded&lt;div style=&quot;background-color:#e8e8e8;height: 20px;&quot;&gt;&nbsp;&lt;/div&gt;&lt;table id=&quot;trace&quot;&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;File:Line&lt;/td&gt;&lt;td&gt;Function&lt;/td&gt;&lt;/td&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;classes\ErrorHandling::errorHandlerShutdown::&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;D:\TeamCityBuildAgent\work\9e132eb6cf93e5a8\vendor\phpmailer\phpmailer\src\PHPMailer.php:895&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;/table&gt;&lt;div style=&quot;background-color:#e8e8e8;height: 20px;&quot;&gt;&nbsp;&lt;/div&gt;&lt;table id=&quot;arguments&quot;&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;#&lt;/td&gt;&lt;td&gt;Arguments&lt;/td&gt;&lt;/td&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;tr&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;br /&gt;
19:29:37   &lt;/table&gt;Fatal error: Premature end of PHP process when running classes\Controllers\ETL_StatusTest::test_updateETLsToRunNow_AllStaging.&lt;br /&gt;
19:29:37   Process exited with code 255]]></description><category>Code Coverage</category><pubDate>Tue, 24 Feb 2026 14:25:27 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2391</guid><comments>https://bugs.xdebug.org/view.php?id=2391#bugnotes</comments></item><item><title>0002385: Allow IDEKEY/Cloud ID key from php.ini be overridden through XDEBUG_SESSION_START variable if xdebug.start_with_request=yes</title><author></author><link>https://bugs.xdebug.org/view.php?id=2385</link><description><![CDATA[In some cases users might want to have a default Cloud ID key configured in php.ini, with xdebug.start_with_request=yes set. This is useful to intercept and debug requests where the XDEBUG_SESSION_START value is missing. Although this works, this stops Xdebug from using the XDEBUG_SESSION_START altogether if one is present, as xdebug.start_with_request=yes short-circuits the checking for this value.&lt;br /&gt;
&lt;br /&gt;
Subsequently, this means that if XDEBUG_SESSION_START is present, it is not looked at, and the Cloud ID key that it might include is not used.&lt;br /&gt;
&lt;br /&gt;
What instead should happen, is that even with xdebug.start_with_request=yes is set, it should use the XDEBUG_SESSION_START value when connecting to the IDE/Xdebug Cloud, and hence override the hard-coded one from php.ini.]]></description><category>Step Debugging</category><pubDate>Fri, 06 Feb 2026 10:18:35 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2385</guid><comments>https://bugs.xdebug.org/view.php?id=2385#bugnotes</comments></item><item><title>0002222: Xdebug holds a reference to objects in the stack trace of a caught exception</title><author></author><link>https://bugs.xdebug.org/view.php?id=2222</link><description><![CDATA[I think relating to the 3.3.0 release which fixed some issues with exception.&lt;br /&gt;
&lt;br /&gt;
I am now seeing in a Drupal context that objects are not getting their destructor called sometimes when they should. With Xdebug disabled it calls them normally at the end of the method that created them when their variable goes out of scope.&lt;br /&gt;
&lt;br /&gt;
I think it's related to exceptions being rethrown in some cases perhaps it is &quot;capturing&quot; a reference in a stack and then preventing it from destructing.]]></description><category>Tracing</category><pubDate>Tue, 03 Feb 2026 16:31:37 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2222</guid><comments>https://bugs.xdebug.org/view.php?id=2222#bugnotes</comments></item><item><title>0002397: Very slow with Xdebug 3.5.0</title><author></author><link>https://bugs.xdebug.org/view.php?id=2397</link><description><![CDATA[I've installed Xdebug 3.5.0 with PHP versions 8.5, 8.4, 8.3 and all are very slow compared to Xdebug 3.4.x.&lt;br /&gt;
&lt;br /&gt;
Here is test code.&lt;br /&gt;
```&lt;br /&gt;
&lt;?php&lt;br /&gt;
// Start the benchmark&lt;br /&gt;
$start_time = microtime(true);&lt;br /&gt;
&lt;br /&gt;
// Code block to benchmark (example: a simple loop)&lt;br /&gt;
$iterations = 1000000;&lt;br /&gt;
for ($i = 0; $i &lt; $iterations; $i++) {&lt;br /&gt;
    // Perform some operation, e.g., string concatenation&lt;br /&gt;
    $result = &quot;Test string&quot; . $i;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Stop the benchmark&lt;br /&gt;
$end_time = microtime(true);&lt;br /&gt;
&lt;br /&gt;
// Calculate and display the total time taken in seconds&lt;br /&gt;
$total_time = round(($end_time - $start_time), 4);&lt;br /&gt;
echo 'Code execution time: ' . $total_time . ' seconds.';&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
With Xdebug 3.4.x, the result will be around 0.12xxx - 0.13xxx seconds.  &lt;br /&gt;
But with Xdebug 3.5.0 the result go up to 9 seconds+ or more.&lt;br /&gt;
&lt;br /&gt;
Tested with PHP 8.3, 8.4, 8.5 on Windows.&lt;br /&gt;
&lt;br /&gt;
php -v&lt;br /&gt;
&gt; PHP 8.5.0 (cli) (built: Nov 18 2025 08:16:50) (NTS Visual C++ 2022 x64)&lt;br /&gt;
&gt; Copyright (c) The PHP Group&lt;br /&gt;
&gt; Zend Engine v4.5.0, Copyright (c) Zend Technologies&lt;br /&gt;
&gt;     with Xdebug v3.5.0, Copyright (c) 2002-2025, by Derick Rethans&lt;br /&gt;
&gt;     with Zend OPcache v8.5.0, Copyright (c), by Zend Technologies&lt;br /&gt;
&lt;br /&gt;
Web server:  &lt;br /&gt;
Apache/2.4.46 (Win64) OpenSSL/1.1.1i mod_fcgid/2.3.10-dev  &lt;br /&gt;
Non thread safety.  &lt;br /&gt;
Compiler: Visual C++ 2022  &lt;br /&gt;
Architecture: x64&lt;br /&gt;
&lt;br /&gt;
php.ini config:  &lt;br /&gt;
```&lt;br /&gt;
; Xdebug&lt;br /&gt;
zend_extension = 'D:/wwwserver-x64/php/xdebug/php_xdebug-3.5.0-8.5-nts-vs17-x86_64.dll'&lt;br /&gt;
xdebug.profiler_append = 0&lt;br /&gt;
xdebug.start_with_request = trigger&lt;br /&gt;
xdebug.mode = develop,profile&lt;br /&gt;
xdebug.output_dir = 'D:/my-dev-programs/wwwserver-x64/tmp/xdebug'&lt;br /&gt;
xdebug.profiler_output_name = 'cachegrind.out.%p%H%R'&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Xdebug log:  &lt;br /&gt;
&gt; [8168] Log opened at 2026-01-14 04:42:56.268240&lt;br /&gt;
&gt; [8168] [Config] WARN: Can't create control Named Pipe (0xe7)&lt;br /&gt;
&gt; [8168] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_PROFILE'&lt;br /&gt;
&gt; [8168] [Config] INFO: Trigger value for 'XDEBUG_PROFILE' not found, so not activating&lt;br /&gt;
&gt; [8168] Log closed at 2026-01-14 04:43:10.227919]]></description><category>Step Debugging</category><pubDate>Tue, 03 Feb 2026 15:37:31 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2397</guid><comments>https://bugs.xdebug.org/view.php?id=2397#bugnotes</comments></item><item><title>0002390: Exception not caught when iterating over a Generator variable with try-finally</title><author></author><link>https://bugs.xdebug.org/view.php?id=2390</link><description><![CDATA[We've noticed unit tests failing after updating to PHP 8.4.15 because an exception was no longer caught when it should have been.&lt;br /&gt;
I am not sure what exactly causes the issue, but I've narrowed it down to the minimal reproducer provided below. I was not able to trim it down any further.&lt;br /&gt;
&lt;br /&gt;
I was unable to reproduce the issue with PHP 8.4.14 or with XDebug disabled which leads me to believe that this is a bug in XDebug.]]></description><category>Uncategorized</category><pubDate>Thu, 22 Jan 2026 16:01:58 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2390</guid><comments>https://bugs.xdebug.org/view.php?id=2390#bugnotes</comments></item><item><title>0002401: Error al guardar cambios de nombre de usuario - Botón de guardar no responde</title><author></author><link>https://bugs.xdebug.org/view.php?id=2401</link><description><![CDATA[Él no puede guardar las modificaciones realizadas en su nombre de perfil de usuario en la página de &quot;Mi cuenta&quot;]]></description><category>Code Coverage</category><pubDate>Thu, 22 Jan 2026 16:01:16 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2401</guid><comments>https://bugs.xdebug.org/view.php?id=2401#bugnotes</comments></item><item><title>0002400: Invent better way of configuring lots of line-to-line mappings</title><author></author><link>https://bugs.xdebug.org/view.php?id=2400</link><description><![CDATA[Right now, for mapping files that concern mapping lines to other lines, as will be common with Templating engines, each file name needs to be re-recorded in each file, such as in:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
# Path prefixes&lt;br /&gt;
remote_prefix: /home/derick/dev/xdebug.cloud/src/cache/compiled_templates/xhtml-updqr0&lt;br /&gt;
local_prefix: /home/derick/dev/xdebug.cloud/src/templates&lt;br /&gt;
&lt;br /&gt;
# The mapping table&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:2-31 = user-info.ezt:1&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:32-33 = user-info.ezt:2&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:34-36 = user-info.ezt:3&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:37 = user-info.ezt:4&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:38 = user-info.ezt:5&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:39-40 = user-info.ezt:6&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:41-46 = user-info.ezt:7&lt;br /&gt;
…&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:301-302 = user-info.ezt:73&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php:303 = user-info.ezt:74-75&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Instead, it would be much better if you could also do something akin to:&lt;br /&gt;
&lt;br /&gt;
```&lt;br /&gt;
remote_prefix: /home/derick/dev/xdebug.cloud/src/cache/compiled_templates/xhtml-updqr0&lt;br /&gt;
local_prefix: /home/derick/dev/xdebug.cloud/src/templates&lt;br /&gt;
&lt;br /&gt;
user-info-823edfe12e38a649355c5172b9d98e0a.php = user-info.ezt (@2-31=1;32-33=2;34-36=3,37=4;38=5;39-40=6;41-46=7…)&lt;br /&gt;
```&lt;br /&gt;
&lt;br /&gt;
Or a different syntax...&lt;br /&gt;
&lt;br /&gt;
This ticket came forth out of &lt;a href=&quot;https://github.com/twigphp/Twig/pull/4733#discussion_r2689930741&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/twigphp/Twig/pull/4733#discussion_r2689930741&lt;/a&gt; and the &quot;Future Scope&quot; from the original design document: &lt;a href=&quot;https://xdebug.org/funding/001-native-path-mapping#future-scope&quot; rel=&quot;noopener&quot;&gt;https://xdebug.org/funding/001-native-path-mapping#future-scope&lt;/a&gt;]]></description><category>Path Mapping</category><pubDate>Thu, 15 Jan 2026 13:01:55 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2400</guid><comments>https://bugs.xdebug.org/view.php?id=2400#bugnotes</comments></item><item><title>0002399: Create `xdebug_add_source_map_directory` to dynamically add directories where Xdebug will load path mapping files from</title><author></author><link>https://bugs.xdebug.org/view.php?id=2399</link><description><![CDATA[Sometimes, a templating system would like to put mapping files in its own cache/compiled_templates directory, and not necessarily in the `.xdebug` in the root of the project.&lt;br /&gt;
&lt;br /&gt;
Add the `xdebug_add_source_map_directory` function to add and load new files from the specified directory — when called. The function must also look at already existing breakpoints, and rewrite them with the new file/line for this to be effective.&lt;br /&gt;
&lt;br /&gt;
This ticket comes forth out of &lt;a href=&quot;https://github.com/twigphp/Twig/pull/4733#pullrequestreview-3654648341&quot; rel=&quot;noopener,nofollow&quot;&gt;https://github.com/twigphp/Twig/pull/4733#pullrequestreview-3654648341&lt;/a&gt;]]></description><category>Path Mapping</category><pubDate>Thu, 15 Jan 2026 12:54:08 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2399</guid><comments>https://bugs.xdebug.org/view.php?id=2399#bugnotes</comments></item><item><title>0002383: Segmentation fault (8.3) / zend_mm_heap corrupted (8.4)</title><author></author><link>https://bugs.xdebug.org/view.php?id=2383</link><description><![CDATA[Currently using XDebug 3.4.7 but this was not a selectable production version.&lt;br /&gt;
&lt;br /&gt;
When running our test suite when using PHP 8.3.20+ or PHP 8.4.6+ with XDebug enabled, in the middle of the PHPUnit test suite it crashes with either Segmentation fault (PHP 8.3) or zend_mm_heap corrupted (PHP 8.4). If I set the environment variable XDEBUG_MODE=&quot;off&quot; the issue disappears.&lt;br /&gt;
&lt;br /&gt;
The crash happens both in my local where XDebug is running with mode &quot;develop,debug&quot; and in our pipeline where it's running with &quot;coverage&quot;.]]></description><category>Uncategorized</category><pubDate>Wed, 14 Jan 2026 11:04:08 +0000</pubDate><guid>https://bugs.xdebug.org/view.php?id=2383</guid><comments>https://bugs.xdebug.org/view.php?id=2383#bugnotes</comments></item></channel></rss>
