For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2006 > #38896 [NEW]: ftok: "should be" must be "must be"









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #38896 [NEW]: ftok: "should be" must be "must be"
jens dot nistler at media-soma dot de

2006-09-20, 7:58 am

From: jens dot nistler at media-soma dot de
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: ftok: "should be" must be "must be"

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."

--
Edit bug report at http://bugs.php.net/?id=38896&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38896&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38896&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38896&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38896&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38896&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38896&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38896&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38896&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38896&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38896&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38896&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38896&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38896&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38896&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38896&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38896&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38896&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38896&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38896&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38896&r=mysqlcfg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com