php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5008 readfile(), flag to read file into a string
Submitted: 2000-06-13 19:28 UTC Modified: 2002-04-01 18:54 UTC
From: waldschrott at kiffen dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.0 Release OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waldschrott at kiffen dot de
New email:
PHP Version: OS:

 

 [2000-06-13 19:28 UTC] waldschrott at kiffen dot de
It would be useful if readfile() was able to read a file into a string in addition to read it into an array... 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-13 20:24 UTC] waldschrott at kiffen dot de
sorry, I thought of file() - typo.

but it?s faster doing it at C level - I know that it?s possible doing it like in the provided example...
 [2002-04-01 18:54 UTC] sniper@php.net
Added in PHP 4.3.0 (current CVS HEAD):

http://www.php.net/manual/en/function.file-get-contents.php

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 14:01:34 2025 UTC