php-groups.com | Post Question | Search | About | Groups | Contact | Register | Login



php notes (593)

php bugs (293)

php cvs (289)

php doc cvs (213)

php qa reports (199)

php doc fr (184)

php doc de (159)

php doc bg (157)

php webmaster (152)

php general (150)


php.doc.bugs Post New
Items(93)
Subject Posted Replies From
#50655 [NEW]: fgets(): French translation error

From: c dot duvergier dot div at online dot fr Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: fgets(): French translation error Description: ------------ The "length" parameter french description of fgets() contains an error. Correct translation of "which is included in the return value" is: "laquelle est inclus dans la valeur de retour". Reproduce code: --------------- --- From manual page: function.fgets#Liste de param�tres --- -- Edit bug report at http://bugs.php.net/?id=50655&edit=1 -- T

1/4/2010 2:40:48 PM 0 doc-b...@lists.php.net ("c dot duvergier dot div at online dot fr")
#50646 [NEW]: Documentation translation Problem

From: 001 at mircoweb dot de Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Translation problem Bug description: Documentation translation Problem Description: ------------ German text for manual entry 'define', explaination 'value': Es sind nur Skalar- und NULL-Werte sind erlaubt. (double word 'sind') - should be; Es sind nur Skalar- und NULL-Werte erlaubt. or Nur Skalar- und NULL-Werte sind erlaubt. Reproduce code: --------------- --- From manual page: function.define#Parameter-Liste --- -- Edit bug report at http://b

1/4/2010 10:28:25 AM 0 doc-b...@lists.php.net ("001 at mircoweb dot de")
#50645 [NEW]: changing coma per period

From: yago@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: changing coma per period Description: ------------ Changing coma per period. File: /reference/curl/functions/curl-getinfo.xml Line: 17 'Gets information about the last transfer.' Thanks Yago -- Edit bug report at http://bugs.php.net/?id=50645&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50645&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50645&r=trysnapshot53

1/3/2010 9:47:15 PM 1 doc-b...@lists.php.net ("y...@php.net")
#50644 [NEW]: Error on description

From: kapouetangels at free dot fr Operating system: Unix PHP version: 5.2.12 PHP Bug Type: Documentation problem Bug description: Error on description Description: ------------ Excuse my english, i'm french. Function ob_get_contents : In the description you say "Gets the contents of the output buffer without clearing it." But in the example you can show that the buffer was cleaned. You contradict yourself. Sincerely, Delphin. In french : Dans la description vous dites "Retourne le contenu du tampon de sortie sans l'effacer." Or dans l'examp

1/3/2010 4:35:09 PM 1 doc-b...@lists.php.net ("kapouetangels at free dot fr")
#50640 [NEW]: Documentation error

From: user at example dot com Operating system: none PHP version: 5.2.12 PHP Bug Type: Documentation problem Bug description: Documentation error Description: ------------ The explanation on this page is incorrect Examples 3 and 4 are false Reproduce code: --------------- --- From manual page: function.sprintf#Parameters --- %1$s is not a valid syntax , the correct syntax is %1\$s a backslash is needed before $ -- Edit bug report at http://bugs.php.net/?id=50640&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.p

1/3/2010 1:19:38 AM 1 doc-b...@lists.php.net ("user at example dot com")
#50639 [NEW]: �ntroarse should be �ntoarse!

From: stavar dot ciprian at yahoo dot com Operating system: win seven PHP version: 5.3.2RC1 PHP Bug Type: Documentation problem Bug description: �ntroarse should be �ntoarse! Description: ------------ "Valorile �ntroarse" should be "Valorile �ntoarse" Reproduce code: --------------- --- From manual page: function.htmlentities#Valorile întroarse --- -- Edit bug report at http://bugs.php.net/?id=50639&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50639&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bu

1/2/2010 11:37:35 PM 2 doc-b...@lists.php.net ("stavar dot ciprian at yahoo dot com")
#50637 [NEW]: Misspel on english online documentation

From: pnoexz at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Translation problem Bug description: Misspel on english online documentation Description: ------------ http://php.net/manual/en/language.oop5.serialization.php In the second paragraph, before the first example, you can read this: If you want to be able to unserialize this in another file, an object of class A, the definition of class A must be _prest ent in_ in that file first. This doesnt seem to be a one-mirror problem. -- Edit bug report at http:/

1/2/2010 4:13:13 PM 3 doc-b...@lists.php.net ("pnoexz at gmail dot com")
#50634 [NEW]: 'Core' introduced in 5.3.1

From: anthon dot pang at gmail dot com Operating system: Linux or Windows PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: 'Core' introduced in 5.3.1 Description: ------------ Changelog should read: Version Description 5.3.1 Core constants are categorized under Core, previously mhash. 5.3.0 Core constants are categorized under mhash, previously internal. 5.0.0 The categorize parameter was added. Reproduce code: --------------- --- From manual page: function.get-defined-constants#Changelog --- -- Edit bug report

1/2/2010 12:20:41 PM 6 doc-b...@lists.php.net ("anthon dot pang at gmail dot com")
#50625 [NEW]: Mistake in French manpage for file_get_contents

From: bastien0705 at aol dot com Operating system: PHP version: Irrelevant PHP Bug Type: Translation problem Bug description: Mistake in French manpage for file_get_contents Description: ------------ There is a slip in the French translation of the file_get_contents documentation page. "... lire le contenu d'un fichier dans un fichier" should be "... lire le contenu d'un fichier dans une cha�ne de caract�res". Reproduce code: --------------- --- From manual page: function.file-get-contents#Description --- Expected result: ---------------- file_g

1/1/2010 12:09:08 AM 0 doc-b...@lists.php.net ("bastien0705 at aol dot com")
#50624 [NEW]: "Refresh all data" is not working

From: pierrick@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: "Refresh all data" is not working Description: ------------ Files are not well updated when you click on the "Refresh all data". Reproduce code: --------------- Click on the "Refresh all data" button in the online doc editor. Example : I tried to edit the file fr/language-snippets.ent. It's last revision on SVN is 292849 Expected result: ---------------- <!-- $Revision: 292849 $ --> Actual result: -------------- <!-- $Rev

12/31/2009 6:27:03 PM 0 doc-b...@lists.php.net ("pierr...@php.net")
#50607 [NEW]: max() should say more about multi-dimensional arrays

From: thiago@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: max() should say more about multi-dimensional arrays Description: ------------ I'm removing a few notes from max() docs because I think some of it's content should be added to docs. Note #87547 from sumeruter+php add an at gmail dot com: "An interesting feature not mentioned is that if a recursive array is passed to max, max will return the sub-array containing the highest value. Example: <?php $depth3=array( array(array(1,6,3),ar

