| SplTempFileObject::__constructConstruct a new temporary file object Description
   public  SplTempFileObject::__construct
    ([ int  $max_memory] )Construct a new temporary file object. Parameters
 
 Return ValuesNo value is returned. Errors/ExceptionsThrows a RuntimeException if an error occurs. Examples
 Example #1 SplTempFileObject example This example writes a temporary file in memory which can be written to and read from. 
<?phpThe above example will output something similar to: Written 47 bytes to temporary file. This is the first line And this is the second. |