I have hard time understanding the syntax of the following function (and others alike):
int fwrite ( resource $handle , string $string [, int $length ] )
what is the meaning of the brackets and comma that follows [, int $length ]
. what it should indicate?
The the following example:
int fwrite ( resource $handle , string $string [, int $length ] )
int
represents the data type returned by the function= <some value>
indicating the default value that is used if you omit that parameter