<?php class Foo { public function __get($prop) { echo "__set($prop)\n"; Fiber::suspend(); } } $foo = new Foo(); $fiber = new Fiber(function () use ($foo) { $foo->bar; }); $value = $fiber->start(); $foo->bar; $fiber->resume('test');
You have javascript disabled. You will not be able to edit any code.