1--TEST-- 2Fiber::getCurrent() 3--FILE-- 4<?php 5 6var_dump(Fiber::getCurrent()); 7 8$fiber = new Fiber(function (): void { 9 var_dump(Fiber::getCurrent()); 10}); 11 12$fiber->start(); 13 14?> 15--EXPECTF-- 16NULL 17object(Fiber)#%d (0) { 18} 19