Re: [PHP-DOC] cvs: phpdoc /en/reference/gettext/functions -.xml
On Wed, 7 Jan 2004, Ken Tossell wrote: kennytWed Jan 7 18:25:57 2004 EDT Added files: /phpdoc/en/reference/gettext/functions-.xml Log: Added reference for _() -- an alias for gettext(). Please remove this. We agreed in the past NOT to document this alias. regards, Derick
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml
didou Thu Jan 8 04:43:27 2004 EDT Modified files: /phpdoc/en/reference/filesystem/functions file-get-contents.xml Log: proto Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.10 phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.11 --- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.10 Sun Jun 29 15:58:30 2003 +++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml Thu Jan 8 04:43:27 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 -- refentry id=function.file-get-contents refnamediv @@ -11,7 +11,7 @@ methodsynopsis typestring/typemethodnamefile_get_contents/methodname methodparamtypestring/typeparameterfilename/parameter/methodparam - methodparam choice=opttypeint/typeparameteruse_include_path/parameter/methodparam + methodparam choice=opttypebool/typeparameteruse_include_path/parameter/methodparam methodparam choice=opttyperesource/typeparametercontext/parameter/methodparam /methodsynopsis para
Re: [PHP-DOC] What tool?
Hi Michael! I'm admiring your documentation and the feature to let users contribute comments. It is very, very useful. What tool are you using to do this? Is it a publicly available tool? We have a lots of tools, some of them are developed for our own needs. You can find all the documentation sources at cvs.php.net including the sources of the system used to build, maintain, distribute, comment the documentation. A howto is available which is aimed at manual contributors, but you might get important information form out of it: http://php.net/dochowto Note that *we are not providing support* for our system, since it is developed for our own needs, and *we are not providing a package* of the system for the same reason. So if you would like to reuse the system, you can get all the source code and the already available help, but otherwise you are on your own. The documentation build system is licensed under the PHP license. Regards, Goba
[PHP-DOC] #26832 [Opn]: PATH_SEPARATOR appearence
ID: 26832 Updated by: [EMAIL PROTECTED] Reported By: jan at horde dot org Status: Open Bug Type:Documentation problem PHP Version: Irrelevant New Comment: In http://php.net/manual/en/ref.dir.php the constant is mentioned. Previous Comments: [2004-01-07 18:57:03] jan at horde dot org Description: The PATH_SEPARATOR constant (dir.c) was introduced with PHP 4.3.0-RC2, but this is nowhere mentioned in the manual. -- Edit this bug report at http://bugs.php.net/?id=26832edit=1
[PHP-DOC] #26832 [Opn]: PATH_SEPARATOR appearence
ID: 26832 User updated by: jan at horde dot org Reported By: jan at horde dot org Status: Open Bug Type:Documentation problem PHP Version: Irrelevant New Comment: Now that I read my bug report again, I see it was an ambigous wording. I meant to say: It is nowhere mentioned that the constant was introduced with PHP 4.3.0 and is not available in earlier versions. Previous Comments: [2004-01-08 11:28:16] [EMAIL PROTECTED] In http://php.net/manual/en/ref.dir.php the constant is mentioned. [2004-01-07 18:57:03] jan at horde dot org Description: The PATH_SEPARATOR constant (dir.c) was introduced with PHP 4.3.0-RC2, but this is nowhere mentioned in the manual. -- Edit this bug report at http://bugs.php.net/?id=26832edit=1
[PHP-DOC] cvs: phpdoc /en/reference/classobj/functions get-object-vars.xml
didou Thu Jan 8 18:36:57 2004 EDT Modified files: /phpdoc/en/reference/classobj/functions get-object-vars.xml Log: calm down :) Index: phpdoc/en/reference/classobj/functions/get-object-vars.xml diff -u phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.4 phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.5 --- phpdoc/en/reference/classobj/functions/get-object-vars.xml:1.4 Mon Jun 16 08:12:08 2003 +++ phpdoc/en/reference/classobj/functions/get-object-vars.xml Thu Jan 8 18:36:57 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -- refentry id=function.get-object-vars refnamediv @@ -85,7 +85,7 @@ /para simpara See also functionget_class_methods/function and - functionget_class_vars/function! + functionget_class_vars/function. /simpara /refsect1 /refentry
[PHP-DOC] cvs: phpdoc /en/reference/classobj/functions get-class-vars.xml
didou Thu Jan 8 18:50:16 2004 EDT Modified files: /phpdoc/en/reference/classobj/functions get-class-vars.xml Log: the example should reflect what the function does, not only the changes of its behaviour ;) Index: phpdoc/en/reference/classobj/functions/get-class-vars.xml diff -u phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.6 phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.7 --- phpdoc/en/reference/classobj/functions/get-class-vars.xml:1.6 Mon Dec 15 11:47:48 2003 +++ phpdoc/en/reference/classobj/functions/get-class-vars.xml Thu Jan 8 18:50:15 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- !-- splitted from ./en/functions/classobj.xml, last change in rev 1.1 -- refentry id=function.get-class-vars refnamediv @@ -40,7 +40,10 @@ // constructor function myclass() { -return(true); +// change some properties +$this-var1 = foo; +$this-var2 = bar; +return true; } }
[PHP-DOC] #26821 [Com]: if(NANC 0) - always evaluates TRUE
ID: 26821 Comment by: skissane at ics dot mq dot edu dot au Reported By: ivo at benetech dot org Status: Open Bug Type: Documentation problem Operating System: Linux / RH 7.3 PHP Version: 4.3.4 New Comment: Vrana: your comment makes no sense. If NANC is converted to 0, then 0 0 would be FALSE, not true. Compare these expressions: NANC 0result TRUE NANC 0 result FALSE 0 0 result FALSE So it seems it is neither converting NANC to an integer 0, nor 0 to a string 0. What actually is going on? The documentation should clarify this. Previous Comments: [2004-01-07 13:20:58] ivo at benetech dot org It also print 0 as expected. if( (int) NANC 0) also evaluates as expected. [2004-01-07 05:53:18] [EMAIL PROTECTED] NANC is converted to 0 for comparison. It works for me as expected. What is printed by the code ?php echo intval(NANC); ? on your system? [2004-01-06 18:08:12] ivo at benetech dot org Documentation needs to be more explicit about php being strongly typed. http://www.php.net/manual/en/language.types.type-juggling.php or http://www.php.net/manual/en/language.types.string.php#language.types.string.conversion [2004-01-06 17:23:58] [EMAIL PROTECTED] RTFM: http://www.php.net/manual/en/types.comparisons.php (never ever compare different types like that) [2004-01-06 16:28:47] ivo at benetech dot org Description: The statement... if(NANC 0) ...always evaluates TRUE. Reproduce code: --- if(NANC 0) { print(should not happen...but does\n); } else { print(should happen...but doesnt\n); } Expected result: echoed to the console: should happen...but doesnt Actual result: -- echoed to the console: should not happen...but does -- Edit this bug report at http://bugs.php.net/?id=26821edit=1