1--TEST-- 2Multiple calls to constructor are prevented 3--FILE-- 4<?php 5 6$fiber = new Fiber(function () { 7 return 123; 8}); 9 10$fiber->__construct(function () { 11 return 321; 12}); 13 14?> 15--EXPECTF-- 16Fatal error: Uncaught FiberError: Cannot call constructor twice in %smultiple-calls-to-ctor.php:%d 17Stack trace: 18#0 %smultiple-calls-to-ctor.php(%d): Fiber->__construct(Object(Closure)) 19#1 {main} 20 thrown in %smultiple-calls-to-ctor.php on line %d 21