12/29/2009 4:44:37 PM 0 doc-b...@lists.php.net ("thi...@php.net")
#50600 [NEW]: compilled is spell incorrectly, the right way is: compiled

From: yago@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: compilled is spell incorrectly, the right way is: compiled Description: ------------ compilled is spell incorrectly, the right way is: compiled Rev.: 292602 File: /trunk/appendices/ini.xml Line: 4957 Thanks! Yago. -- Edit bug report at http://bugs.php.net/?id=50600&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50600&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.p

12/29/2009 5:21:57 AM 2 doc-b...@lists.php.net ("y...@php.net")
#50588 [NEW]: Parameter list information is missing.

From: orrd101 at yahoo dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Parameter list information is missing. Description: ------------ The parameters list seems to be missing. Reproduce code: --------------- --- From manual page: context.params#Description --- -- Edit bug report at http://bugs.php.net/?id=50588&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50588&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50588&r=try

12/28/2009 4:02:18 AM 3 doc-b...@lists.php.net ("orrd101 at yahoo dot com")
#50577 [NEW]: get_object_vars return value missing FALSE

From: hanskrentel at yahoo dot de Operating system: win PHP version: 5.2.12 PHP Bug Type: Documentation problem Bug description: get_object_vars return value missing FALSE Description: ------------ get_object_vars has array as documented return type. while running var_dump(get_object_vars(NULL)); it reported to me boolean false. I think some documentation is missing here. Reproduce code: --------------- --- From manual page: function.get-object-vars --- var_dump(get_object_vars(NULL)); Expected result: ---------------- array (I do not expect that

12/26/2009 9:52:42 AM 2 doc-b...@lists.php.net ("hanskrentel at yahoo dot de")
#50569 [NEW]: --enable-memory-limit (double dash) instead of (single dash)

From: yago@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: --enable-memory-limit (double dash) instead of (single dash) Description: ------------ Revision: 291974 file: /appendices/ini.xml line: 4010 --enable-memory-limit (double dash) instead of (single dash) -enable- memory-limit Thanks! -- Edit bug report at http://bugs.php.net/?id=50569&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50569&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.p

12/24/2009 3:53:41 PM 0 doc-b...@lists.php.net ("y...@php.net")
#50568 [NEW]: mkoppanen

From: mkoppanen@php.net Operating system: any PHP version: 5.3SVN-2009-12-24 (SVN) PHP Bug Type: Documentation problem Bug description: mkoppanen Description: ------------ Documenting stream_resolve_include_path -- Edit bug report at http://bugs.php.net/?id=50568&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50568&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50568&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50568&r=trysnapshot60 Fixed in SVN

12/24/2009 2:28:26 PM 0 doc-b...@lists.php.net ("mkoppa...@php.net")
#50566 [NEW]: Parameter "name" should be "attr"

From: jimmy at basicmatrix dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Parameter "name" should be "attr" Description: ------------ The method description: DOMAttr DOMElement::setAttributeNodeNS(DOMAttr $attr) The parameter list says: name The attribute node. Reproduce code: --------------- --- From manual page: domelement.setattributenodens#Parameters --- Expected result: ---------------- name => attr -- Edit bug report at http://bugs.php.net/?id=50566&edit=1 -- Try a sn

12/23/2009 7:50:48 PM 1 doc-b...@lists.php.net ("jimmy at basicmatrix dot com")
#50565 [NEW]: Reg Exp docs for Unicode could be improved

From: zachary dot johnson at gmail dot com Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Reg Exp docs for Unicode could be improved Description: ------------ The documentation for Unicode character properties (http://us3.php.net/manual/en/regexp.reference.unicode.php) could be better... specifically the table of supported properties. It would be nice if right in the table you define that L includes all of Ll, Lm, etc. rather than putting that only in the paragraph of text at the top. Also, for peopl

12/23/2009 7:39:16 PM 0 doc-b...@lists.php.net ("zachary dot johnson at gmail dot com")
#50557 [NEW]: install.windows.apache2

From: marielyne at acanac dot net Operating system: * PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: install.windows.apache2 Description: ------------ http://php.net/manual/en/install.windows.apache2.php gives the following advice Reproduce code: --------------- <FilesMatch \.php$> SetHandler application/x-httpd-php .php </FilesMatch> Expected result: ---------------- <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Actual result: -------------- References: http://httpd.apache.

12/23/2009 1:42:19 AM 1 doc-b...@lists.php.net ("marielyne at acanac dot net")
#50550 [NEW]: global login usage

From: philip@php.net Operating system: N/A PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: global login usage Description: ------------ The login should not require a password, or at least, should use the global php.net authentication system (and associated magical cookie). In other words, use the same credentials as the other *.php.net sites, like bugs and wiki. The main question is how to make this interact with individual SVN credentials, but it seems possible. If not, then maybe require the password only for those

12/21/2009 10:55:16 PM 1 doc-b...@lists.php.net ("phi...@php.net")
#50548 [NEW]: error_reporting() behavior incorrectly documented

From: chealer at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: error_reporting() behavior incorrectly documented Description: ------------ Description: ------------ error_reporting() has synopsis int error_reporting ([ int $level ] ) and can be called without any argument, but then it doesn't behave according to the description : error_reporting � Sets which PHP errors are reported http://ca2.php.net/manual/en/function.error-reporting.php Instead, the error reporting level is left unc

12/21/2009 9:30:58 PM 0 doc-b...@lists.php.net ("chealer at gmail dot com")
#50539 [NEW]: documentation typo

From: php dot net at gromweb dot com Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: documentation typo Description: ------------ long dummy description long dummy description long dummy description long dummy description Reproduce code: --------------- --- From manual page: function.list#Notes --- french version (http://ca2.php.net/manual/fr/function.list.php) Expected result: ---------------- [...] Si vous utilisez ces variables [...] Actual result: -------------- [...] Si vous utiliser

12/21/2009 2:36:23 AM 1 doc-b...@lists.php.net ("php dot net at gromweb dot com")
#50538 [NEW]: php_date.c compliation fails

From: david at davidfavor dot com Operating system: Ubuntu 9.10 PHP version: 5.3.1 PHP Bug Type: Doc Build problem Bug description: php_date.c compliation fails Description: ------------ The same problem appears with all stable versions of php (5.2.12, 5.3.0, 5.3.1) and Ubuntu Karmic with gcc-4.4.1 where php_date.c compilation fails. Reproduce code: --------------- root@hive1:# ./configure root@hive1:# make /bin/sh /home/dfavor/work/php-5.3.1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/home/dfavor/work/php-5.

12/20/2009 3:28:51 PM 3 doc-b...@lists.php.net ("david at davidfavor dot com")
#50530 [NEW]: en behaving like a translation

From: philip@php.net Operating system: N/A PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: en behaving like a translation Description: ------------ When logging in via a permalink (a specific link to a manual pages source), it loads all 8 modules (including those specific to translations) as opposed to three, when the choice is English (so, the link contains en/). This means things like a broken image (as English does not contain such an image) and various other things. -- Edit bug report at http://bugs.php.net/?i

12/19/2009 1:14:10 AM 1 doc-b...@lists.php.net ("phi...@php.net")
#50528 [NEW]: Missed max_file_uploads documentation

From: eladio dot galvez at joopbox dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Missed max_file_uploads documentation Description: ------------ The max_file_uploads is not documented in any place only in news. Possible is interesting add some words in http://php.net/manual/en/ini.core.php at least. Here is hte news where you speak about new feature: http://www.php.net/archive/2009.php#id2009-12-17-1 Merry Christmas Reproduce code: --------------- --- From manual page: ini.core ---

12/19/2009 12:34:17 AM 2 doc-b...@lists.php.net ("eladio dot galvez at joopbox dot com")
#50522 [NEW]: Login page should have an account request link or info

From: sixd@php.net Operating system: n/a PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: Login page should have an account request link or info Description: ------------ The page http://doc.php.net/editor/ should have enough information for someone to find out how to get login access & karma to the doc repository. This information could be a help box on the page or a link to external help text. -- Edit bug report at http://bugs.php.net/?id=50522&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.

12/18/2009 6:27:16 PM 5 doc-b...@lists.php.net ("s...@php.net")
#50521 [NEW]: Workflow to login from page URL is convoluted

From: sixd@php.net Operating system: n/a PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: Workflow to login from page URL is convoluted Description: ------------ If you send a perm URL to someone so they can edit that page, the workflow is not straightforward. The person needs to find the Main Menu and then logout (did they even think they were logged in?), then login, and then refind the page somehow. One example URL is http://doc.php.net/editor/?perm=/en/function.oci-fetch-all.php -- Edit bug report at http://

12/18/2009 6:20:38 PM 1 doc-b...@lists.php.net ("s...@php.net")
#50501 [NEW]: warning

From: congchuca3 at gmail dot com Operating system: windows xp PHP version: 5.3SVN-2009-12-16 (snap) PHP Bug Type: Documentation problem Bug description: warning Description: ------------ Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' ins

12/16/2009 9:59:40 PM 1 doc-b...@lists.php.net ("congchuca3 at gmail dot com")
#50500 [NEW]: warning

From: congchuca3 at gmail dot com Operating system: windows xp PHP version: 5.3SVN-2009-12-16 (snap) PHP Bug Type: Documentation problem Bug description: warning Description: ------------ Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' instead in C:

12/16/2009 9:53:35 PM 1 doc-b...@lists.php.net ("congchuca3 at gmail dot com")
#50499 [NEW]: warning

From: congchuca3 at gmail dot com Operating system: windows xp PHP version: 5.3SVN-2009-12-16 (snap) PHP Bug Type: Documentation problem Bug description: warning Description: ------------ Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' ins

12/16/2009 9:51:18 PM 1 doc-b...@lists.php.net ("congchuca3 at gmail dot com")
#50498 [NEW]: warning

From: congchuca3 at gmail dot com Operating system: windows xp PHP version: 5.3SVN-2009-12-16 (snap) PHP Bug Type: Documentation problem Bug description: warning Description: ------------ Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '0.0/no DST' ins

12/16/2009 9:46:24 PM 1 doc-b...@lists.php.net ("congchuca3 at gmail dot com")
#50492 [NEW]: as saídas de echo e print são enviadas para o navegador desde a versão 4.1

From: rubens21 at gmail dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: as saídas de echo e print são enviadas para o navegador desde a versão 4.1 Description: ------------ O texto não foi atualizado desde a versão 4.1.0. A parte que fala 'não é possível enviar saída para o brownser usando echo() ou print()' está desatualizado. Os 'echo's e 'print's chamados dentro das funções registradas pelo 'register_shutdown_function' são enviados para o navegador desde a versão 4.1.0. Reproduce co

12/16/2009 1:31:14 PM 3 doc-b...@lists.php.net ("rubens21 at gmail dot com")
#50491 [NEW]: mysql_fetch_object return value incorrect

From: presto dot dk at gmail dot com Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: mysql_fetch_object return value incorrect Description: ------------ mysql_fetch_object return value describes the mysql_fetch_row behavior. Reproduce code: --------------- --- From manual page: function.mysql-fetch-object#Return Values --- Expected result: ---------------- mysql_fetch_object() fetches one row of data from the result associated with the specified result identifier. The row is returned as an object.

12/16/2009 1:15:45 PM 1 doc-b...@lists.php.net ("presto dot dk at gmail dot com")
#50490 [NEW]: Impossibility to add comment

From: jonathan dot gotti at free dot fr Operating system: linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Impossibility to add comment Description: ------------ SPAM detection failed message each time i try to submit a comment on the documentation but i'm pretty sure that max(6,0) is 6 and seven + two make 9. Reproduce code: --------------- --- From manual page: simplexmlelement.addChild --- -- Edit bug report at http://bugs.php.net/?id=50490&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.n

12/16/2009 11:30:56 AM 2 doc-b...@lists.php.net ("jonathan dot gotti at free dot fr")
#50479 [NEW]: ArrayObject::ksort is not available on 5.1.6

From: ecolinet at gmail dot com Operating system: Redhat entreprise linux 4 PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: ArrayObject::ksort is not available on 5.1.6 Description: ------------ The documentation says that ArrayObject::ksort is available since PHP 5.1.0 but PHP 5.1.6 doesn't seems to define it. Reproduce code: --------------- --- From manual page: arrayobject.ksort#Description --- -- Edit bug report at http://bugs.php.net/?id=50479&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.ph

12/15/2009 1:18:31 PM 1 doc-b...@lists.php.net ("ecolinet at gmail dot com")
#50476 [NEW]: tokyotyrant table type can't support mutil-get

From: gnujava at gmail dot com Operating system: linux PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: tokyotyrant table type can't support mutil-get Description: ------------ tokyotyrant table type can't support get more than one row in one time. but, this document say "keys is a single integer for the primary key of the row or an array of integers for multiple rows." Reproduce code: --------------- --- From manual page: tokyotyranttable.get#Description --- doc: Gets a row from table database. keys is a single integer for

12/15/2009 8:26:36 AM 2 doc-b...@lists.php.net ("gnujava at gmail dot com")
#50472 [NEW]: in_array documentation should indicate casting of array elements

From: llahwehttam at gmail dot com Operating system: Linux PHP version: 5.2SVN-2009-12-14 (snap) PHP Bug Type: Documentation problem Bug description: in_array documentation should indicate casting of array elements Description: ------------ in_array(0, array("a")) returns true. This is very much unexpected behavior for someone learning PHP. I see a unit test on line 38 of ext/standard/tests/array/in_array_variation4.phpt explicitly confirming this behavior. As mentioned in [14343], the current documentation does not indicate the array elements will b

12/14/2009 7:39:46 PM 2 doc-b...@lists.php.net ("llahwehttam at gmail dot com")
#50471 [NEW]: uniqid example is bad

From: emery dot denuccio at gmail dot com Operating system: Mac PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: uniqid example is bad Description: ------------ As many people have pointed out in the comments, MD5 hashing a UUID simply reduces the randomness due to collisions. The example is pointless / less secure. Reproduce code: --------------- --- From manual page: function.uniqid#Examples --- Expected result: ---------------- .... Actual result: -------------- .... -- Edit bug report at http://bugs.php.net/?

12/14/2009 5:28:01 PM 1 doc-b...@lists.php.net ("emery dot denuccio at gmail dot com")
#50468 [NEW]: SVN Checkout url on dochowto page is incorrect

From: j dot boggiano at seld dot be Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: SVN Checkout url on dochowto page is incorrect Description: ------------ The page about svn checkout [1] lists an incorrect url for the svn checkout of the docs, phpdoc-* should be replaced by doc-* in all URLs on that page, i.e. http://svn.php.net/repository/phpdoc/modules/phpdoc-en becomes http://svn.php.net/repository/phpdoc/modules/doc-en [1] http://doc.php.net/php/dochowto/svn-checkout.php -- Edit bug report at http

12/13/2009 9:32:16 PM 2 doc-b...@lists.php.net ("j dot boggiano at seld dot be")
#50465 [NEW]: Doc incompletion, Warning Depreciated feature

From: keithb at nfnc dot org Operating system: Unix PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: Doc incompletion, Warning Depreciated feature Description: ------------ When a function is depreciated, instead of just saying it's depreciated and going to be removed, indicate what it will be replaced by, or how to create your own equivalent. In this case, split() and spliti(). Reproduce code: --------------- --- From manual page: function.split#Description --- -- Edit bug report at http://bugs.php.net/?id=50465&edit=1

12/13/2009 11:40:09 AM 1 doc-b...@lists.php.net ("keithb at nfnc dot org")
#50461 [NEW]: Missing spaces in function signatures

From: wiesemann@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Doc Build problem Bug description: Missing spaces in function signatures Description: ------------ http://www.php.net/manual/en/splheap.compare.php shows "abstractint" in the function signature box in the "Description" section. This is caused by the following HTML code: <span class="modifier">abstract</span><span class="type">int</span> (note the missing space between the two <span> tags) A similar problem is described in the following report (unwanted linebreaks): http://bu

12/12/2009 8:05:40 PM 0 doc-b...@lists.php.net ("wiesem...@php.net")
#50417 [NEW]: Separation of PCRE Pattern Syntax chapters

From: php at felixdd dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Separation of PCRE Pattern Syntax chapters Description: ------------ Separation of the chapters of PCRE Pattern Syntax causes a lot of work to search for a specific pattern. In a former version the chapter "Pattern Syntax" was one huge chapter. http://php.net/manual/en/reference.pcre.pattern.syntax.php Maybe a huge amount of information in one page is difficult to read, but now it's difficult to search for a specific syntax. As an

12/8/2009 9:35:12 PM 0 doc-b...@lists.php.net ("php at felixdd dot de")
#50412 [NEW]: minor typo in socket-write

From: markrose at markrose dot ca Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: minor typo in socket-write Description: ------------ Section "Return Values" on page http://www.php.net/manual/en/function.socket-write.php has a minor typo. It reads "FALSE one error" when it should read "FALSE on error". Reproduce code: --------------- --- From manual page: function.socket-write#Return Values --- -- Edit bug report at http://bugs.php.net/?id=50412&edit=1 -- Try a snapshot (PHP 5.2):

12/8/2009 4:18:21 PM 1 doc-b...@lists.php.net ("markrose at markrose dot ca")
#50402 [NEW]: substr_compare emits no warning if length is equal to length of main_str

From: jcsahnwaldt at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: substr_compare emits no warning if length is equal to length of main_str Description: ------------ Incorrect: "If length is equal or greater than length of main_str" Correct: "If length is greater than length of main_str" Also see bug 37394 Reproduce code: --------------- --- From manual page: function.substr-compare#Return Values --- -- Edit bug report at http://bugs.php.net/?id=50402&edit=1 -- Try a snapshot (PH

12/7/2009 8:54:23 PM 3 doc-b...@lists.php.net ("jcsahnwaldt at gmail dot com")
#50396 [NEW]: Double sentence

From: christoph dot rall at liebenzell dot org Operating system: PHP version: Irrelevant PHP Bug Type: Translation problem Bug description: Double sentence Description: ------------ The sentence about PHP 5 appears twice and is almost the same. Reproduce code: --------------- --- From manual page: history.php --- -- Edit bug report at http://bugs.php.net/?id=50396&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50396&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50396&r=trysn

12/7/2009 7:55:41 AM 1 doc-b...@lists.php.net ("christoph dot rall at liebenzell dot org")
#50395 [NEW]: Possible Documentation Typo Only

From: gary at unpcbs dot com Operating system: Apache PHP version: 5.2.11 PHP Bug Type: Documentation problem Bug description: Possible Documentation Typo Only Description: ------------ Typo in Example #1 ob_tidyhandler()? Should </i> be </p> in the following ... <?php ob_start('ob_tidyhandler'); echo '<p>test</i>'; ?> Reproduce code: --------------- --- From manual page: function.ob-tidyhandler#Examples --- <?php ob_start('ob_tidyhandler'); echo '<p>test</i>'; ?> The above example will output: <!DOCTYPE html PUBLIC "-//W3C//DTD HT

12/7/2009 2:50:01 AM 0 doc-b...@lists.php.net ("gary at unpcbs dot com")
#50381 [NEW]: Error in version_compare() example

From: a dot schilder at gmx dot de Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Error in version_compare() example Description: ------------ The first two examples for version_compare() are wrong - the code does not match the printed text ("at least" although the check matches greater versions). Reproduce code: --------------- --- From manual page: function.version-compare --- <?php if (version_compare(PHP_VERSION, '6.0.0') === 1) { echo 'I am at least PHP version 6.0.0, my version:

12/4/2009 10:19:52 AM 0 doc-b...@lists.php.net ("a dot schilder at gmx dot de")
#50379 [NEW]: Manual > Objects and Classes > Object Inheritance

From: brett dot carroll at uta dot edu Operating system: MaC OS X 10.5 PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: Manual > Objects and Classes > Object Inheritance Description: ------------ The first line of Object Inheritance tries to say that, "It is a well established..." Instead it states, "well esablished", which is a typo. Reproduce code: --------------- --- From manual page: language.oop5.inheritance --- -- Edit bug report at http://bugs.php.net/?id=50379&edit=1 -- Try a snapshot (PHP 5.2): http

12/4/2009 12:59:09 AM 0 doc-b...@lists.php.net ("brett dot carroll at uta dot edu")
#50376 [NEW]: Right click, Default browser menu and specific UI menu

From: yannick@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: Right click, Default browser menu and specific UI menu Description: ------------ Since Rev 291180 (http://svn.php.net/viewvc/web/doc-editor/trunk/js/main.js?r1=291476&r2=291180) of js/main.js, we have re-enable the default context menu of the browser to allow the copy of the permlink. But with this fix, we now have this default browser context menu display when we right click everywhere into this app, like right click on a "need commit

12/3/2009 4:09:38 PM 0 doc-b...@lists.php.net ("yann...@php.net")
#50375 [NEW]: get_html_translation_table() incorrect example output

From: rjt at thepoacher dot net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: get_html_translation_table() incorrect example output Description: ------------ The output from the example given in the get_html_translation_table() manual is incorrect. Reproduce code: --------------- Visit http://www.php.net/manual/en/function.get-html-translation-table.php and read Example#1 Expected result: ---------------- Hallo &amp; &lt;Frau&gt; &amp; Kr&auml;mer Actual result: -------------- Hallo &amp;amp; &a

12/3/2009 4:01:25 PM 0 doc-b...@lists.php.net ("rjt at thepoacher dot net")
#50372 [NEW]: Ternary statements are not identical

From: jakeophobia at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Ternary statements are not identical Description: ------------ On page: http://www.php.net/manual/en/language.operators.comparison.php In 'Example #3 Non-obvious Ternary Behaviour' The two statements are not 'identical'. The second ternary statment has parenthesis on 'false' Expected result: ---------------- .... echo (true?'true':false?'t':'f'); ....the following is a more obvious version of the same code as abo

12/3/2009 12:13:16 PM 0 doc-b...@lists.php.net ("jakeophobia at gmail dot com")
#50367 [NEW]: Incorrect setup instruction

From: chimel31 at live dot fr Operating system: Windows 7 PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: Incorrect setup instruction Description: ------------ On page http://us.php.net/manual/en/install.windows.iis7.php, the following instructions do not work: To modify the permissions settings on files and folders, use the Windows Explorer user interface or icacls command. Example #5 Configuring file access permissions icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M) Expected result: -----------

12/2/2009 10:52:54 PM 2 doc-b...@lists.php.net ("chimel31 at live dot fr")
#50362 [NEW]: documentation bug DOMAttr DOMNode

From: tlaguz at wp dot pl Operating system: Vista x64 PHP version: 5.2.11 PHP Bug Type: Documentation problem Bug description: documentation bug DOMAttr DOMNode Description: ------------ Now: DOMNode DOMNamedNodeMap::item ( int $index ) It should be: DOMAttr DOMNamedNodeMap::item ( int $index ) My PHP returns that value (DOMAttr). Reproduce code: --------------- --- From manual page: domnamednodemap.item#Description --- -- Edit bug report at http://bugs.php.net/?id=50362&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net

12/2/2009 7:09:30 PM 2 doc-b...@lists.php.net ("tlaguz at wp dot pl")
#50353 [NEW]: FUnction shown which isn't implemented

From: php at lafco dot de Operating system: WIN64 PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: FUnction shown which isn't implemented Description: ------------ Wrong sample code, and/or missing function Reproduce code: --------------- --- From manual page: sqlite3.query#Beispiele --- example refers to $results = $db->query('SELECT bar FROM foo'); while ($row = $results->fetchArray()) { var_dump($row); } but fetchArray() isn't impelemented, as searching the documentation only refers to sqlite (beside others)

12/1/2009 1:37:17 PM 2 doc-b...@lists.php.net ("php at lafco dot de")
#50348 [NEW]: FDF not on PECL's site as stated

From: kevin at icscomp dot com Operating system: N/A PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: FDF not on PECL's site as stated Description: ------------ On this page: http://php.net/releases/5_3_0.php it states the following: ��Moved the following extensions to PECL: ext/ming, ext/fbsql, ext/ncurses, ext/fdf. The fdf extension is no where to be found on the PECL website, and the link points to Adobe website, but doesn't give you a clue where to find the appropriate files, nor how to install them on your PHP installation.

12/1/2009 2:43:36 AM 11 doc-b...@lists.php.net ("kevin at icscomp dot com")
#50343 [NEW]: Update DB after commit a new translation

From: yannick@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: Update DB after commit a new translation Description: ------------ Actually, when we translate a new file, there is a bug witch don't update DB for this file. When the store is reload after commit, this change is not visible into the summary grid. -- Edit bug report at http://bugs.php.net/?id=50343&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50343&r=trysnapshot52 Try a snapshot (PHP 5.3):

11/30/2009 9:15:00 PM 1 doc-b...@lists.php.net ("yann...@php.net")
#50342 [NEW]: Load Ext Js store synchronous

From: yannick@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: Load Ext Js store synchronous Description: ------------ When we start the app, all ExtJs's stores are loaded asynchronous. In some case, the fact there stores are load asynchronous produce a failure ; max execution time is reached. We must do create a stack of stores to load and loading its synchronously. -- Edit bug report at http://bugs.php.net/?id=50342&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.ph

11/30/2009 9:10:39 PM 2 doc-b...@lists.php.net ("yann...@php.net")
#50341 [NEW]: getLogMessage is call twice

From: yannick@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Online Doc Editor problem Bug description: getLogMessage is call twice Description: ------------ When we call the window to commit some files, getLogMessage() is call twice. -- Edit bug report at http://bugs.php.net/?id=50341&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50341&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50341&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.

11/30/2009 9:06:41 PM 1 doc-b...@lists.php.net ("yann...@php.net")
#50336 [NEW]: [TBD] for server name indication support in openssl

From: lbarnaud@php.net Operating system: PHP version: 5.3SVN-2009-11-30 (snap) PHP Bug Type: Documentation problem Bug description: [TBD] for server name indication support in openssl Description: ------------ Document sni support in openssl. Since 5.3.2. New SSL context options : - SNI_enabled : Set to FALSE to disable SNI support (enabled by default) - SNI_server_name : If not set, the server name will be guessed from the stream URL (e.g. https://example.com/ will use example.com as hostname.), else the given name will be used. SNI is to SSL/TLS

11/30/2009 3:33:43 PM 2 doc-b...@lists.php.net ("lbarn...@php.net")
#50329 [NEW]: should be false

From: bugzilla33 at gmail dot com Operating system: win32 7 PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: should be false Description: ------------ bug in manual Reproduce code: --------------- --- From manual page: function.array-search#Changelog --- Expected result: ---------------- 4.2.0 Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE. Actual result: -------------- PHP 5.3.1 returns FALSE on failure, no NULL <? var_dump(array_search('x',array('a'=>'a','b'=>'b','c'=>'c','d'=>'d')));

11/30/2009 9:36:04 AM 3 doc-b...@lists.php.net ("bugzilla33 at gmail dot com")
#50328 [NEW]: "strstr muss false zur�ckgegeben haben" falsche Aussage

From: christoph dot rall at liebenzell dot org Operating system: Debian PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: "strstr muss false zur�ckgegeben haben" falsche Aussage Description: ------------ In the german translation is maybe a bug: "strstr muss false zur�ckgegeben haben" should be: "strpos() muss false zur�ckgegeben haben" MfG Christoph Rall Reproduce code: --------------- --- From manual page: tutorial.useful --- -- Edit bug report at http://bugs.php.net/?id=50328&edit=1 -- Try a snapshot (PHP

11/30/2009 9:02:04 AM 3 doc-b...@lists.php.net ("christoph dot rall at liebenzell dot org")
#50317 [NEW]: strrpos offset behavior is opposite of what docs describe

From: codeslinger at compsalot dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: strrpos offset behavior is opposite of what docs describe Description: ------------ the actual behavior of the offset for strrpos is exactly the opposite of what the docs lead me to expect. Reproduce code: --------------- --- From manual page: function.strrpos#Description --- Note: As of PHP 5.0.0 offset may be specified to begin searching an arbitrary number of characters into the string. Negative values will

11/28/2009 8:04:38 AM 1 doc-b...@lists.php.net ("codeslinger at compsalot dot com")
#50316 [NEW]: mb-regex options have to be documented

From: indeyets@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: mb-regex options have to be documented Description: ------------ mb_regex_set_options() function lacks documentation of actual options Reproduce code: --------------- --- From manual page: function.mb-regex-set-options#Parameters --- Expected result: ---------------- Description of options can be taken from this comment: http://docs.php.net/manual/en/function.mb-regex-set-options.php#94843 -- Edit bug report at http://bugs.

11/28/2009 12:33:49 AM 0 doc-b...@lists.php.net ("indey...@php.net")
#50313 [NEW]: traceroute example in socket create manual page

From: ewout dot zigterman at dimat dot nl Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: traceroute example in socket create manual page Description: ------------ The parameter block in this article lists the different communication types of a socket. the description for the SOCK_RAW list the following : SOCK_RAW Provides raw network protocol access ...... (like ping, traceroute, etc). The traceroute example does not seem right because it is not possible to set a TTL value of an ip packet in PH

11/27/2009 1:50:21 PM 1 doc-b...@lists.php.net ("ewout dot zigterman at dimat dot nl")
#50311 [NEW]: intval() vs floatval(): same behavior but different documentation

From: php-qa at sebastianmendel dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: intval() vs floatval(): same behavior but different documentation Description: ------------ the parameter and return description for floatval() and intval() differs but both behave exactly the same way floatval(): var - May be any scalar type. You cannot use floatval() on arrays or objects. intval(): var - The scalar value being converted to an integer Return Values: [...] Empty arrays and objects return 0, non-empty

11/27/2009 12:13:49 PM 1 doc-b...@lists.php.net ("php-qa at sebastianmendel dot de")
#50306 [NEW]: preg_match_all() example #3 is wrong

From: kalle dot v at kolumbus dot fi Operating system: Red Hat PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: preg_match_all() example #3 is wrong Description: ------------ Similar to Bug #46904 preg_match() example #4 is wrong (http://bugs.php.net/bug.php?id=46904), but with preg_match_all. Seems the original issue discussed in the comments of bug #46904 is not actually related only to PHP version. I have a Red Hat box with PHP 5.2.6 installed but still this doesn't work: (?<name>\w+) and this works: (?P<name>\w+) And I ha

11/26/2009 6:55:58 AM 1 doc-b...@lists.php.net ("kalle dot v at kolumbus dot fi")
#50301 [NEW]: I believe DateTime::ALL should be DateTimeZone::ALL

From: brandon dot peters at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: I believe DateTime::ALL should be DateTimeZone::ALL Description: ------------ The documentation lists DateTime::ALL as the default value for DateTimeZone::listIdentifiers when I believe it should be DateTimeZone::ALL. Reproduce code: --------------- --- From manual page: datetimezone.listidentifiers#Description --- -- Edit bug report at http://bugs.php.net/?id=50301&edit=1 -- Try a snapshot (PHP 5.2):

11/25/2009 9:25:58 PM 1 doc-b...@lists.php.net ("brandon dot peters at gmail dot com")
#50294 [NEW]: user note contributions are not included in any of the current documentations

From: devhead at oscworks dot com Operating system: PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: user note contributions are not included in any of the current documentations Description: ------------ user note contributions are not included in any of the current downloadable documentations. In the chm download the only file included is the chm not the rest of the files. No reference is made as to where to get the rest of the information. User note contributions are included in the online documentation. I don't know if this is a bu

11/25/2009 4:30:48 PM 1 doc-b...@lists.php.net ("devhead at oscworks dot com")
#50284 [NEW]: isSymlink()

From: lars_teuber at gmx dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: isSymlink() Description: ------------ Hi all, isSymlink() does not exist, probably isLink() was meant. Best regards Lars Teuber Reproduce code: --------------- --- From manual page: directoryiterator.islink#Beispiele --- -- Edit bug report at http://bugs.php.net/?id=50284&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50284&r=trysnapshot52 Try a snapshot (PHP 5.3): http

11/24/2009 1:11:24 PM 1 doc-b...@lists.php.net ("lars_teuber at gmx dot de")
#50277 [NEW]: Japanase translation of "self-signed"

From: y-iida at secom dot co dot jp Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Japanase translation of "self-signed" Description: ------------ In a Japanese documentation, I see a possibly-mistyped word in: http://php.net/manual/ja/context.ssl.php Reproduce code: --------------- Visit <http://php.net/manual/ja/context.ssl.php>. Read the second description of options. Expected result: ---------------- <!-- "ZIKO SYOMEI", not "ZIKO SYOUMEI", should comes here. --> &#x81ea;&#x5df1;&#x7f72;&#x5

11/24/2009 2:45:09 AM 0 doc-b...@lists.php.net ("y-iida at secom dot co dot jp")
#50273 [NEW]: Wrong constant names in PDO

From: xxNSVxx at gmail dot com Operating system: Windows PHP version: 5.3.1 PHP Bug Type: Documentation problem Bug description: Wrong constant names in PDO Description: ------------ The constants PDO_FETCH_BOTH and PDO_FETCH_OBJ are wrong typed in the documents. Right spelling : PDO::FETCH_BOTH PDO::FETCH_OBJ Reproduce code: --------------- --- From manual page: pdostatement.fetch#Liste de paramètres --- Expected result: ---------------- PDO::FETCH_BOTH PDO::FETCH_OBJ Actual result: -------------- PDO_FETCH_BOTH PDO_FETCH_OBJ --

11/23/2009 4:38:22 PM 2 doc-b...@lists.php.net ("xxNSVxx at gmail dot com")
#50272 [NEW]: link to filter descriptions

From: cweiske@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: link to filter descriptions Description: ------------ The filter parameter description is: > ID of a filter to use. Defaults to FILTER_DEFAULT. It should link to a list of all filters. Reproduce code: --------------- --- From manual page: function.filter-var#Parameters --- -- Edit bug report at http://bugs.php.net/?id=50272&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50272&r=trysnapshot52 T

11/23/2009 1:29:39 PM 1 doc-b...@lists.php.net ("cwei...@php.net")
#50252 [NEW]: No wishlist

From: hannes dot magnusson at gmail dot com Operating system: * PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: No wishlist Description: ------------ I can't seem to find any 'wishlist' or anything along those lines for Jakub Vrana (vrana). -- Edit bug report at http://bugs.php.net/?id=50252&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50252&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50252&r=trysnapshot53 Try a snapshot (PHP 6.0): http:

11/20/2009 8:35:36 PM 1 doc-b...@lists.php.net ("hannes dot magnusson at gmail dot com")
#50245 [NEW]: function.str-pad.php params list: pad_length occurs twice, pad_type is missing

From: chris at lfx dot ch Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: function.str-pad.php params list: pad_length occurs twice, pad_type is missing Description: ------------ function.str-pad.php params list: pad_length occurs twice, pad_type is missing Reproduce code: --------------- --- From manual page: function.str-pad#Parameter-Liste --- -- Edit bug report at http://bugs.php.net/?id=50245&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50245&r=trysnapshot52

11/20/2009 3:55:15 PM 1 doc-b...@lists.php.net ("chris at lfx dot ch")
#50239 [NEW]: Example in german docu is wrong

From: mkliewe at gmx dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Example in german docu is wrong Description: ------------ In the example the variables "groesse" are used, and in the text below "$wddx_size" is mentionend. Also "medium" in the text is wrong, it has to be "mittel" Reproduce code: --------------- --- From manual page: function.extract#Beispiele --- -- Edit bug report at http://bugs.php.net/?id=50239&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.p

11/20/2009 11:30:21 AM 0 doc-b...@lists.php.net ("mkliewe at gmx dot de")
#50236 [NEW]: echo and print docs refer to a spam page

From: brent at architechies dot com Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: echo and print docs refer to a spam page Description: ------------ The manual pages for echo and print both refer to an external web page for discussion of the differences between them. This page seems to have been hijacked by a spammer and is being filled with irrelevant links; no useful content is still on the page. Reproduce code: --------------- --- From manual page: function.echo#Notes --- Expected result:

11/19/2009 8:46:22 PM 0 doc-b...@lists.php.net ("brent at architechies dot com")
#50235 [NEW]: pad_length in str_pad() less than OR EQUAL

From: shelby at coolpage dot com Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: pad_length in str_pad() less than OR EQUAL Description: ------------ The official manual documentation of str_pad(), states: http://www.php.net/manual/en/function.str-pad.php "If the value of pad_length is negative or less than the length of the input string, no padding takes place." Should be changed to: If the value of pad_length is negative, equal, or less than the length of the input string, no padding takes

11/19/2009 4:36:55 PM 0 doc-b...@lists.php.net ("shelby at coolpage dot com")
#50234 [NEW]: oci_fetch_array does NOT set NULL fields to the PHP NULL value

From: jkeller at berkeley dot edu Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: oci_fetch_array does NOT set NULL fields to the PHP NULL value Description: ------------ Under 'Return Values' for function oci_fetch_array, the docs say "sets NULL fields to the PHP NULL value." However, unlike oci_fetch_assoc, this function does NOT set NULL fields to the PHP NULL value"; instead, it does not include them in the returned array. To include NULL values in the array, you must pass in the OCI_RETURN_NULLS flag.

11/19/2009 4:32:31 PM 2 doc-b...@lists.php.net ("jkeller at berkeley dot edu")
#50233 [NEW]: This is not enought description.

From: k_radek at yahoo dot pl Operating system: GNU/Linux PHP version: 5.2.11 PHP Bug Type: Documentation problem Bug description: This is not enought description. Description: ------------ Last paremeter defined in a function says that you can define constant with case-insensitive option but says nothing about that it allows you to REDEFINE constant... Reproduce code: --------------- --- From manual page: function.define#Parameters --- "If set to TRUE, the constant will be defined case-insensitive. The default behavior is case-sensitive; i.e. CONSTA

11/19/2009 4:00:14 PM 4 doc-b...@lists.php.net ("k_radek at yahoo dot pl")
#50232 [NEW]: preg_replace - pattern description omits mention of string delimiter

From: simonokewode at hotmail dot com Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: preg_replace - pattern description omits mention of string delimiter Description: ------------ Users moving from ereg_replace to preg_replace will not know that delimiters are required unless already familiar w/ regex. Huge numbers of newbies will need to do this. This entry does not need to explain how to use them, but should mention that they are required, and there should be an explanation of regex delimiters somewhere i

11/19/2009 3:56:22 PM 4 doc-b...@lists.php.net ("simonokewode at hotmail dot com")
#50221 [NEW]: fgetcsv error handling

From: none at example dot com Operating system: linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: fgetcsv error handling Description: ------------ Concerns official Example on: http://de.php.net/manual/en/function.fgetcsv.php and all other examples in the user feedback. fgetcsv error handling shouldn't check ===FALSE, since reading from an unopened file will return NULL and cause a tight loop. So don't do: while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { but just: while ($data = fgetcsv($handle, 1000, ",

11/18/2009 9:16:34 PM 0 doc-b...@lists.php.net ("none at example dot com")
#50218 [NEW]: flock() has numerous documentation errors

From: shelby at coolpage dot com Operating system: All PHP version: 5.3.0 PHP Bug Type: Documentation problem Bug description: flock() has numerous documentation errors Description: ------------ 1) I feel this needs to be added to the documentation until it fixed and thus I have filed an annotation note to the documentation: http://www.php.net/manual/en/function.flock.php#93400 2) The documentation incorrectly states that LOCK_NB does not work on Windows, when in fact only the wouldblock argument is not supported. See lines 78 thru 141 in the flock_comp

11/18/2009 12:29:32 PM 0 doc-b...@lists.php.net ("shelby at coolpage dot com")
#50217 [NEW]: strftime: plattform specifics

From: none at here dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: strftime: plattform specifics Description: ------------ please add to the documentation for strftime(), that for unsupported conversion specifiers, the conversion might fail completely and return an empty string. on linux: echo "x" . strftime("%m %C") . "x"; > "xNovember 09x" on windows: echo "x" . strftime("%m %C") . "x"; > "xx" and NOT as expected "xNovember x" with just the second conversion missing. ideally, the conversi

11/18/2009 12:22:36 PM 0 doc-b...@lists.php.net ("none at here dot com")
#50216 [NEW]: Example use wrong sql query.

From: ximi at cs dot au dot dk Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Example use wrong sql query. Description: ------------ At http://www.php.net/manual/en/function.mysql-stat.php two examples are given on how to obtain information about the database status. The first example use the mysql_stat() function, the second is meant to show how to use the mysql_query("SHOW STATUS") I think - as this query is mentioned in the Return Values section of the page. But the query actually used in the exam

11/18/2009 10:48:16 AM 2 doc-b...@lists.php.net ("ximi at cs dot au dot dk")
#50211 [NEW]: (ArrayAccess::offsetSet) $object[] works too

From: uramihsayibok at gmail dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: (ArrayAccess::offsetSet) $object[] works too Description: ------------ The documentation for ArrayAccess::offsetSet should mention that $offset will be null when the array offset isn't given, as in with $object = new Class_Implementing_ArrayAccess(); $object[] = $value; Yes, this is a partial duplicate of bug 49807. It was closed by marking $offset as "mixed" but an explicit note on how (and when) $offset could be null w

11/18/2009 12:16:48 AM 1 doc-b...@lists.php.net ("uramihsayibok at gmail dot com")
#50208 [NEW]: Needs explicit statement on falling off the end of a function

From: mwood at IUPUI dot Edu Operating system: any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Needs explicit statement on falling off the end of a function Description: ------------ There is no official statement of the meaning of exiting a function other than through a 'return' statement. Specifically, it is possible to execute to the end of the function, but then what is the value of that invocation? Reproduce code: --------------- --- From manual page: language.functions --- Not in "returning values" or "return()"

11/17/2009 7:17:00 PM 1 doc-b...@lists.php.net ("mwood at IUPUI dot Edu")
#50202 [NEW]: Typo in variables.xml

From: sjoerd-php at linuxonly dot nl Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Typo in variables.xml Description: ------------ In r290816, vrana added: Dots and spaces in variable names are converted to undescores. This should be: .... underscores. -- Edit bug report at http://bugs.php.net/?id=50202&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50202&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50202&r=trysnapshot53 Try a s

11/17/2009 9:56:57 AM 0 doc-b...@lists.php.net ("sjoerd-php at linuxonly dot nl")
#50200 [NEW]: get_class() is not the same as get_class($this)

From: sjoerd-php at linuxonly dot nl Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: get_class() is not the same as get_class($this) Description: ------------ The documentation on get_class() does not specify what happens when the parameter is omitted. I assumed the parameter defaults to $this, but this is not the case. Note that this may also be a bug in the implementation instead of the documentation. Reproduce code: --------------- <?php class A { function a() { echo get_class(); echo get

11/17/2009 8:47:44 AM 0 doc-b...@lists.php.net ("sjoerd-php at linuxonly dot nl")
#50198 [NEW]: mbstring function overloading list incomplete

From: jacob at jacobweber dot com Operating system: N/A PHP version: 5.2.11 PHP Bug Type: Documentation problem Bug description: mbstring function overloading list incomplete Description: ------------ This page: http://www.php.net/manual/en/mbstring.overload.php is missing the following functions in its table: stripos strripos strstr strrchr stristr Reproduce code: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A -- Edit bug report at http://bugs.php.net/?id=50198&edit=1 -- Try a snapshot

11/16/2009 10:56:30 PM 1 doc-b...@lists.php.net ("jacob at jacobweber dot com")
#50188 [NEW]: incorrect example in french man page for mail()

From: dewavrin at yahoo dot com Operating system: any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: incorrect example in french man page for mail() Description: ------------ hi, in french man page for function mail(), http://php.net/manual/fr/function.mail.php the second example for the "to" parameter is incorrect it is : destinataire.com, autre_destinataire@example.com it should be : destinataire@example.com, autre_destinataire@example.com Reproduce code: --------------- --- From manual page: function.mail --- Ex

11/16/2009 11:02:00 AM 1 doc-b...@lists.php.net ("dewavrin at yahoo dot com")
#50181 [NEW]: Typo in pdostatement->execute

From: sjoerd-php at linuxonly dot nl Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Typo in pdostatement->execute Description: ------------ In pdostatement/execute.xml, vrana recently added: Ale values are treated as <constant>PDO::PARAM_STR</constant>. This should be: All values... -- Edit bug report at http://bugs.php.net/?id=50181&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50181&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=

11/15/2009 2:00:03 PM 0 doc-b...@lists.php.net ("sjoerd-php at linuxonly dot nl")
#50177 [NEW]: Example 1 - file is truncated twice

From: chris at beckr dot org Operating system: Mac / Linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Example 1 - file is truncated twice Description: ------------ Example 1 of the flock function documentation shows how to lock a file for writing. Once the lock has been obtained, the file is ftruncate()d and date is written. However, the file is opened using "w", which means that the file will already be truncated even before the lock is issued, which means that any readers (LOCK_SH) that validly obtain a lock in the meantim

11/14/2009 10:02:49 PM 0 doc-b...@lists.php.net ("chris at beckr dot org")
#50176 [NEW]: Add note to array_slice

From: gargantulakon at gmail dot com Operating system: Windows 7 x64 Ultimate PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Add note to array_slice Description: ------------ On the array_shift() function, there is this note: Note: This function will reset() the array pointer after use. The same note should be added to array_splice() function page. Reproduce code: --------------- --- From manual page: function.array-slice --- -- Edit bug report at http://bugs.php.net/?id=50176&edit=1 -- Try a snapshot (PH

11/14/2009 5:36:40 PM 0 doc-b...@lists.php.net ("gargantulakon at gmail dot com")

Pages:









Newest Articles

#50656 [NEW]: Assign constant to var causes syntax error
1/4/2010 3:07:07 PM

#50655 [NEW]: fgets(): French translation error
1/4/2010 2:40:48 PM

note 95459 added to domnode.haschildnodes
1/4/2010 1:53:44 PM

note 95458 added to function.readdir
1/4/2010 1:36:41 PM

Hola
1/4/2010 1:29:49 PM