[PHP-DOC] #38445 [NEW]: xmlrpc_decode/decode_request Return Type
From: schow at macnexus dot org Operating system: All PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: xmlrpc_decode/decode_request Return Type Description: In the manual, the return type for xmlrpc_decode and xmlrpc_decode_request should really be "mixed" and not "array." If the service return is an array, struct, or multiple values, then yes, an array is returned. However, if just one scalar value is returned (see code example) xmlrpc_decode will return just one string ("Hello!"). Reproduce code: --- $xml1 = " One2 "; $xml2 = " Hello! "; $data1 = xmlrpc_decode($xml1); $data2 = xmlrpc_decode($xml2); echo gettype($data1); echo gettype($data2); Expected result: PHP executes the code correctly. In the code, $data1 is the returned value of xmlrpc_decode for an xmlrpc struct. gettype reports $data1 as an array. $data2 is the returned value of an xml-rpc string scalar. gettype reports it as a string. Actual result: -- The documentation should be changed to "mixed" to indicate that xmlrpc_decode will not always return an array. -- Edit bug report at http://bugs.php.net/?id=38445&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38445&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38445&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38445&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38445&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38445&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38445&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38445&r=needscript Try newer version:http://bugs.php.net/fix.php?id=38445&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38445&r=support Expected behavior:http://bugs.php.net/fix.php?id=38445&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38445&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38445&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38445&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38445&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38445&r=dst IIS Stability:http://bugs.php.net/fix.php?id=38445&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38445&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38445&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38445&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38445&r=mysqlcfg
[PHP-DOC] cvs: phpdoc /en/reference/zip constants.xml
pajoye Sun Aug 13 22:15:55 2006 UTC Modified files: /phpdoc/en/reference/zipconstants.xml Log: - add ZIPARCHIVE::OVERWRITE http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/zip/constants.xml diff -u phpdoc/en/reference/zip/constants.xml:1.3 phpdoc/en/reference/zip/constants.xml:1.4 --- phpdoc/en/reference/zip/constants.xml:1.3 Sat Aug 12 20:03:56 2006 +++ phpdoc/en/reference/zip/constants.xml Sun Aug 13 22:15:55 2006 @@ -1,5 +1,5 @@ - + &reftitle.constants; &extension.constants; @@ -21,6 +21,18 @@ + + +ZIPARCHIVE::OVERWRITE + (integer) + + + + Always start a new archive, this mode will overwrite the file if + it already exists. + + +
[PHP-DOC] cvs: phpdoc /en/chapters intro.xml
nlopess Sun Aug 13 22:08:54 2006 UTC Modified files: /phpdoc/en/chapters intro.xml Log: update this a little: remove reference to dbx (replace it with PDO) remove reference to payment gateways (they are all outdated) add zip compression #thanks to Sebastian & Pierre for pinging me http://cvs.php.net/viewvc.cgi/phpdoc/en/chapters/intro.xml?r1=1.41&r2=1.42&diff_format=u Index: phpdoc/en/chapters/intro.xml diff -u phpdoc/en/chapters/intro.xml:1.41 phpdoc/en/chapters/intro.xml:1.42 --- phpdoc/en/chapters/intro.xml:1.41 Wed Jan 11 12:47:17 2006 +++ phpdoc/en/chapters/intro.xmlSun Aug 13 22:08:54 2006 @@ -1,5 +1,5 @@ - + Introduction @@ -188,7 +188,7 @@ Unix dbm -We also have a DBX database abstraction extension allowing you +We also have a database abstraction extension (named PDO) allowing you to transparently use any database supported by that extension. Additionally PHP supports ODBC, the Open Database Connection standard, so you can connect to any other database supporting @@ -215,16 +215,10 @@ the feature set adding SimpleXML and XMLReader support. -While using PHP in the e-commerce field, you'll find -the Cybercash payment, CyberMUT, VeriSign Payflow -Pro and MCVE functions useful for your online payment -programs. - - At last but not least, we have many other interesting extensions, the mnoGoSearch search engine functions, the IRC Gateway functions, many compression utilities -(gzip, bz2), calendar conversion, translation... +(gzip, bz2, zip), calendar conversion, translation... As you can see this page is not enough to list all
[PHP-DOC] #38443 [Fbk->Bgs]: missing how to REALLY install win, apache2.2.3
ID: 38443 Updated by: [EMAIL PROTECTED] Reported By: indexsuxx at freemail dot hu -Status: Feedback +Status: Bogus Bug Type: Documentation problem Operating System: XP PHP Version: Irrelevant New Comment: yes, but it's the same. Ah I see, he is using the wrong dll. Philip already tuned the docs to mention that apache 2.2 requires another dll. Previous Comments: [2006-08-13 14:27:36] [EMAIL PROTECTED] he is talking about apache 2.2.x ;-) not 2.0 [2006-08-13 14:20:30] [EMAIL PROTECTED] what part doesn't work? I've windows xp+apache 2.0+php 5 working and I've installed PHP using the installation guide we provide. [2006-08-13 13:54:02] indexsuxx at freemail dot hu Description: The given installation giude simply does not work on win xp, apache 2.2.3 (and I think nowhere else). Just try google "on/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found" to see how many people get this problem. Yeah, I know run apache on a real OS and not on XP but if it is allowed then it should be writen in a usable way. I suggest it for consideration. -- Edit this bug report at http://bugs.php.net/?id=38443&edit=1
[PHP-DOC] #38443 [Fbk]: missing how to REALLY install win, apache2.2.3
ID: 38443 Updated by: [EMAIL PROTECTED] Reported By: indexsuxx at freemail dot hu Status: Feedback Bug Type: Documentation problem Operating System: XP PHP Version: Irrelevant New Comment: he is talking about apache 2.2.x ;-) not 2.0 Previous Comments: [2006-08-13 14:20:30] [EMAIL PROTECTED] what part doesn't work? I've windows xp+apache 2.0+php 5 working and I've installed PHP using the installation guide we provide. [2006-08-13 13:54:02] indexsuxx at freemail dot hu Description: The given installation giude simply does not work on win xp, apache 2.2.3 (and I think nowhere else). Just try google "on/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found" to see how many people get this problem. Yeah, I know run apache on a real OS and not on XP but if it is allowed then it should be writen in a usable way. I suggest it for consideration. -- Edit this bug report at http://bugs.php.net/?id=38443&edit=1
[PHP-DOC] #38443 [Opn->Fbk]: missing how to REALLY install win, apache2.2.3
ID: 38443 Updated by: [EMAIL PROTECTED] Reported By: indexsuxx at freemail dot hu -Status: Open +Status: Feedback Bug Type: Documentation problem Operating System: XP PHP Version: Irrelevant New Comment: what part doesn't work? I've windows xp+apache 2.0+php 5 working and I've installed PHP using the installation guide we provide. Previous Comments: [2006-08-13 13:54:02] indexsuxx at freemail dot hu Description: The given installation giude simply does not work on win xp, apache 2.2.3 (and I think nowhere else). Just try google "on/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found" to see how many people get this problem. Yeah, I know run apache on a real OS and not on XP but if it is allowed then it should be writen in a usable way. I suggest it for consideration. -- Edit this bug report at http://bugs.php.net/?id=38443&edit=1
[PHP-DOC] #38443 [NEW]: missing how to REALLY install win, apache2.2.3
From: indexsuxx at freemail dot hu Operating system: XP PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: missing how to REALLY install win, apache2.2.3 Description: The given installation giude simply does not work on win xp, apache 2.2.3 (and I think nowhere else). Just try google "on/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found" to see how many people get this problem. Yeah, I know run apache on a real OS and not on XP but if it is allowed then it should be writen in a usable way. I suggest it for consideration. -- Edit bug report at http://bugs.php.net/?id=38443&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38443&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38443&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38443&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38443&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38443&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38443&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38443&r=needscript Try newer version:http://bugs.php.net/fix.php?id=38443&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38443&r=support Expected behavior:http://bugs.php.net/fix.php?id=38443&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38443&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38443&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38443&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38443&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38443&r=dst IIS Stability:http://bugs.php.net/fix.php?id=38443&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38443&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38443&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38443&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38443&r=mysqlcfg
[PHP-DOC] #38442 [NEW]: Install instructions FastCGI
From: holliwell at gmx dot net Operating system: linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Install instructions FastCGI Description: Hey, the docs are missing install instructions for the FastCGI sapi. Regards Friedhelm -- Edit bug report at http://bugs.php.net/?id=38442&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38442&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38442&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38442&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38442&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38442&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38442&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38442&r=needscript Try newer version:http://bugs.php.net/fix.php?id=38442&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38442&r=support Expected behavior:http://bugs.php.net/fix.php?id=38442&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38442&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38442&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38442&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38442&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38442&r=dst IIS Stability:http://bugs.php.net/fix.php?id=38442&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38442&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38442&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38442&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38442&r=mysqlcfg
[PHP-DOC] cvs: phpdoc /en/reference/enchant/functions enchant-broker-dict-exists.xml enchant-broker-free-dict.xml enchant-broker-free.xml
nlopess Sun Aug 13 11:39:38 2006 UTC Modified files: /phpdoc/en/reference/enchant/functions enchant-broker-dict-exists.xml enchant-broker-free-dict.xml enchant-broker-free.xml Log: fix typos http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml diff -u phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml:1.2 phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml:1.3 --- phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml:1.2 Sun Aug 13 10:24:27 2006 +++ phpdoc/en/reference/enchant/functions/enchant-broker-dict-exists.xml Sun Aug 13 11:39:38 2006 @@ -1,5 +1,5 @@ - + enchant_broker_dict_exists @@ -58,7 +58,7 @@ $tag = 'en_US'; $r = enchant_broker_init(); if (enchant_broker_dict_exists($r,$tag)) { -echo $tag . " dictinary found.\n"; +echo $tag . " dictionary found.\n"; } ?> ]]> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml diff -u phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-broker-free-dict.xml Sun Aug 13 11:39:38 2006 @@ -1,5 +1,5 @@ - + enchant_broker_free_dict @@ -12,7 +12,7 @@ resourcedict - Free a dictinary resource. + Free a dictionary resource. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-broker-free.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-broker-free.xml diff -u phpdoc/en/reference/enchant/functions/enchant-broker-free.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-broker-free.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-broker-free.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-broker-free.xml Sun Aug 13 11:39:38 2006 @@ -1,5 +1,5 @@ - + enchant_broker_free @@ -12,7 +12,7 @@ resourcebroker - Free a broker resource with all its dictinaries. + Free a broker resource with all its dictionaries.
[PHP-DOC] Notes Status, 15594 total
Following are the top 20 pages of the manual, sorted by the number of user notes contributed. These sections could use a polish, those notes represent 8.7% of the 15594 total user notes. Notes | Page ---+- 86 | http://php.net/manual/en/ref.session.php 83 | http://php.net/manual/en/ref.xml.php 80 | http://php.net/manual/en/function.header.php 78 | http://php.net/manual/en/function.strtotime.php 77 | http://php.net/manual/en/reserved.variables.php 75 | http://php.net/manual/en/ref.image.php 70 | http://php.net/manual/en/function.fsockopen.php 70 | http://php.net/manual/en/function.preg-match.php 68 | http://php.net/manual/en/function.mktime.php 67 | http://php.net/manual/en/features.file-upload.php 66 | http://php.net/manual/en/function.mssql-connect.php 64 | http://php.net/manual/en/ref.com.php 63 | http://php.net/manual/en/function.readdir.php 61 | http://php.net/manual/en/function.array-search.php 61 | http://php.net/manual/en/function.explode.php 59 | http://php.net/manual/en/function.serialize.php 59 | http://php.net/manual/en/function.substr.php 59 | http://php.net/manual/en/function.fgetcsv.php 57 | http://php.net/manual/en/ref.curl.php 57 | http://php.net/manual/en/function.exec.php
[PHP-DOC] cvs: phpdoc /en/reference/enchant/functions enchant-broker-describe.xml enchant-broker-dict-exists.xml enchant-broker-list-dicts.xml enchant-broker-request-pwl-dict.xml enchant-dict-describe
takagi Sun Aug 13 10:24:27 2006 UTC Modified files: /phpdoc/en/reference/enchant/functions enchant-dict-quick-check.xml enchant-dict-get-error.xml enchant-dict-describe.xml enchant-broker-request-pwl-dict.xml enchant-broker-list-dicts.xml enchant-broker-dict-exists.xml enchant-broker-describe.xml Log: fixed typos. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml diff -u phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-dict-quick-check.xml Sun Aug 13 10:24:27 2006 @@ -1,5 +1,5 @@ - + enchant_dict_quick_check @@ -42,7 +42,7 @@ suggestions - If the workd is not correctly spelled, this variable will + If the word is not correctly spelled, this variable will contain an array of suggestions. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xml diff -u phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-dict-get-error.xmlSun Aug 13 10:24:27 2006 @@ -1,5 +1,5 @@ - + enchant_dict_get_error @@ -24,7 +24,7 @@ dict - Its description + Dictinaray resource http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml diff -u phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-dict-describe.xml Sun Aug 13 10:24:27 2006 @@ -1,5 +1,5 @@ - + enchant_dict_describe @@ -43,10 +43,10 @@ &reftitle.examples; -A enchant_broker_request_dict example +A enchant_dict_describe example Check if a dictionary exists using - enchant_broker_dict_exists and request it. + enchant_broker_dict_exists and show the detail of it. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml diff -u phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml:1.1 phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml:1.2 --- phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml:1.1 Fri Aug 11 17:30:20 2006 +++ phpdoc/en/reference/enchant/functions/enchant-broker-describe.xml Sun Aug 13 10:24:27 2006 @@ -1,9 +1,9 @@ - + enchant_broker_describe - Enumerates the Enchant providers and tells + Enumerates the Enchant providers &reftitle.description;