--TEST-- Check for eio_write function behaviour with `use' keyword within a nested call --FILE-- $written, 'strlen' => strlen($str), 'filesize' => filesize($filename), 'count' => substr_count(file_get_contents($filename), '1') ]); }, $fd); }, $filename); eio_event_loop(); ?> --EXPECT-- array(4) { ["written"]=> int(20) ["strlen"]=> int(20) ["filesize"]=> int(20) ["count"]=> int(20) }