1--TEST--
2Fiber function may return by ref, but getReturn() always returns by val
3--FILE--
4<?php
5
6$fiber = new Fiber(function &() {
7 Fiber::suspend();
8 return $var;
9});
10
11$fiber->start();
12$fiber->resume();
13var_dump($fiber->getReturn());
14
15?>
16--EXPECT--
17NULL
18