php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15387 Error in the example of the gzencode function
Submitted: 2002-02-05 11:34 UTC Modified: 2002-02-05 13:21 UTC
From: dailyf1 at wanadoo dot fr Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: not relevant
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: dailyf1 at wanadoo dot fr
New email:
PHP Version: OS:

 

 [2002-02-05 11:34 UTC] dailyf1 at wanadoo dot fr
The correct script should use at line 2 of the script the file function, but is missing:
instead this line,
$data = implode("", "bigfile.txt");

it should have been
$data = implode("", file("bigfile.txt"));

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-05 13:21 UTC] derick@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 23:01:28 2025 UTC