php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38896 ftok: "should be" must be "must be"
Submitted: 2006-09-20 12:41 UTC Modified: 2006-10-15 04:18 UTC
Votes:2
Avg. Score:2.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: jens dot nistler at media-soma dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: jens dot nistler at media-soma dot de
New email:
PHP Version: OS:

 

 [2006-09-20 12:41 UTC] jens dot nistler at media-soma dot de
Description:
------------
"The proj parameter should be a one character string."
must be
"The proj parameter must be a one character string."

otherwise PHP throws a warning:
"Warning: ftok() [function.ftok]: Project identifier is invalid in /media-soma/dev/webserver/www/shm/index.php5 on line 3"

Reproduce code:
---------------
ftok('anyfile.test', 'test');

Expected result:
----------------
"The proj parameter must be a one character string."

Actual result:
--------------
"The proj parameter should be a one character string."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-15 04:18 UTC] dave@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Aug 03 00:00:03 2025 UTC