Re: [PHP-DOC] cvs: phpdoc /en/reference/var/functions debug-zval-dump.xml
Sean Coates wrote: +memberulink url=http://www.zend.com/zend/art/ref-count.php;Reference Counting and Aliasing (by Andi Gutmans)/ulink/member We used to put URLs in entities/global.ent. Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/reference/oracle reference.xml
nlopess Thu Sep 1 08:35:44 2005 EDT Modified files: /phpdoc/en/reference/oracle reference.xml Log: moved to pecl. # back from vacations.. http://cvs.php.net/diff.php/phpdoc/en/reference/oracle/reference.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/reference/oracle/reference.xml diff -u phpdoc/en/reference/oracle/reference.xml:1.5 phpdoc/en/reference/oracle/reference.xml:1.6 --- phpdoc/en/reference/oracle/reference.xml:1.5Tue Feb 24 03:46:10 2004 +++ phpdoc/en/reference/oracle/reference.xmlThu Sep 1 08:35:44 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- reference id=ref.oracle titleOracle Functions/title titleabbrevOracle/titleabbrev @@ -11,6 +11,11 @@ This extension adds support for Oracle database server access. See also the link linkend=ref.oci8OCI8/link extension. /para +note + para + pecl.moved-ver;5.1.0. + /para +/note /section reference.oracle.configure;
[PHP-DOC] cvs: phpdoc /en/appendices extensions.xml
vrana Thu Sep 1 09:49:17 2005 EDT Modified files: /phpdoc/en/appendices extensions.xml Log: Oracle moved to PECL http://cvs.php.net/diff.php/phpdoc/en/appendices/extensions.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/appendices/extensions.xml diff -u phpdoc/en/appendices/extensions.xml:1.4 phpdoc/en/appendices/extensions.xml:1.5 --- phpdoc/en/appendices/extensions.xml:1.4 Sun Aug 21 08:38:06 2005 +++ phpdoc/en/appendices/extensions.xml Thu Sep 1 09:49:13 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=utf-8? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- DO NOT TRANSLATE THIS FILE! All the content that is displayed @@ -412,7 +412,6 @@ listitemparaxref linkend=ref.nsapi//para/listitem listitemparaxref linkend=ref.objaggregation//para/listitem listitemparaxref linkend=ref.oci8//para/listitem -listitemparaxref linkend=ref.oracle//para/listitem listitemparaxref linkend=ref.overload//para/listitem listitemparaxref linkend=ref.pcntl//para/listitem listitemparaxref linkend=ref.pdo//para/listitem @@ -507,6 +506,7 @@ listitemparaxref linkend=ref.notes//para/listitem listitemparaxref linkend=ref.oggvorbis//para/listitem listitemparaxref linkend=ref.openal//para/listitem +listitemparaxref linkend=ref.oracle//para/listitem listitemparaxref linkend=ref.paradox//para/listitem listitemparaxref linkend=ref.parsekit//para/listitem listitemparaxref linkend=ref.pdf//para/listitem
[PHP-DOC] cvs: phpdoc /en/reference/var/functions debug-zval-dump.xml /entities global.ent
seanThu Sep 1 09:55:36 2005 EDT Modified files: /phpdoc/entitiesglobal.ent /phpdoc/en/reference/var/functions debug-zval-dump.xml Log: move URL to entity http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.237r2=1.238ty=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.237 phpdoc/entities/global.ent:1.238 --- phpdoc/entities/global.ent:1.237Sun Aug 14 18:50:32 2005 +++ phpdoc/entities/global.ent Thu Sep 1 09:55:31 2005 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.237 2005/08/14 22:50:32 sean Exp $ + $Id: global.ent,v 1.238 2005/09/01 13:55:31 sean Exp $ Contains global macros for all the XML documents. @@ -376,6 +376,7 @@ !ENTITY url.zend.introduction http://www.zend.com/zend/art/intro.php; !ENTITY url.zend.mail http://www.zend.com/zend/spotlight/sendmimeemailpart1.php; !ENTITY url.zend.new http://www.zend.com/zend/whats-new.php; +!ENTITY url.zend.references http://www.zend.com/zend/art/ref-count.php; !ENTITY url.zlib http://www.gzip.org/zlib/; !ENTITY url.zziplib http://zziplib.sourceforge.net/; http://cvs.php.net/diff.php/phpdoc/en/reference/var/functions/debug-zval-dump.xml?r1=1.5r2=1.6ty=u Index: phpdoc/en/reference/var/functions/debug-zval-dump.xml diff -u phpdoc/en/reference/var/functions/debug-zval-dump.xml:1.5 phpdoc/en/reference/var/functions/debug-zval-dump.xml:1.6 --- phpdoc/en/reference/var/functions/debug-zval-dump.xml:1.5 Wed Aug 31 16:06:02 2005 +++ phpdoc/en/reference/var/functions/debug-zval-dump.xml Thu Sep 1 09:55:36 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- refentry id=function.debug-zval-dump refnamediv refnamedebug_zval_dump/refname @@ -157,7 +157,7 @@ memberfunctionvar_dump/function/member memberfunctiondebug_backtrace/function/member memberlink linkend=language.referencesReferences Explained/link/member -memberulink url=http://www.zend.com/zend/art/ref-count.php;Reference Counting and Aliasing (by Andi Gutmans)/ulink/member +memberulink url=url.zend.references;Reference Counting and Aliasing (by Andi Gutmans)/ulink/member /simplelist /para /refsect1
[PHP-DOC] #34315 [Opn-Csd]: Installer disables php in httpd.conf
ID: 34315 Updated by: [EMAIL PROTECTED] Reported By: marcus at synchromedia dot co dot uk -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: MacOS X 10.4.2 PHP Version: 5.1.0RC1 New Comment: Reverted: I didn't realize it touched existing lines too and not only when it has to ADD it.. Previous Comments: [2005-08-31 16:46:48] marcus at synchromedia dot co dot uk OK, I can understand that reasoning, However, the choice is really between getting a (non-fatal) warning on startup for a duplicate LoadModule statement vs not working at all. I'd say the former is the more tolerable choice. While the complications with conf.d stuf may be true, if you find an uncommented LoadModule in httpd.conf, it doesn't seem likely that it is already duplicated elsewhere. I'm not familiar with how you tweak httpd.conf programatically, so I guess there may be more to it than that. [2005-08-31 16:36:46] [EMAIL PROTECTED] It's done because most distributions with apache2 use the 'conf.d' style modularized configurations and the apxs tool can't handle anything but httpd.conf and that results in having the line in question in 2 places. Documentation should state this. [2005-08-31 14:53:22] [EMAIL PROTECTED] It's stupid to do this - it will stop running installs from working properly when people upgrade. [2005-08-31 14:48:14] marcus at synchromedia dot co dot uk Any particular reason? I can see it being not unreasonable for new installs, but for upgrades (i.e. where the LoadModule line is already active) it seems really unnecessary. It means that every install of 5.1 will default to not working, even if it was working before. Is this change in behaviour documented? [2005-08-31 14:16:06] [EMAIL PROTECTED] That change was intentional, no bug here. 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/34315 -- Edit this bug report at http://bugs.php.net/?id=34315edit=1
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fpassthru.xml
nlopess Thu Sep 1 11:30:29 2005 EDT Modified files: /phpdoc/en/reference/filesystem/functions fpassthru.xml Log: fix the path (caused by wrong quotes). user note. http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fpassthru.xml?r1=1.9r2=1.10ty=u Index: phpdoc/en/reference/filesystem/functions/fpassthru.xml diff -u phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.9 phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.10 --- phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.9 Tue Jan 11 14:55:02 2005 +++ phpdoc/en/reference/filesystem/functions/fpassthru.xml Thu Sep 1 11:30:28 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -- refentry id=function.fpassthru refnamediv @@ -55,7 +55,7 @@ ?php // open the file in a binary mode -$name = .\public\dev\img\ok.png; +$name = './img/ok.png'; $fp = fopen($name, 'rb'); // send the right headers
[PHP-DOC] cvs: phpdoc /en/reference/ibm_db2 configure.xml /entities global.ent
dbs Thu Sep 1 12:02:39 2005 EDT Modified files: /phpdoc/entitiesglobal.ent /phpdoc/en/reference/ibm_db2configure.xml Log: Provide link to DB2 application development client. http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.238r2=1.239ty=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.238 phpdoc/entities/global.ent:1.239 --- phpdoc/entities/global.ent:1.238Thu Sep 1 09:55:31 2005 +++ phpdoc/entities/global.ent Thu Sep 1 12:02:39 2005 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.238 2005/09/01 13:55:31 sean Exp $ + $Id: global.ent,v 1.239 2005/09/01 16:02:39 dbs Exp $ Contains global macros for all the XML documents. @@ -117,6 +117,7 @@ !ENTITY url.hyperwave http://www.hyperwave.com/; !ENTITY url.iicm http://www.iicm.edu/; !ENTITY url.ibase http://www.borland.com/interbase/; +!ENTITY url.ibm.db2.client http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html; !ENTITY url.ibm.sdo http://www-128.ibm.com/developerworks/java/library/j-commonj-sdowmt/; !ENTITY url.ibm.sdo.spec ftp://www6.software.ibm.com/software/developer/library/j-commonj-sdowmt/Commonj-SDO-Specification-v2.0.pdf; !ENTITY url.ibmdb2 http://www-306.ibm.com/software/data/db2/; http://cvs.php.net/diff.php/phpdoc/en/reference/ibm_db2/configure.xml?r1=1.3r2=1.4ty=u Index: phpdoc/en/reference/ibm_db2/configure.xml diff -u phpdoc/en/reference/ibm_db2/configure.xml:1.3 phpdoc/en/reference/ibm_db2/configure.xml:1.4 --- phpdoc/en/reference/ibm_db2/configure.xml:1.3 Fri May 6 10:23:44 2005 +++ phpdoc/en/reference/ibm_db2/configure.xml Thu Sep 1 12:02:39 2005 @@ -1,12 +1,14 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- section id=ibm-db2.installation reftitle.install; para To build the ibm_db2 extension, the DB2 application development header files and libraries must be installed on your system. DB2 does not install these by default, so you may have to return to your DB2 installer and add - this option. + this option. The header files are included with the DB2 Application + Development Client freely available for download from the IBM DB2 Universal + Database ulink url=url.ibm.db2.client;support site/ulink. /para para If you add the DB2 application development header files and libraries to
[PHP-DOC] #34337 [NEW]: Typo in oop5 reflection manual
From: [EMAIL PROTECTED] Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Typo in oop5 reflection manual Description: There is a tiny typo in : php.net/manual/en/language.oop5.reflection.php In ReflectionMethod section on the first code-block : ... public moxed invokeArgs(stdclass object, array args) ... -- Edit bug report at http://bugs.php.net/?id=34337edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34337r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34337r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34337r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=34337r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=34337r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34337r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34337r=needscript Try newer version: http://bugs.php.net/fix.php?id=34337r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34337r=support Expected behavior: http://bugs.php.net/fix.php?id=34337r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34337r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34337r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=34337r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34337r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=34337r=dst IIS Stability: http://bugs.php.net/fix.php?id=34337r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34337r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34337r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34337r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34337r=mysqlcfg
[PHP-DOC] #34337 [Opn-Csd]: Typo in oop5 reflection manual
ID: 34337 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: fixed, thanks. Previous Comments: [2005-09-01 22:36:49] [EMAIL PROTECTED] Description: There is a tiny typo in : php.net/manual/en/language.oop5.reflection.php In ReflectionMethod section on the first code-block : ... public moxed invokeArgs(stdclass object, array args) ... -- Edit this bug report at http://bugs.php.net/?id=34337edit=1
[PHP-DOC] cvs: phpdoc /en/language/oop5 reflection.xml
nlopess Thu Sep 1 16:40:55 2005 EDT Modified files: /phpdoc/en/language/oop5reflection.xml Log: fix 34337: typo http://cvs.php.net/diff.php/phpdoc/en/language/oop5/reflection.xml?r1=1.15r2=1.16ty=u Index: phpdoc/en/language/oop5/reflection.xml diff -u phpdoc/en/language/oop5/reflection.xml:1.15 phpdoc/en/language/oop5/reflection.xml:1.16 --- phpdoc/en/language/oop5/reflection.xml:1.15 Fri Jul 22 08:14:08 2005 +++ phpdoc/en/language/oop5/reflection.xml Thu Sep 1 16:40:53 2005 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- sect1 id=language.oop5.reflection titleReflection/title sect2 id=language.oop5.reflection.introduction @@ -494,7 +494,7 @@ public string __toString() public static string export() public mixed invoke(stdclass object, mixed* args) -public moxed invokeArgs(stdclass object, array args) +public mixed invokeArgs(stdclass object, array args) public bool isFinal() public bool isAbstract() public bool isPublic()
[PHP-DOC] #12324 [Ver-Opn]: arg_separator.output broken
ID: 12324 Updated by: [EMAIL PROTECTED] Reported By: voudras at phpking dot org -Status: Verified +Status: Open Bug Type: Documentation problem Operating System: linux -PHP Version: any +PHP Version: Irrelevant Previous Comments: [2001-07-31 20:03:45] [EMAIL PROTECTED] arg_separator.output - defines which separator character is used in the PHP written URLs (ie. transparent sessids) arg_separator.input - defines which separator characrters (yes, there can be many) are used to separate the variables in query string. This can NOT changed in script since the time the script is run, the query string has already been processed. You can only change this in php.ini / httpd.conf / .htaccess files. Reclassified as documentation problem. The ini-directives documentation lacks (not only) these. Also, the documentation should be restructured to show which directives can be change and where. Some kind of table maybe? --Jani [2001-07-31 18:10:23] voudras at phpking dot org This is a tricky lil bug, real easy to overlook. At the following url i have a script with your example code - and it does not function properly: http://wart.phpking.org/test3.php you can see some other examples of how this doesnt work at http://wart.phpking.org/test.php http://wart.phpking.org/test2.php again, this seems to execute fine on windows based php/apache systems (which is probably a good clue as to where the problem exists). - ini_get(arg_separator.input) does not return the 'local' value, but instead the default or php.ini value (this is different than with ini_get( arg_separator.output). Perhpas this is intensional? - the above problem probably contributes to the fact that where the query_string is parsed for variables - it always gets the default arg_separator.* [2001-07-31 11:00:07] [EMAIL PROTECTED] ok... the problem exists in your script at http://wart.phpking.org/test.php but using the EXACT script that I created, it works fine... Please use this one... (EXACTLY) status - closed [2001-07-31 10:55:35] [EMAIL PROTECTED] i have gotten emails from people saying that they have reproduced this error. Can anybody from PHP verify this? I have not been able to reproduce this error (using the script in my last post.) [2001-07-24 09:20:39] [EMAIL PROTECTED] you have your params mixed up. replace arg_separator.output with arg_separator.input and things will work. I modified your script below. This one works as you wanted it to. ?php global $HTTP_POST_VARS,$HTTP_GET_VARS, $HTTP_COOKIE_VARS, $PHP_SELF; ini_set(arg_separator.input, ;); define(a, ini_get(arg_separator.input)); if($HTTP_GET_VARS){ $total = count($HTTP_GET_VARS); echo Displaying GET variables; while(list($key, $val) = each($HTTP_GET_VARS)) { echo br /Key: '$key' Value '$val'; } } echo hr; echo A HREF=\$PHP_SELF?i=am.a.do=one\Click to activate test/a; echo hr; ? 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/12324 -- Edit this bug report at http://bugs.php.net/?id=12324edit=1
[PHP-DOC] #21964 [Ana]: Uploads of a file with size 0 bytes succeed.
ID: 21964 Updated by: [EMAIL PROTECTED] Reported By: johnson at nicusa dot com Status: Analyzed Bug Type: Documentation problem Operating System: ANY PHP Version: Irrelevant New Comment: And iirc, nowadays you don't get any error (if your PHP is not compiled with --enable-debug :) Previous Comments: [2003-02-03 01:01:28] [EMAIL PROTECTED] [EMAIL PROTECTED]: don't try analyzing any bugs as you obviously don't have a clue. For doc people: With PHP 4.3.0 - you can upload 0 byte files and you don't get any error. There is no error code '5'. You get error 4 (UPLOAD_ERR_NO_FILE) if you don't put any file in the input type=file.. field. [2003-02-01 05:06:07] [EMAIL PROTECTED] Actually it looks more than a documentation problem: For now there is not any define(name) for the new error code. Plus it looks it's under a #ifdef that can't happen because of : #undef DEBUG_FILE_UPLOAD in line 39 of main/rfc1867.c. There is the code: #ifdef DEBUG_FILE_UPLOAD if(strlen(filename) 0 total_bytes == 0) { sapi_module.sapi_error(E_WARNING, Uploaded file size 0 - file [%s=%s] not saved, param, filename); cancel_upload = 5; } #endif You can note that usually #ifdef DEBUG_FILE_UPLOAD is used only to hide the sapi_module.sapi_error() function not the whole code. eg: if(strlen(filename) == 0) { #ifdef DEBUG_FILE_UPLOAD sapi_module.sapi_error(E_NOTICE, No file uploaded); #endif cancel_upload = UPLOAD_ERROR_D; } There is also an another point, why a file with 0 byte has to be cancelled? Has it been discussed? According to melvyn: why would php stop me to upload a file of 0 bytes? Take a 'web-ftp' for like a sitebuilder kinda app it would just upload these and create a 0 byte file, which is what I expect it to do for instance: config.php in phpBB2 is 0 bytes outof the box. it needs that to be, for install to work. So now there are some questions, does the code 5 ever happen? If yes is it expected that it stops the upload and why do not give it a real name so we can finally document it. [2003-01-30 11:43:59] [EMAIL PROTECTED] I believe this was fixed in 4.2.3 and later. [2003-01-30 10:47:31] johnson at nicusa dot com I have seen in various places, postings that an uploaded file with size of 0 bytes should now fail. In version 4.2.2 on Solaris 8 it succeeds. Please make clear in the documentation exactly when/in which version of PHP this was changed to throw an error code 5. -- Edit this bug report at http://bugs.php.net/?id=21964edit=1