private static function removeStdIO(array $fds)
    {
        foreach ($fds as $i => $fd) {
            if ($fd > 2) {
                return array_slice($fds, $i);
            }
        }

        return $fds;
    }
private static function removeStdIO(array $fds)
    {
        foreach ($fds as $i => $fd) {
            if ($fd > 2) {
                return array_slice($fds, $i);
            }
        }

        return $fds;
    }
@param array $fds

@return array