php _ stream _ open _ wrapper _ as _ file is exactly like php _ stream _ open _ wrapper but converts the stream into an ansi stdio file * and returns that instead of the stream this is a convenient shortcut for extensions that pass file * to thirdparty libraries 