Skip to content

throw.xml Add an example#4514

Merged
jordikroon merged 2 commits into
php:masterfrom
mmalferov:patch-15
May 26, 2026
Merged

throw.xml Add an example#4514
jordikroon merged 2 commits into
php:masterfrom
mmalferov:patch-15

Conversation

@mmalferov
Copy link
Copy Markdown
Member

Can we add an example that shows how the Fiber::throw() method passes an exception to the fiber?

Can we add an example that shows how the `Fiber::throw()` method passes an exception to the fiber?
@Girgias
Copy link
Copy Markdown
Member

Girgias commented Mar 6, 2025

@trowski would you be able to write such an example?

@trowski
Copy link
Copy Markdown
Member

trowski commented Mar 13, 2025

The example supplied looks fine. This was a PR, not an issue. 😄

@lacatoire
Copy link
Copy Markdown
Member

LGTM

@jordikroon
Copy link
Copy Markdown
Member

I have changed this to an informalpara as there is this is the default example. Plus removed the outer <para>.

@jordikroon jordikroon merged commit b3a0b99 into php:master May 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants