Fiber::suspend

(PHP 8 >= 8.1.0)

Fiber::suspendSuspends execution of the current fiber

Beschreibung

public static Fiber::suspend(mixed $value = null): mixed

Suspends execution of the current fiber. The value provided to this method will be returned from the call to Fiber::start(), Fiber::resume(), or Fiber::throw() that switched execution into the current fiber.

When the fiber is resumed, this method returns the value provided to Fiber::resume(). If the fiber is resumed using Fiber::throw(), the exception given to that method will be thrown from the call to this method.

If this method is called from outside a fiber, a FiberError will be thrown.

Parameter-Liste

value

The value to return from the call to Fiber::start(), Fiber::resume(), or Fiber::throw() that switched execution into the current fiber.

Rückgabewerte

The value provided to Fiber::resume().

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

[Freelancer] Web development: programming and design

I’ve been going through your portfolio and it’s really impressive how you handle custom web development across different platforms and program ...

Geschrieben von Kristee am 26.03.2026 12:57:09
Forum: Archiv / Trash
Where are the code snippets?

The “code snippets” aren’t visible because you must be logged in to the forum. Once you sign in, they will appear—nothing is missing, just ...

Geschrieben von Kristee am 26.03.2026 12:52:27
Forum: Fragen/Vorschläge zum Forum
Provider stellt auf envelope-from um. Was muss ich bei meinem Code ändern?

Es ist faszinierend, den Trend zur Verwendung von „Envelope From“ für E-Mail-Einstellungen zu beobachten. Diese Entwicklung betrifft nicht nu ...

Geschrieben von musterbeacon am 26.03.2026 09:51:45
Forum: PHP Developer Forum
Usertreffen in Berlin am 20.2.2010

It’s great to see such a welcoming PHP developer meetup in Berlin where new and experienced coders can connect, and events like this remind us h ...

Geschrieben von shaoibmark am 24.03.2026 04:23:18
Forum: Ankündigungen