Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919491 - dev-php/xdebug-3.3.0 version bump
Summary: dev-php/xdebug-3.3.0 version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-08 20:44 UTC by richard+gentoo-bugzilla
Modified: 2023-12-08 23:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch from my local overlay: xdebug-3.2.1::gentoo to xdebug-3.3.0 (xdebug-3.3.0.ebuild.patch,391 bytes, patch)
2023-12-08 20:49 UTC, richard+gentoo-bugzilla
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description richard+gentoo-bugzilla 2023-12-08 20:44:21 UTC
Please bump xdebug to 3.3.0 to enable compoatibility with PHP 8.3.0 [1].

I've been running it for some time on my machine in conjunction with PHP 8.3.0 and it works fine.

The ebuild of xdebug didn't need any changes other than bumping its version and adding PHP 8.3 to the targets.

Thanks!

Complete changelog [2]:
New Features
- Build from master fails on php 8.3
- Add support for flame graph outputs
- Add control socket on Linux to obtain information and initiate debugger or breakpoint
- Add 'local_vars' option to 'xdebug_get_function_stack' to include variables for each st
- Add 'params_as_values' option to 'xdebug_get_function_stack' to return data as values
- Add 'from_exception' option to 'xdebug_get_function_stack' to return the stack trace where an exception was thrown

Improvements
- Bring back xdebug.collect_params
- Show contents of Spl's ArrayIterator
- Show contents of SplDoublyLinkedList and SplPriorityQueue
- Bubble up exception message when using code evalution through protocol
- Step over with fibers does still step into fiber routines
- Add time index and memory to output of xdebug_get_function_stack
- Increase default max nesting time out from 256 to 512
- Optimise debugger breakpoints checking
- Add filenames for include and friends to flamegraph output
- xdebug://gateway pseudo host does not support IPv6

Fixed bugs
- "Incomplete" backtraces when an exception gets rethrown
- Exception chaining does not work properly
- Local variables are not shown when execution break in error_handler
- "can't evaluate expression"
- Branch/path code coverage for traits drops trait name since 3.1.0
- Errors when mountinfo does not have enough information for finding systemd private tmp directory
- PECL package file has wrong max PHP version number, and peclweb refuses the package
- Superfluous `...` (three omission dots) in var_dump()
- Flamegraphs crash when using `start_with_request`
- File wrappers get wrong filename location in stack.
- Array keys aren't escaped in traces

[1] https://xdebug.org/docs/compat#versions
[2] https://xdebug.org/updates#x_3_3_0
Comment 1 richard+gentoo-bugzilla 2023-12-08 20:49:36 UTC
Created attachment 878446 [details, diff]
Patch from my local overlay: xdebug-3.2.1::gentoo to xdebug-3.3.0