Elektrine lite

← Feed

@stevegrunwell@phpc.social

2026-09-09 00:48 UTC

Another brand new #ComposerPackage for y'all: BackTrace, which is best described as "value objects for `debug_backtrace()`" This one might be pretty niche, but I needed it for a feature I'm building on TypeSnitch, so now we all benefit 😁 https://codeberg.org/stevegrunwell/backtrace

Replies (1)

  • @bobmagicii@phpc.social 2026-09-09 01:34

    @stevegrunwell@phpc.social can the factory be handed an exception too? it would be better dx developer experience to just give the factory my exception and it getTrace() than having to err->getTrace() ourselves.

    Open ##4652431