1<?php 2 3$fiber = new Fiber(function (): void { 4 $value = Fiber::suspend('fiber'); 5 echo "Value used to resume fiber: ", $value, "\n"; 6}); 7 8$value = $fiber->start(); 9 10echo "Value from fiber suspending: ", $value, "\n"; 11 12$fiber->resume('test'); 13