Alias to fwrite().
This function is an alias to fwrite() and works exactly the same way. If a length is specified, that is the maximum number of bytes written. Otherwise, the whole string will be written. The number of bytes written is returned, or false if an error occurred. See fwrite() for a code example.