--TEST-- The result of a by-ref function call can be yielded just fine --FILE-- --EXPECT-- string(3) "bar"