PHP » GoLang | 
        
            
            login |
            register |
            
            about
            
             | 
    
                GoLang SplTempFileObject::__construct
                                request it (599)
                             
                            
                            GoLang replacement for PHP's SplTempFileObject::__construct
                            [edit | history]
                        
                    
                             PHP SplTempFileObject::__constructPHP original manual for SplTempFileObject::__construct [ show | php.net ]SplTempFileObject::__construct(PHP 5 >= 5.1.2, PHP 7) SplTempFileObject::__construct — Construct 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.  | 
            
            
                
                 
                    more
                     
                
            Most requested
  |