In the PHP manual, the file operations reference an optional context (e.g. for copy). How do these contexts affect basic file operations?
+1
A:
As it turns out, stream contexts can contain both options and parameters. At the current time, parameters are simply callback functions so that you can be notified at various points of the file operation. Options are wrapper-specific, and filesystem operations don't have any options. Some examples of options for the HTTP wrapper are method, proxy, etc.
Douglas Mayle
2008-10-22 17:47:37