[PHP-DOC] #33830 [NEW]: Incorrect documentation on sqlite_fetch_all page
From: jmarbas at hotmail dot com Operating system: win xp PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Incorrect documentation on sqlite_fetch_all page Description: on the page for sqlite_fetch_all: http://us2.php.net/manual/en/function.sqlite-fetch-all.php under the 'Return Values' section it states "Returns an array of the current row from a result set; FALSE if the current position is beyond the final row." This should read "returns an array of the entire result set from a result set." which is in fact stated earlier on the web page. Reproduce code: --- n/a Expected result: see description -- Edit bug report at http://bugs.php.net/?id=33830&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33830&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33830&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33830&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33830&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33830&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33830&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33830&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33830&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33830&r=support Expected behavior: http://bugs.php.net/fix.php?id=33830&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33830&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33830&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33830&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33830&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33830&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33830&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33830&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33830&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33830&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33830&r=mysqlcfg
[PHP-DOC] cvs: phpdoc /en/reference/runkit sandbox.xml
pollita Fri Jul 22 15:35:26 2005 EDT Modified files: /phpdoc/en/reference/runkit sandbox.xml Log: Document additional directives http://cvs.php.net/diff.php/phpdoc/en/reference/runkit/sandbox.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc/en/reference/runkit/sandbox.xml diff -u phpdoc/en/reference/runkit/sandbox.xml:1.11 phpdoc/en/reference/runkit/sandbox.xml:1.12 --- phpdoc/en/reference/runkit/sandbox.xml:1.11 Tue Jun 14 21:16:16 2005 +++ phpdoc/en/reference/runkit/sandbox.xml Fri Jul 22 15:35:26 2005 @@ -1,5 +1,5 @@ - + @@ -50,6 +50,35 @@ + safe_mode_gid + + + If the outer script which is instantiating the + Runkit_Sandbox class + is configured with safe_mode_gid = on, then safe_mode_gid + may be turned off for the sandbox environment. This setting can not + be used to enable safe_mode_gid when it's already + disabled in the outer script. + + + + + safe_mode_include_dir + + + If the outer script which is instantiating the + Runkit_Sandbox class + is configured with a safe_mode_include_dir, + then a new safe_mode_include_dir may be set for sandbox environments + below the currently defined value. safe_mode_include_dir may also be + cleared to indicate that the bypass feature is disabled. + If safe_mode_include_dir was blank in the outer script, but safe_mode + was not enabled, then any arbitrary safe_mode_include_dir may be set + while turning safe_mode on. + + + + open_basedir
[PHP-DOC] cvs: phpdoc /en/reference/ssh2/functions ssh2-publickey-add.xml ssh2-publickey-init.xml ssh2-publickey-list.xml ssh2-publickey-remove.xml
pollita Fri Jul 22 15:34:26 2005 EDT Modified files: /phpdoc/en/reference/ssh2/functions ssh2-publickey-add.xml ssh2-publickey-remove.xml ssh2-publickey-list.xml ssh2-publickey-init.xml Log: Typos and Copy/Paste issues http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml diff -u phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml:1.1 phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml:1.2 --- phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml:1.1 Thu Jul 21 17:37:49 2005 +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml Fri Jul 22 15:34:25 2005 @@ -1,5 +1,5 @@ - + @@ -111,8 +111,8 @@ ssh2_publickey_init -ssh2_publickey_remote -Or ssh2_publickey_list +ssh2_publickey_remove +ssh2_publickey_list http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xml diff -u phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xml:1.1 phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xml:1.2 --- phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xml:1.1Thu Jul 21 17:37:49 2005 +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-remove.xmlFri Jul 22 15:34:25 2005 @@ -1,5 +1,5 @@ - + @@ -64,7 +64,7 @@ ssh2_publickey_init ssh2_publickey_add -Or ssh2_publickey_list +ssh2_publickey_list http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml diff -u phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml:1.1 phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml:1.2 --- phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml:1.1 Thu Jul 21 17:37:49 2005 +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml Fri Jul 22 15:34:25 2005 @@ -1,5 +1,5 @@ - + @@ -126,7 +126,7 @@ ssh2_publickey_init ssh2_publickey_add -Or ssh2_publickey_remove +ssh2_publickey_remove http://cvs.php.net/diff.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml diff -u phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml:1.1 phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml:1.2 --- phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml:1.1 Thu Jul 21 17:37:49 2005 +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml Fri Jul 22 15:34:25 2005 @@ -1,5 +1,5 @@ - + ssh2_publickey_init @@ -33,14 +33,19 @@ the ssh2_publickey_init function will return &false;. - - See Also: - ssh2_publickey_add, - ssh2_publickey_remove, and - ssh2_publickey_list - + + +&reftitle.seealso; + + + ssh2_publickey_add + ssh2_publickey_remove + ssh2_publickey_list + + +
[PHP-DOC] Re: cvs: phpdoc /en language-snippets.ent /en/reference/ssh2/functions ssh2-publickey-add.xml ssh2-publickey-init.xml ssh2-publickey-list.xml ssh2-publickey-remove.xml
I don't think the "Or" in member also list will have a good output, do you ? Sara Golemon wrote: pollita Thu Jul 21 17:37:49 2005 EDT Added files: /phpdoc/en/reference/ssh2/functions ssh2-publickey-add.xml ssh2-publickey-init.xml ssh2-publickey-list.xml ssh2-publickey-remove.xml Modified files: /phpdoc/en language-snippets.ent Log: Document ssh2 publickey subsystem http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.151&r2=1.152&ty=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.151 phpdoc/en/language-snippets.ent:1.152 --- phpdoc/en/language-snippets.ent:1.151 Wed Jun 8 21:24:28 2005 +++ phpdoc/en/language-snippets.ent Thu Jul 21 17:37:48 2005 @@ -1,4 +1,4 @@ - + @@ -587,3 +587,10 @@ patched versions of PHP 5.0 and requires that thread safety be enabled. See the README file included in the runkit package for more information. '> + + +The publickey subsystem +is used for managing publickeys on a server to which the client is +already authenticated. To authenticate to a remote system +using publickey authentication, use the ssh2_auth_pubkey_file +function instead.'> http://cvs.php.net/co.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml?r=1.1&p=1 Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-add.xml ssh2_publickey_add Add an authorized publickey &reftitle.description; boolssh2_publickey_add resourcepkey stringalgoname stringblob booloverwrite arrayattributes ¬e.ssh2.subsystem.publickey; &reftitle.parameters; pkey Publickey Subsystem resource created by ssh2_publickey_init. algoname Publickey algorithm (e.g): ssh-dss, ssh-rsa blob Publickey blob as raw binary overwrite If the specified key already exists, should it be overwritten? attributes Associative array of attributes to assign to this public key. Refer to ietf-secsh-publickey-subsystem for a list of supported attributes. To mark an attribute as mandatory, preceed its name with an asterix. If the server is unable to support an attribute marked mandatory, it will abort the add process. &reftitle.returnvalues; &return.success; &reftitle.examples; Adding a publickey with ssh2_publickey_add &reftitle.seealso; ssh2_publickey_init ssh2_publickey_remote Or ssh2_publickey_list http://cvs.php.net/co.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml?r=1.1&p=1 Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-init.xml ssh2_publickey_init Initialize Publickey subsystem Description resourcessh2_publickey_init resourcesession Request the Publickey subsystem from an already connected SSH2 server. ¬e.ssh2.subsystem.publickey; This method returns an SSH2 Publickey Subsystem resource for use with all other ssh2_publickey_*() methods. The publickey subsystem allows an already connected and authenticated client to manage the list of authorized public keys stored on the target server in an implementation agnostic manner. If the remote server does not support the publickey subsystem, the ssh2_publickey_init function will return &false;. See Also: ssh2_publickey_add, ssh2_publickey_remove, and ssh2_publickey_list http://cvs.php.net/co.php/phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml?r=1.1&p=1 Index: phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml +++ phpdoc/en/reference/ssh2/functions/ssh2-publickey-list.xml ssh2_publickey_list List currently authorized publickeys &reftitle.description; arrayssh2_publickey_list resourcepkey ¬e.ssh2.subsystem.publickey; &reftitle.parameters; pkey Publickey Subsystem resource &reftitle.returnvalues; Returns a numericly indexed array of keys, each of which is an associative array containing: name, blob, and attrs elements. Publickey elements Array Key Meaning name Name of algorithm used by this publickey, for exa
[PHP-DOC] #33810 [Opn]: Documentation structure change
ID: 33810 User updated by: php at karsites dot net Reported By: php at karsites dot net Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: Some more suggestions for dividing the PHP Function Reference part of the manual, into various sub-headings. I have placed each extensions intro page into what I think would be a suitable category, or sub-heading. /BUNDLED/ PHP extensions that are bundled with PHP, which can be enabled or disabled at compile time. /DATABASE/ extensions that are pertinent to DB functionality. /DEPRECATED/ extensions marked as deprecated. /EXPERIMENTAL/ extensions marked as experimental. /EXTERNAL/ extensions that are not bundled with php, and available from other providers, apart from PECL. /NOT_SURE/ I'm not sure what category to place these extensions into. /PECL/ extensions available from PECL, and possibly with more links to the authors website. /core/ extensions that are a part of core PHP, and cannot be compiled out, with compilation options. I have not looked at the PHP source code, some of the above extensions may not be in the correct category - I just followed the details in the PHP manual. The above is just a suggestion as how the PHP manual may be organised in the future. Hopefully, this will allow developers to get their head around the PHP and the manual alot quicker. http://www.karsites.net/KAR/websites/pub/computing/php/functions/ HTH - KR Previous Comments: [2005-07-22 14:48:13] php at karsites dot net Thanks Richard - LOL! [2005-07-22 14:03:49] richard dot quadling at bandvulc dot co dot uk http://www.karsites.net/KAR/websites/pub/computing/php/functions/core/ [2005-07-22 13:43:12] php at karsites dot net Hi - I've been through the PHP manual, version 2005-07-06 (Copyright © 1997-2005 the PHP Documentation Group) and identified what appears to be a number of 'core functions'. By core functions, I take it these are always available, and cannot be removed using compile options. Please correct me if this is not the case. I have grouped these core functions together at; http://localhost/KAR/websites/pub/computing/php/functions/core/ and produced a core function 'quick-reference', in the relevant directory, that may be of interest. Regards - Keith Roberts [2005-07-21 22:30:07] php at karsites dot net By core PHP I mean the following type of function groups. XXXVIII. Filesystem Functions --snip-- Installation There is no installation needed to use these functions; they are part of the PHP core. XXXI. Error Handling and Logging Functions Introduction --snip-- These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify the way the errors can be logged. This allows you to change and enhance error reporting to suit your needs. Requirements No external libraries are needed to build this extension. Installation There is no installation needed to use these functions; they are part of the PHP core. What I mean is the core PHP functions that the consider as 'essential PHP functions', normally included and compiled into PHP, could be mentioned seperately in the PHP manual. If other parties distributing PHP want to leave these core components out of their distros, then that is up to them. HTH - Keith Roberts [2005-07-21 20:38:22] [EMAIL PROTECTED] Most of the PHP users have some provider having a custom PHP setup with some additional extensions given and some configuration options tightened. It is important for our manual to be general, so that you don't need to think like: "ok, my provider has this extension, is it core or not?" We are aware of this issue, and have an extension categorization item on our todo list, as well as an item to allow people to download customized manuals for their own needs, so we are not putting our heads in the sand, it is just that there is no such thing as core PHP, since the different hosting providers configure it differently. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33810 -- Edit this bug report at http://bugs.php.net/?id=33810&edit=1
Re: [PHP-DOC] fopen() Documentation
John Luetke wrote: > On the PHP documentation page for fopen(), you state that FTP can be used to > open files. > PHP returns an error upon attempting this, even after adding > [EMAIL PROTECTED] Maybe you can specify the forat for this in the > manual? You probably use old version of the manual. Take a look at http://php.net/fopen, everything is clear there. Jakub Vrana
[PHP-DOC] #33810 [Opn]: Documentation structure change
ID: 33810 User updated by: php at karsites dot net Reported By: php at karsites dot net Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: Thanks Richard - LOL! Previous Comments: [2005-07-22 14:03:49] richard dot quadling at bandvulc dot co dot uk http://www.karsites.net/KAR/websites/pub/computing/php/functions/core/ [2005-07-22 13:43:12] php at karsites dot net Hi - I've been through the PHP manual, version 2005-07-06 (Copyright © 1997-2005 the PHP Documentation Group) and identified what appears to be a number of 'core functions'. By core functions, I take it these are always available, and cannot be removed using compile options. Please correct me if this is not the case. I have grouped these core functions together at; http://localhost/KAR/websites/pub/computing/php/functions/core/ and produced a core function 'quick-reference', in the relevant directory, that may be of interest. Regards - Keith Roberts [2005-07-21 22:30:07] php at karsites dot net By core PHP I mean the following type of function groups. XXXVIII. Filesystem Functions --snip-- Installation There is no installation needed to use these functions; they are part of the PHP core. XXXI. Error Handling and Logging Functions Introduction --snip-- These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify the way the errors can be logged. This allows you to change and enhance error reporting to suit your needs. Requirements No external libraries are needed to build this extension. Installation There is no installation needed to use these functions; they are part of the PHP core. What I mean is the core PHP functions that the consider as 'essential PHP functions', normally included and compiled into PHP, could be mentioned seperately in the PHP manual. If other parties distributing PHP want to leave these core components out of their distros, then that is up to them. HTH - Keith Roberts [2005-07-21 20:38:22] [EMAIL PROTECTED] Most of the PHP users have some provider having a custom PHP setup with some additional extensions given and some configuration options tightened. It is important for our manual to be general, so that you don't need to think like: "ok, my provider has this extension, is it core or not?" We are aware of this issue, and have an extension categorization item on our todo list, as well as an item to allow people to download customized manuals for their own needs, so we are not putting our heads in the sand, it is just that there is no such thing as core PHP, since the different hosting providers configure it differently. [2005-07-21 20:31:43] php at karsites dot net Description: It it possible to split the PHP function reference into 'core' extensions, and 'external' extensions. including those in PECL? I think this would make it alot easier for people to identify the functions that are part of th core PHP language - ie built-in to PHP directly. Keith Roberts -- Edit this bug report at http://bugs.php.net/?id=33810&edit=1
[PHP-DOC] cvs: phpdoc /en/reference/simplexml/functions simplexml-load-file.xml
vrana Fri Jul 22 08:37:54 2005 EDT Modified files: /phpdoc/en/reference/simplexml/functionssimplexml-load-file.xml Log: URIs are unescaped (bug #33804) http://cvs.php.net/diff.php/phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml diff -u phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.9 phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.10 --- phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml:1.9 Mon Feb 14 13:01:02 2005 +++ phpdoc/en/reference/simplexml/functions/simplexml-load-file.xml Fri Jul 22 08:37:54 2005 @@ -1,5 +1,5 @@ - + simplexml_load_file @@ -32,6 +32,15 @@ options parameter to specify additional Libxml parameters. + + + Libxml 2 unescapes the URI, so if you want to pass e.g. + b&c as the URI parameter a, + you have to call + simplexml_load_file(rawurlencode('http://example.com/?a=' . + urlencode('b&c'))). + + Interpret an XML document
[PHP-DOC] #33804 [Opn->Csd]: simplexml_load_file() decodes the file name
ID: 33804 Updated by: [EMAIL PROTECTED] Reported By: phpbugs at pureftpd dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Any PHP Version: 5.0.4 New Comment: 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. "Libxml 2 unescapes the URI, so if you want to pass e.g. b&c as the URI parameter a, you have to call simplexml_load_file(rawurlencode('http://example.com/?a=' . urlencode('b&c')))." Previous Comments: [2005-07-21 14:50:34] [EMAIL PROTECTED] libxml2 unescapes the URI, so this should be documented. [2005-07-21 14:38:15] phpbugs at pureftpd dot org Description: simplexml_load_file() decodes the argument that is supposed to be a file name. It can be a security flaw. I was able to bypass the Overture adult filter of the search engine of a http://skyblog.com by abusing this. Reproduce code: --- simplexml_load_file('http://example.com/a=' . urlencode('b&c')); It loads http://example.com/a=b&c (which means that the value of 'a' is 'b' not 'b&c' as intended by the urlencode() call). simplexml_load_file(rawurlencode('http://example.com/a=' . urlencode('b&c'))); Does the expected behavior and fetches the correct URL. Expected result: Either fix the documentation (the argument is not a file name, but a rawurlencoded one), or the function to behave like fopen (), file_get_contents() and other similar functions. Actual result: -- URLs are decoded. -- Edit this bug report at http://bugs.php.net/?id=33804&edit=1
[PHP-DOC] #33820 [Opn->Csd]: Shameless advertising in documentation
ID: 33820 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type:Documentation problem PHP Version: Irrelevant New Comment: 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. I have deleted the notes. Previous Comments: [2005-07-22 14:26:33] [EMAIL PROTECTED] Description: On http://us2.php.net/manual/en/security.php there are 2 shamless advertisings for a) phpsec.org and b) phpsecurity.info Remove them. Expected result: No advertising in the manual. Especially not for doubtful sites. -- Edit this bug report at http://bugs.php.net/?id=33820&edit=1
[PHP-DOC] #33817 [Opn->Csd]: Serialize objects is valid for PHP 4 only?
ID: 33817 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: * PHP Version: Irrelevant New Comment: 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. "The following information is valid for PHP >= 4 only." Previous Comments: [2005-07-22 12:04:29] [EMAIL PROTECTED] Description: The "Serializing objects - objects in sessions" [http://de2.php.net/oop.serialization] page states it's valid for PHP 4 only. There are no references about PHP 5. Neither at the "Classes and Objects (PHP 5)" chapter nor somewhere else. -- Edit this bug report at http://bugs.php.net/?id=33817&edit=1
[PHP-DOC] cvs: phpdoc /en/language oop.xml
vrana Fri Jul 22 08:27:18 2005 EDT Modified files: /phpdoc/en/language oop.xml Log: Serializing information is valid for PHP 5 too (bug #33817) http://cvs.php.net/diff.php/phpdoc/en/language/oop.xml?r1=1.63&r2=1.64&ty=u Index: phpdoc/en/language/oop.xml diff -u phpdoc/en/language/oop.xml:1.63 phpdoc/en/language/oop.xml:1.64 --- phpdoc/en/language/oop.xml:1.63 Tue Jul 12 18:09:57 2005 +++ phpdoc/en/language/oop.xml Fri Jul 22 08:27:17 2005 @@ -1,5 +1,5 @@ - + Classes and Objects (PHP 4) @@ -651,7 +651,7 @@ -The following information is valid for PHP 4 only. +The following information is valid for PHP >= 4 only.
[PHP-DOC] #33820 [NEW]: Shameless advertising in documentation
From: [EMAIL PROTECTED] Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Shameless advertising in documentation Description: On http://us2.php.net/manual/en/security.php there are 2 shamless advertisings for a) phpsec.org and b) phpsecurity.info Remove them. Expected result: No advertising in the manual. Especially not for doubtful sites. -- Edit bug report at http://bugs.php.net/?id=33820&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33820&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33820&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33820&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33820&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33820&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33820&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33820&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33820&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33820&r=support Expected behavior: http://bugs.php.net/fix.php?id=33820&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33820&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33820&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33820&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33820&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33820&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33820&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33820&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33820&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33820&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33820&r=mysqlcfg
[PHP-DOC] cvs: phpdoc /en/language/oop5 reflection.xml
vrana Fri Jul 22 08:14:10 2005 EDT Modified files: /phpdoc/en/language/oop5reflection.xml Log: Document ReflectionException (bug #33428) http://cvs.php.net/diff.php/phpdoc/en/language/oop5/reflection.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc/en/language/oop5/reflection.xml diff -u phpdoc/en/language/oop5/reflection.xml:1.14 phpdoc/en/language/oop5/reflection.xml:1.15 --- phpdoc/en/language/oop5/reflection.xml:1.14 Wed Jul 13 14:30:22 2005 +++ phpdoc/en/language/oop5/reflection.xml Fri Jul 22 08:14:08 2005 @@ -1,5 +1,5 @@ - + Reflection @@ -111,6 +111,15 @@ + + ReflectionException + +ReflectionException extends the standard Exception and is thrown by Reflection +API. No specific methods or properties are introduced. + + + ReflectionFunction
[PHP-DOC] #33818 [Opn->Csd]: wrong parametr number for pdf functions
ID: 33818 Updated by: [EMAIL PROTECTED] Reported By: massimo dot ferrario at inforeti dot it -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: linux PHP Version: Irrelevant New Comment: 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. It depends also on PDFlib version. With PDFlib version >= 5, no parameters are optional. I documented that. Previous Comments: [2005-07-22 12:08:26] massimo dot ferrario at inforeti dot it Description: I'm getting a lot of warning/errors from pdf related functions after upgrading to php 4.4.0. It appears that at least some of the changes reported in the documentation were backported from version 5 to version 4.4. Compare for instance the following warning: PHP Warning: pdf_stringwidth() expects exactly 4 parameters, 2 given in MYFILE on line MYLINE with what is written in the online docs at http://www.php.net/manual/en/function.pdf-stringwidth.php float pdf_stringwidth ( resource pdfdoc, string text, int font, float size ) Returns the width of text using the last font set by pdf_setfont(). If the optional parameters font and size are specified, the width will be calculated using that font and size instead. Please note that font is a font handle returned by pdf_findfont(). Parameters font and size were optional before PHP 5. -- Edit this bug report at http://bugs.php.net/?id=33818&edit=1
[PHP-DOC] cvs: phpdoc /en/reference/pdf/functions pdf-add-bookmark.xml pdf-findfont.xml pdf-get-parameter.xml pdf-get-value.xml pdf-open-file.xml pdf-open-image-file.xml pdf-setcolor.xml pdf-show-boxe
vrana Fri Jul 22 08:09:31 2005 EDT Modified files: /phpdoc/en/reference/pdf/functions pdf-add-bookmark.xml pdf-findfont.xml pdf-get-parameter.xml pdf-get-value.xml pdf-open-file.xml pdf-open-image-file.xml pdf-setcolor.xml pdf-show-boxed.xml pdf-stringwidth.xml Log: Optional parameters depend on PDFlib version (bug #33818) http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml diff -u phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ - + @@ -22,7 +22,7 @@ If open = 1, child bookmarks will be folded out, and invisible if open = 0. Parameters parent and open - were optional before PHP 5. + are optional before PHP 4.3.5 or with PDFlib less than 5. http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-findfont.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-findfont.xml diff -u phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-findfont.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ - + @@ -23,7 +23,8 @@ macroman, winansi, host, a user-defined encoding name or the name of a CMap. - Parameter embed was optional before PHP 5. + Parameter embed is optional before PHP 4.3.5 or + with PDFlib less than 5. pdf_findfont returns a font handle or &false; http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml diff -u phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.5 Sun Aug 15 11:58:37 2004 +++ phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ - + @@ -16,7 +16,8 @@ Get the contents of some PDFlib parameter with string type. - Parameter modifier was optional before PHP 5. + Parameter modifier is optional before PHP 4.3.5 + or with PDFlib less than 5. http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-get-value.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-get-value.xml diff -u phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-get-value.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ - + @@ -16,7 +16,8 @@ Get the contents of some PDFlib parameter with float type. - Parameter modifier was optional before PHP 5. + Parameter modifier is optional before PHP 4.3.5 + or with PDFlib less than 5. http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-open-file.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-open-file.xml diff -u phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-open-file.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ - + @@ -19,7 +19,8 @@ will be generated in memory instead of on file. The result must be fetched by the client with the pdf_get_buffer function. - Parameter filename was optional before PHP 5. + Parameter filename is optional before PHP 4.3.5 or + with PDFlib less than 5. &return.success; http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml diff -u phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functi
[PHP-DOC] #33810 [Com]: Documentation structure change
ID: 33810 Comment by: richard dot quadling at bandvulc dot co dot uk Reported By: php at karsites dot net Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: http://www.karsites.net/KAR/websites/pub/computing/php/functions/core/ Previous Comments: [2005-07-22 13:43:12] php at karsites dot net Hi - I've been through the PHP manual, version 2005-07-06 (Copyright © 1997-2005 the PHP Documentation Group) and identified what appears to be a number of 'core functions'. By core functions, I take it these are always available, and cannot be removed using compile options. Please correct me if this is not the case. I have grouped these core functions together at; http://localhost/KAR/websites/pub/computing/php/functions/core/ and produced a core function 'quick-reference', in the relevant directory, that may be of interest. Regards - Keith Roberts [2005-07-21 22:30:07] php at karsites dot net By core PHP I mean the following type of function groups. XXXVIII. Filesystem Functions --snip-- Installation There is no installation needed to use these functions; they are part of the PHP core. XXXI. Error Handling and Logging Functions Introduction --snip-- These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify the way the errors can be logged. This allows you to change and enhance error reporting to suit your needs. Requirements No external libraries are needed to build this extension. Installation There is no installation needed to use these functions; they are part of the PHP core. What I mean is the core PHP functions that the consider as 'essential PHP functions', normally included and compiled into PHP, could be mentioned seperately in the PHP manual. If other parties distributing PHP want to leave these core components out of their distros, then that is up to them. HTH - Keith Roberts [2005-07-21 20:38:22] [EMAIL PROTECTED] Most of the PHP users have some provider having a custom PHP setup with some additional extensions given and some configuration options tightened. It is important for our manual to be general, so that you don't need to think like: "ok, my provider has this extension, is it core or not?" We are aware of this issue, and have an extension categorization item on our todo list, as well as an item to allow people to download customized manuals for their own needs, so we are not putting our heads in the sand, it is just that there is no such thing as core PHP, since the different hosting providers configure it differently. [2005-07-21 20:31:43] php at karsites dot net Description: It it possible to split the PHP function reference into 'core' extensions, and 'external' extensions. including those in PECL? I think this would make it alot easier for people to identify the functions that are part of th core PHP language - ie built-in to PHP directly. Keith Roberts -- Edit this bug report at http://bugs.php.net/?id=33810&edit=1
[PHP-DOC] #33810 [Bgs->Opn]: Documentation structure change
ID: 33810 User updated by: php at karsites dot net Reported By: php at karsites dot net -Status: Bogus +Status: Open Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: Hi - I've been through the PHP manual, version 2005-07-06 (Copyright © 1997-2005 the PHP Documentation Group) and identified what appears to be a number of 'core functions'. By core functions, I take it these are always available, and cannot be removed using compile options. Please correct me if this is not the case. I have grouped these core functions together at; http://localhost/KAR/websites/pub/computing/php/functions/core/ and produced a core function 'quick-reference', in the relevant directory, that may be of interest. Regards - Keith Roberts Previous Comments: [2005-07-21 22:30:07] php at karsites dot net By core PHP I mean the following type of function groups. XXXVIII. Filesystem Functions --snip-- Installation There is no installation needed to use these functions; they are part of the PHP core. XXXI. Error Handling and Logging Functions Introduction --snip-- These are functions dealing with error handling and logging. They allow you to define your own error handling rules, as well as modify the way the errors can be logged. This allows you to change and enhance error reporting to suit your needs. Requirements No external libraries are needed to build this extension. Installation There is no installation needed to use these functions; they are part of the PHP core. What I mean is the core PHP functions that the consider as 'essential PHP functions', normally included and compiled into PHP, could be mentioned seperately in the PHP manual. If other parties distributing PHP want to leave these core components out of their distros, then that is up to them. HTH - Keith Roberts [2005-07-21 20:38:22] [EMAIL PROTECTED] Most of the PHP users have some provider having a custom PHP setup with some additional extensions given and some configuration options tightened. It is important for our manual to be general, so that you don't need to think like: "ok, my provider has this extension, is it core or not?" We are aware of this issue, and have an extension categorization item on our todo list, as well as an item to allow people to download customized manuals for their own needs, so we are not putting our heads in the sand, it is just that there is no such thing as core PHP, since the different hosting providers configure it differently. [2005-07-21 20:31:43] php at karsites dot net Description: It it possible to split the PHP function reference into 'core' extensions, and 'external' extensions. including those in PECL? I think this would make it alot easier for people to identify the functions that are part of th core PHP language - ie built-in to PHP directly. Keith Roberts -- Edit this bug report at http://bugs.php.net/?id=33810&edit=1
[PHP-DOC] #33818 [NEW]: wrong parametr number for pdf functions
From: massimo dot ferrario at inforeti dot it Operating system: linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: wrong parametr number for pdf functions Description: I'm getting a lot of warning/errors from pdf related functions after upgrading to php 4.4.0. It appears that at least some of the changes reported in the documentation were backported from version 5 to version 4.4. Compare for instance the following warning: PHP Warning: pdf_stringwidth() expects exactly 4 parameters, 2 given in MYFILE on line MYLINE with what is written in the online docs at http://www.php.net/manual/en/function.pdf-stringwidth.php float pdf_stringwidth ( resource pdfdoc, string text, int font, float size ) Returns the width of text using the last font set by pdf_setfont(). If the optional parameters font and size are specified, the width will be calculated using that font and size instead. Please note that font is a font handle returned by pdf_findfont(). Parameters font and size were optional before PHP 5. -- Edit bug report at http://bugs.php.net/?id=33818&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33818&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33818&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33818&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33818&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33818&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33818&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33818&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33818&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33818&r=support Expected behavior: http://bugs.php.net/fix.php?id=33818&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33818&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33818&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33818&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33818&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33818&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33818&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33818&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33818&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33818&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33818&r=mysqlcfg
[PHP-DOC] #33817 [NEW]: Serialize objects is valid for PHP 4 only?
From: [EMAIL PROTECTED] Operating system: * PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Serialize objects is valid for PHP 4 only? Description: The "Serializing objects - objects in sessions" [http://de2.php.net/oop.serialization] page states it's valid for PHP 4 only. There are no references about PHP 5. Neither at the "Classes and Objects (PHP 5)" chapter nor somewhere else. -- Edit bug report at http://bugs.php.net/?id=33817&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33817&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33817&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33817&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33817&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33817&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33817&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33817&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33817&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33817&r=support Expected behavior: http://bugs.php.net/fix.php?id=33817&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33817&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33817&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33817&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33817&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33817&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33817&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33817&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33817&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33817&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33817&r=mysqlcfg
[PHP-DOC] #33815 [NEW]: Ortography mistake in polish doc
From: mco at mco dot hdtv dot pl Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Ortography mistake in polish doc Description: There is a mistake in documentation. Exact page: http://www.php.net/manual/pl/language.references.whatdo.php The second note starts with: Notatka: Brak operatora & powoduje powstanie kopii obiektu. Je¿eli u¿yjesz $this wewn±trz klasy, zmienna ta bêdzie pracowaæ na bierz±cym egzemplarzu danej klasy. One of the last words, 'bierz±cym' ('bierzacym' without accent) should be 'bie¿±cym' ('biezacym'). Please forward it to polish translators of the docs. I wasn't able to find any contact links to polish documentators :/ Expected result: Notatka: Brak operatora & powoduje powstanie kopii obiektu. Je¿eli u¿yjesz $this wewn±trz klasy, zmienna ta bêdzie pracowaæ na *bierz±cym* egzemplarzu danej klasy. Actual result: -- Notatka: Brak operatora & powoduje powstanie kopii obiektu. Je¿eli u¿yjesz $this wewn±trz klasy, zmienna ta bêdzie pracowaæ na *biez±cym* egzemplarzu danej klasy. -- Edit bug report at http://bugs.php.net/?id=33815&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33815&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33815&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33815&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=33815&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=33815&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33815&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33815&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33815&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33815&r=support Expected behavior: http://bugs.php.net/fix.php?id=33815&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33815&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33815&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=33815&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33815&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=33815&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33815&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33815&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33815&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33815&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33815&r=mysqlcfg