Re: [PHP-DOC] Undocument PHP 4.3
Last usage stats I've found are from 2010 and they don't even mention anything less than 4.3 (I guess because they were 0% even back then): http://webadvent.org/2010/usage-statistics-by-ilia-alshanetsky Last mention of PHP 4.2 and less is from 2008: http://www.nexen.net/chiffres_cles/phpversion/18824-php_statistics_for_october_2008.php#milieu I'm not talking about undocumenting PHP 4.3, just PHP 4.3. Who told you no one uses those versions anymore? Based on what information are you making that statement? It's still very much possible that companies with outdated hardware or software still rely on old versions (don't get me wrong, I'd love to be rid of PHP 4.3, but I don't think we can just yet). On May 19, 2013 3:04 AM, Jakub Vrana vr...@php.net mailto:vr...@php.net wrote: Hi, I would like to undocument PHP 4.3. It means that all mentions like Available since PHP 4.3 would disappear from PHP Manual. Nobody uses these version anymore and it just clutters the documentation. We've done this previously for PHP 4. I'll probably leave the mentions in the DocBook but comment them out. Please let me know your thoughts. Jakub
[PHP-DOC] Re: [DOC-CVS] svn: /phpdoc/ doc-base/trunk/entities/global.ent doc-base/trunk/manual.xml.in en/trunk/reference/suhosin/book.xml en/trunk/reference/suhosin/configure.xml en/trunk/reference/su
There are already another extensions not available via php.net documented in the PHP Manual (sqlsrv and pdo_sqlsrv). So I didn't know that it is a requirement. I'm sorry for the guerilla approach but I really didn't suppose that it will be a problem. Suhosin is still very relevant today because it is a part of PHP package in some Linux distributions. And people are asking questions like: Why can't I redeclare sha256() if there is no such function documented on php.net and I use the default PHP package? Why can't I increase memory_limit in my script? Why can't I process forms with more than 200 fields? I believe that there should be at least something in the PHP Manual to help people finding answers for such questions. Jakub Vrána On Wed, Aug 17, 2011 at 23:28, Jakub Vranavr...@php.net wrote: I've documented the Suhosin extension. I didn't know that there is some discussion required about it. Its not an extension available via php.net in any way what so ever. And not even maintained, or even relevant today. I love your work, and we joke about you on IRC (#php.doc) every once in a while when someone/you makes 30+ bugfixes/commits in a row.. but I completely disagree with this specific commit. -Hannes
[PHP-DOC] Re: [DOC-CVS] svn: /phpdoc/ doc-base/trunk/entities/global.ent doc-base/trunk/manual.xml.in en/trunk/reference/suhosin/book.xml en/trunk/reference/suhosin/configure.xml en/trunk/reference/su
I've documented the Suhosin extension. I didn't know that there is some discussion required about it. Jakub Vrána What are you doing? Did I miss some discussion on this? On Fri, Aug 12, 2011 at 17:15, Jakub Vranavr...@php.net wrote: vranaFri, 12 Aug 2011 15:15:19 + Revision: http://svn.php.net/viewvc?view=revisionrevision=314841 Log: Suhosin extension Changed paths: U phpdoc/doc-base/trunk/entities/global.ent U phpdoc/doc-base/trunk/manual.xml.in A phpdoc/en/trunk/reference/suhosin/ A phpdoc/en/trunk/reference/suhosin/book.xml A phpdoc/en/trunk/reference/suhosin/configure.xml A phpdoc/en/trunk/reference/suhosin/constants.xml A phpdoc/en/trunk/reference/suhosin/functions/ A phpdoc/en/trunk/reference/suhosin/functions/sha256-file.xml A phpdoc/en/trunk/reference/suhosin/functions/sha256.xml A phpdoc/en/trunk/reference/suhosin/functions/suhosin-encrypt-cookie.xml A phpdoc/en/trunk/reference/suhosin/functions/suhosin-get-raw-cookies.xml A phpdoc/en/trunk/reference/suhosin/ini.xml A phpdoc/en/trunk/reference/suhosin/reference.xml A phpdoc/en/trunk/reference/suhosin/setup.xml A phpdoc/en/trunk/reference/suhosin/versions.xml -- PHP Documentation Commits Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DOC] Underscores in xml:id
Are underscores (_) currently allowed in IDs? It was denied for years and all underscores had to be replaced by dashes (-) but now I've found _ in several IDs. Jakub Vrana
[PHP-DOC] Re: License change? Bye bye OPL, hello CC?
I guess everyone listed as Author on http://php.net/manual/manual has to agree to the change so I'm CCing you all :) I agree. Jakub Vrána
Re: [PHP-DOC] Documentation updates as RSS
Keryx Web wrote: Can I get all updates to the manual as an RSS or ATOM feed? Or do I have to implement my own? http://news.php.net/group.php?group=php.doc.cvsformat=rss Jakub Vrana
Re: [PHP-DOC] Re: New skeletons
Hannes Magnusson wrote: http://livedocs.phpdoc.info/manual/en/class.imagickpixeliterator.php New skeletons are good. However I am missing method overview of all extension methods on one page. User may want to find a method for some purpose but don't know to which class it belongs. Class name by methods in class definition is superfluous. E.g. in - class Imagick { bool Imagick::adaptiveBlurImage } - Imagick:: shouldn't be there. Jakub Vrana
Re: [PHP-DOC] EN-Revision comments Vs Docbook revision attributes
Hannes Magnusson wrote: The rules would be the same as CVS Revision, just manually bumped. What about taking similar concept as with PHP source? I.e. marking whether the change is translatable or otherwise in the commit message. Then we can bind some scripts (e.g. scripts/diff_en_rev.php) to these messages. Jakub Vrana
Re: [PHP-DOC] Re: PhD progress update 0.1 release+deploy schedule
Hannes Magnusson wrote: I'm not comfortable in stealing the translated text from Docbook-XSL so I would like to ask our translators to translate that file[1] and send it to me. Wouldn't it be better to put titles directly to the text? It would be more writing and it would be error-prone but there wouldn't be mixed languages like Varovani: This documentation is based on Jakub Vrana
Re: [PHP-DOC] a weekly php.doc update
Philip Olson wrote: This began as a simple note updating everyone with what was talked about in IRC last weekish but now includes a weekly account of [hopefully] everything and will evolve. Thank you for this list, I'm glad to see it. If anybody tracking CVS changes could write a short summary each week too, it would be perfect. Just something like http://devzone.zend.com/article/2486-Zend-Weekly-Summaries-Issue-352#Heading9 :-) Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/language/oop5 reflection.xml
vrana Tue Sep 4 13:36:21 2007 UTC Modified files: /phpdoc/en/language/oop5reflection.xml Log: ReflectionExtension::info() http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/reflection.xml?r1=1.30r2=1.31diff_format=u Index: phpdoc/en/language/oop5/reflection.xml diff -u phpdoc/en/language/oop5/reflection.xml:1.30 phpdoc/en/language/oop5/reflection.xml:1.31 --- phpdoc/en/language/oop5/reflection.xml:1.30 Fri Aug 17 05:06:05 2007 +++ phpdoc/en/language/oop5/reflection.xml Tue Sep 4 13:36:21 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.30 $ -- +!-- $Revision: 1.31 $ -- sect1 xml:id=language.oop5.reflection xmlns=http://docbook.org/ns/docbook; titleReflection/title sect2 xml:id=language.oop5.reflection.introduction @@ -783,6 +783,7 @@ public array getINIEntries() public ReflectionClass[] getClasses() public array getClassNames() +public string info() } ? ]]
[PHP-DOC] cvs: phpdoc /en/reference/errorfunc ini.xml
vrana Tue Sep 4 13:46:40 2007 UTC Modified files: /phpdoc/en/reference/errorfunc ini.xml Log: display_errors=stderr http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/ini.xml?r1=1.34r2=1.35diff_format=u Index: phpdoc/en/reference/errorfunc/ini.xml diff -u phpdoc/en/reference/errorfunc/ini.xml:1.34 phpdoc/en/reference/errorfunc/ini.xml:1.35 --- phpdoc/en/reference/errorfunc/ini.xml:1.34 Wed Jun 20 22:24:23 2007 +++ phpdoc/en/reference/errorfunc/ini.xml Tue Sep 4 13:46:40 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.34 $ -- +!-- $Revision: 1.35 $ -- section xml:id=errorfunc.configuration xmlns=http://docbook.org/ns/docbook; reftitle.runtime; extension.runtime; @@ -189,13 +189,18 @@ varlistentry xml:id=ini.display-errors term parameterdisplay_errors/parameter - typeboolean/type + typestring/type /term listitem para This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user. /para + para + Value stderr sends the errors to literalstderr/literal instead of + literalstdout/literal. The value is available as of PHP 5.2.4. In + earlier versions, this directive was of type typeboolean/type. + /para note para This is a feature to support your development and should never be used
Re: [PHP-DOC] Re: cvs: phpdoc /scripts xml_proto.php
M. Sokolewicz wrote: A lot of people might not know the info is there, but instead of removing it entirely I would suggest using an option to enable/disable it. The skeleton created should still be obvious to people who do not know much (if anything) about the way php-doc is made. So IMO it's not obvious to everyone that the description of that paremeter should go into that para/para section. Adding a switch (defaulting to off if you wish) would make it easier to create one with extra debug info which is useful to write the actual documentation. If people just want a raw skeleton, with _no_ additional manual editing involved, they should run it with a different flag/option/switch. What about just put it inside a comment? listitem\n . para\n . + !-- Its description --\n . /para\n . /listitem\n . Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/reference/swish/functions swish-construct.xml
vrana Thu Aug 23 08:56:21 2007 UTC Modified files: /phpdoc/en/reference/swish/functionsswish-construct.xml Log: Fix proto http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/swish/functions/swish-construct.xml?r1=1.3r2=1.4diff_format=u Index: phpdoc/en/reference/swish/functions/swish-construct.xml diff -u phpdoc/en/reference/swish/functions/swish-construct.xml:1.3 phpdoc/en/reference/swish/functions/swish-construct.xml:1.4 --- phpdoc/en/reference/swish/functions/swish-construct.xml:1.3 Wed Jun 20 22:25:31 2007 +++ phpdoc/en/reference/swish/functions/swish-construct.xml Thu Aug 23 08:56:21 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry xml:id=function.swish-construct xmlns=http://docbook.org/ns/docbook; refnamediv refnameSwish::__construct/refname @@ -9,7 +9,7 @@ reftitle.description; methodsynopsis typevoid/typemethodnameSwish::__construct/methodname - methodparamtypestring/typeparameterstring index_names/parameter/methodparam + methodparamtypestring/typeparameterindex_names/parameter/methodparam /methodsynopsis warn.experimental.func; /refsect1
[PHP-DOC] cvs: phpdoc /en/reference/imagick/imagick queryfontmetrics.xml readimageblob.xml /en/reference/imagick/imagickpixeliterator construct.xml newpixeliterator.xml
vrana Thu Aug 23 09:04:26 2007 UTC Modified files: /phpdoc/en/reference/imagick/imagickqueryfontmetrics.xml readimageblob.xml /phpdoc/en/reference/imagick/imagickpixeliterator construct.xml newpixeliterator.xml Log: Fix protos http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/queryfontmetrics.xml?r1=1.1r2=1.2diff_format=u Index: phpdoc/en/reference/imagick/imagick/queryfontmetrics.xml diff -u phpdoc/en/reference/imagick/imagick/queryfontmetrics.xml:1.1 phpdoc/en/reference/imagick/imagick/queryfontmetrics.xml:1.2 --- phpdoc/en/reference/imagick/imagick/queryfontmetrics.xml:1.1Sun Jul 22 16:35:51 2007 +++ phpdoc/en/reference/imagick/imagick/queryfontmetrics.xmlThu Aug 23 09:04:26 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.imagick-queryfontmetrics refnamediv refnameImagick::queryFontMetrics/refname @@ -10,8 +10,8 @@ reftitle.description; methodsynopsis typearray/typemethodnameImagick::queryFontMetrics/methodname - methodparam choice=opttypeImagickDraw/typeparameterproperties/parameter/methodparam - methodparam choice=opttypestring/typeparametertext/parameter/methodparam + methodparamtypeImagickDraw/typeparameterproperties/parameter/methodparam + methodparamtypestring/typeparametertext/parameter/methodparam methodparam choice=opttypebool/typeparametermultiline/parameter/methodparam /methodsynopsis warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/readimageblob.xml?r1=1.1r2=1.2diff_format=u Index: phpdoc/en/reference/imagick/imagick/readimageblob.xml diff -u phpdoc/en/reference/imagick/imagick/readimageblob.xml:1.1 phpdoc/en/reference/imagick/imagick/readimageblob.xml:1.2 --- phpdoc/en/reference/imagick/imagick/readimageblob.xml:1.1 Wed Jul 25 11:09:47 2007 +++ phpdoc/en/reference/imagick/imagick/readimageblob.xml Thu Aug 23 09:04:26 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.imagick-readimageblob refnamediv refnameImagick::readImageBlob/refname @@ -11,6 +11,7 @@ methodsynopsis typebool/typemethodnameImagick::readImageBlob/methodname methodparamtypestring/typeparameterimage/parameter/methodparam + methodparam choice=opttypestring/typeparameterfilename/parameter/methodparam /methodsynopsis warn.undocumented.func; warn.experimental.func; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml?r1=1.4r2=1.5diff_format=u Index: phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml diff -u phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml:1.4 phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml:1.5 --- phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml:1.4 Wed Jun 20 22:24:44 2007 +++ phpdoc/en/reference/imagick/imagickpixeliterator/construct.xml Thu Aug 23 09:04:26 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.imagickpixeliterator-construct refnamediv refnameImagickPixelIterator::__construct/refname @@ -10,7 +10,7 @@ reftitle.description; methodsynopsis typeImagickPixelIterator/typemethodnameImagickPixelIterator::__construct/methodname - void/ + methodparamtypeImagick/typeparameterwand/parameter/methodparam /methodsynopsis warn.undocumented.func; warn.experimental.func; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml?r1=1.4r2=1.5diff_format=u Index: phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml diff -u phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml:1.4 phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml:1.5 --- phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml:1.4 Wed Jun 20 22:24:44 2007 +++ phpdoc/en/reference/imagick/imagickpixeliterator/newpixeliterator.xml Thu Aug 23 09:04:26 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.imagickpixeliterator-newpixeliterator refnamediv refnameImagickPixelIterator::newPixelIterator/refname @@ -9,8 +9,8 @@ refsect1 role=description reftitle.description; methodsynopsis - typeImagickPixelIterator/typemethodnameImagickPixelIterator::newPixelIterator/methodname - void/ + typebool/typemethodnameImagickPixelIterator::newPixelIterator/methodname +
Re: [PHP-DOC] Re: The end of Livedocs
Michael Wallner wrote: I wasn't too happy about that when reading this mail, but what really pissed me was that the second apparently needed patch (nowdocs, README) is not accessible, at least I cannot connect to the mentioned host. There is a script to convert nowdoc to ''. Jakub Vrana phd_nowdoc.php Description: Binary data
[PHP-DOC] cvs: phpdoc /scripts genfuncsummary.php
vrana Wed Aug 22 11:22:35 2007 UTC Modified files: /phpdoc/scripts genfuncsummary.php Log: WS http://cvs.php.net/viewvc.cgi/phpdoc/scripts/genfuncsummary.php?r1=1.4r2=1.5diff_format=u Index: phpdoc/scripts/genfuncsummary.php diff -u phpdoc/scripts/genfuncsummary.php:1.4 phpdoc/scripts/genfuncsummary.php:1.5 --- phpdoc/scripts/genfuncsummary.php:1.4 Tue Apr 5 19:37:57 2005 +++ phpdoc/scripts/genfuncsummary.php Wed Aug 22 11:22:35 2007 @@ -16,7 +16,7 @@ | Authors:anatoly techtonik [EMAIL PROTECTED]| +--+ - $Id: genfuncsummary.php,v 1.4 2005/04/05 19:37:57 techtonik Exp $ + $Id: genfuncsummary.php,v 1.5 2007/08/22 11:22:35 vrana Exp $ */ @@ -84,7 +84,7 @@ // output source file name echo preg_replace(|^[./]+|, # , $file).\n; $preturn = array(); - $prest = array(); +$prest = array(); $pdesc = array(); foreach($matches[1] as $mk = $mv) { $preturn[] = $matches[1][$mk];
[PHP-DOC] cvs: phpdoc /en/reference/unicode/functions unicode-decode.xml unicode-encode.xml unicode-get-error-mode.xml
vrana Wed Aug 22 15:44:31 2007 UTC Modified files: /phpdoc/en/reference/unicode/functions unicode-decode.xml unicode-encode.xml unicode-get-error-mode.xml Log: Fix protos http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/unicode/functions/unicode-decode.xml?r1=1.3r2=1.4diff_format=u Index: phpdoc/en/reference/unicode/functions/unicode-decode.xml diff -u phpdoc/en/reference/unicode/functions/unicode-decode.xml:1.3 phpdoc/en/reference/unicode/functions/unicode-decode.xml:1.4 --- phpdoc/en/reference/unicode/functions/unicode-decode.xml:1.3Mon Aug 20 04:50:47 2007 +++ phpdoc/en/reference/unicode/functions/unicode-decode.xmlWed Aug 22 15:44:31 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- refentry xml:id=function.unicode-decode xmlns=http://docbook.org/ns/docbook; refnamediv refnameunicode_decode/refname @@ -8,7 +8,7 @@ refsect1 role=description reftitle.description; methodsynopsis - typeunicode /typemethodnameunicode_decode/methodname + typeunicode/typemethodnameunicode_decode/methodname methodparamtypestring/typeparameterinput/parameter/methodparam methodparamtypestring/typeparameterencoding/parameter/methodparam methodparam choice=opttypeint/typeparametererrmode/parameter/methodparam http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/unicode/functions/unicode-encode.xml?r1=1.6r2=1.7diff_format=u Index: phpdoc/en/reference/unicode/functions/unicode-encode.xml diff -u phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.6 phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.7 --- phpdoc/en/reference/unicode/functions/unicode-encode.xml:1.6Mon Aug 20 04:50:47 2007 +++ phpdoc/en/reference/unicode/functions/unicode-encode.xmlWed Aug 22 15:44:31 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- refentry xml:id=function.unicode-encode xmlns=http://docbook.org/ns/docbook; refnamediv refnameunicode_encode/refname @@ -11,7 +11,7 @@ typestring/typemethodnameunicode_encode/methodname methodparamtypeunicode/typeparameterinput/parameter/methodparam methodparamtypestring/typeparameterencoding/parameter/methodparam - methodparamtypeint/typeparametererrmode/parameter/methodparam + methodparam choice=opttypeint/typeparametererrmode/parameter/methodparam /methodsynopsis para Takes a typeunicode/type string and converts it to a string in http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xml?r1=1.1r2=1.2diff_format=u Index: phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xml diff -u phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xml:1.1 phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xml:1.2 --- phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xml:1.1 Mon Aug 20 04:48:50 2007 +++ phpdoc/en/reference/unicode/functions/unicode-get-error-mode.xmlWed Aug 22 15:44:31 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.unicode-get-error-mode refnamediv refnameunicode_get_error_mode/refname @@ -9,7 +9,7 @@ refsect1 role=description reftitle.description; methodsynopsis - typebool/typemethodnameunicode_get_error_mode/methodname + typeint/typemethodnameunicode_get_error_mode/methodname methodparamtypeint/typeparameterdirection/parameter/methodparam /methodsynopsis para
[PHP-DOC] cvs: phpdoc / funcsummary.txt
vrana Wed Aug 22 11:31:40 2007 UTC Modified files: /phpdoc funcsummary.txt Log: Zend functions (requested by Robert Maslo) http://cvs.php.net/viewvc.cgi/phpdoc/funcsummary.txt?r1=1.30r2=1.31diff_format=u Index: phpdoc/funcsummary.txt diff -u phpdoc/funcsummary.txt:1.30 phpdoc/funcsummary.txt:1.31 --- phpdoc/funcsummary.txt:1.30 Thu Jul 12 15:12:36 2007 +++ phpdoc/funcsummary.txt Wed Aug 22 11:31:40 2007 @@ -6188,3 +6188,124 @@ Get all headers from the response bool nsapi_virtual(string uri) Perform an NSAPI sub-request +# Zend/zend_API.c +void display_disabled_function(void) U + Dummy function which displays an error when a disabled function is called. +# Zend/zend_builtin_functions.c +bool class_exists(string classname [, bool autoload]) U + Checks if the class exists +void crash(void) U + Cause the process to crash by copying data to an inaccesible location +string create_function(string args, string code) U + Creates an anonymous function, and returns its name (funny, eh?) +array debug_backtrace(void) U + Return backtrace as array +void debug_print_backtrace(void) U */ + ZEND_FUNCTION(debug_print_backtrace) { zend_execute_data *ptr, *skip; int lineno; zstr function_name; char *filename; zstr class_name; char *call_type; char *include_filename = NULL; zval *arg_array = NULL; void **cur_arg_pos = EG(argument_stack).top_element; void **args = cur_arg_pos; int arg_stack_consistent = 0; int frames_on_stack = 0; int indent = 0; if (ZEND_NUM_ARGS()) { ZEND_WRONG_PARAM_COUNT(); } while (--args EG(argument_stack).elements) { if (*args--) {break; } args -= *(ulong*)args; frames_on_stack++;/* skip args from incomplete frames +bool define(string constant_name, mixed value, boolean case_sensitive=true) U + Define a new constant +bool defined(string constant_name) U + Check whether a constant exists +array each(array arr) U + Return the currently pointed key..value pair in the passed array, and advance the pointer to the next element +int error_reporting(int new_error_level=null) U + Return the current error_reporting level, and if an argument was passed - change to the new level +bool extension_loaded(string extension_name) U + Returns true if the named extension is loaded +mixed func_get_arg(int arg_num) U + Get the $arg_num'th argument that was passed to the function +array func_get_args() U + Get an array of the arguments that were passed to the function +int func_num_args(void) U + Get the number of arguments that were passed to the function +bool function_exists(string function_name) U + Checks if the function exists +string get_class([object object]) U + Retrieves the class name +array get_class_methods(mixed class) U + Returns an array of method names for class or class instance. +array get_class_vars(string class_name) U + Returns an array of default properties of the class. +array get_declared_classes() U + Returns an array of all declared classes. +array get_declared_interfaces() U + Returns an array of all declared interfaces. +array get_defined_constants([bool categorize]) U + Return an array containing the names and values of all defined constants +array get_defined_functions(void) U + Returns an array of all defined functions +array get_defined_vars(void) U + Returns an associative array of names and values of all currently defined variable names (variables in the current scope) +array get_extension_funcs(string extension_name) U + Returns an array with the names of functions belonging to the named extension +array get_included_files(void) U + Returns an array with the file names that were included (includes require and once varieties) +array get_loaded_extensions([bool zend_extensions]) U + Return an array containing names of loaded extensions +array get_object_vars(object obj) U + Returns an array of object properties +string get_parent_class([mixed object]) U + Retrieves the parent class name for object or class or current scope. +string get_resource_type(resource res) U + Get the resource type name for a given resource +bool interface_exists(string classname [, bool autoload]) U + Checks if the class exists +bool is_a(object object, string class_name) U + Returns true if the object is of this class or has this class as one of its parents +bool is_subclass_of(object object, string class_name) U + Returns true if the object has this class as one of its parents +void leak(int num_bytes=3) U + Cause an intentional memory leak, for testing/debugging purposes +bool method_exists(object object, string method) U + Checks if the class method exists +bool property_exists(mixed object_or_class, string property_name) U + Checks if the object or class has a
[PHP-DOC] cvs: phpdoc /en/reference/datetime/functions mktime.xml
vrana Mon Aug 20 10:14:07 2007 UTC Modified files: /phpdoc/en/reference/datetime/functions mktime.xml Log: Year is still limited (bug #37281) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.23r2=1.24diff_format=u Index: phpdoc/en/reference/datetime/functions/mktime.xml diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.23 phpdoc/en/reference/datetime/functions/mktime.xml:1.24 --- phpdoc/en/reference/datetime/functions/mktime.xml:1.23 Wed Jun 20 22:24:18 2007 +++ phpdoc/en/reference/datetime/functions/mktime.xml Mon Aug 20 10:14:07 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- !-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -- refentry xml:id=function.mktime xmlns=http://docbook.org/ns/docbook; refnamediv @@ -84,8 +84,8 @@ with values between 0-69 mapping to 2000-2069 and 70-100 to 1970-2000. On systems where time_t is a 32bit signed integer, as most common today, the valid range for parameteryear/parameter - is somewhere between 1901 and 2038, although this limitation is - overcome as of PHP 5.1.0. + is somewhere between 1901 and 2038. However, before PHP 5.1.0 this + range was limited from 1970 to 2038 on some systems (e.g. Windows). /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/pdo_pgsql reference.xml
vrana Mon Aug 20 10:29:20 2007 UTC Modified files: /phpdoc/en/reference/pdo_pgsql reference.xml Log: bytea (bug #37124) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo_pgsql/reference.xml?r1=1.9r2=1.10diff_format=u Index: phpdoc/en/reference/pdo_pgsql/reference.xml diff -u phpdoc/en/reference/pdo_pgsql/reference.xml:1.9 phpdoc/en/reference/pdo_pgsql/reference.xml:1.10 --- phpdoc/en/reference/pdo_pgsql/reference.xml:1.9 Wed Jun 20 22:25:12 2007 +++ phpdoc/en/reference/pdo_pgsql/reference.xml Mon Aug 20 10:29:20 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- !-- Purpose: database.vendors -- !-- Membership: bundled, external, pecl -- @@ -93,6 +93,11 @@ /variablelist /para +note + para + The literalbytea/literal fields are returned as streams. + /para +/note /refsect1 refsect1 role=examples reftitle.examples;
[PHP-DOC] cvs: phpdoc /en language-snippets.ent
vrana Mon Aug 20 10:45:59 2007 UTC Modified files: /phpdoc/en language-snippets.ent Log: GD fonts are in latin2 (bug #37009) http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.207r2=1.208diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.207 phpdoc/en/language-snippets.ent:1.208 --- phpdoc/en/language-snippets.ent:1.207 Sat Jul 21 04:19:32 2007 +++ phpdoc/en/language-snippets.ent Mon Aug 20 10:45:59 2007 @@ -1,4 +1,4 @@ -!-- $Revision: 1.207 $ -- +!-- $Revision: 1.208 $ -- !-- Keep 'em sorted -- @@ -246,7 +246,7 @@ !ENTITY gd.font.description 'varlistentrytermparameter font/parameter/termlistitemparaCan be 1, 2, 3, 4, 5 for built-in -fonts (where higher numbers corresponding to larger fonts) or any of your +fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of your own font identifiers registered with functionimageloadfont/function. /para/listitem/varlistentry'
[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagettftext.xml
vrana Mon Aug 20 11:00:54 2007 UTC Modified files: /phpdoc/en/reference/image/functionsimagettftext.xml Log: In UTF-8 (bug #37009) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagettftext.xml?r1=1.23r2=1.24diff_format=u Index: phpdoc/en/reference/image/functions/imagettftext.xml diff -u phpdoc/en/reference/image/functions/imagettftext.xml:1.23 phpdoc/en/reference/image/functions/imagettftext.xml:1.24 --- phpdoc/en/reference/image/functions/imagettftext.xml:1.23 Wed Jun 20 22:24:40 2007 +++ phpdoc/en/reference/image/functions/imagettftext.xmlMon Aug 20 11:00:53 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=UTF-8? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- refentry xml:id=function.imagettftext xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; refnamediv refnameimagettftext/refname @@ -121,7 +121,7 @@ termparametertext/parameter/term listitem para - The text string. + The text string in UTF-8 encoding. /para para May include decimal numeric character references (of the form:
Re: [PHP-DOC] Re:
Derick Rethans wrote: Did you also mention that you can use UTF-8 with TrueType fonts? Thanks for head-up. Documented. Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/language/oop5 decon.xml
vrana Mon Aug 20 12:08:06 2007 UTC Modified files: /phpdoc/en/language/oop5decon.xml Log: Only shutdown destructors have sent headers http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/decon.xml?r1=1.14r2=1.15diff_format=u Index: phpdoc/en/language/oop5/decon.xml diff -u phpdoc/en/language/oop5/decon.xml:1.14 phpdoc/en/language/oop5/decon.xml:1.15 --- phpdoc/en/language/oop5/decon.xml:1.14 Fri Aug 17 16:52:25 2007 +++ phpdoc/en/language/oop5/decon.xml Mon Aug 20 12:08:06 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- sect1 xml:id=language.oop5.decon xmlns=http://docbook.org/ns/docbook; titleConstructors and Destructors/title @@ -99,8 +99,8 @@ /para note para - Destructor is called during the script shutdown so headers are always - already sent. + Destructors called during the script shutdown have HTTP headers already + sent. /para /note note
[PHP-DOC] cvs: phpdoc /en/reference/var/functions unset.xml
vrana Mon Aug 20 12:12:10 2007 UTC Modified files: /phpdoc/en/reference/var/functions unset.xml Log: unset($this) is not possible from inside the object (bug #36971) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/unset.xml?r1=1.17r2=1.18diff_format=u Index: phpdoc/en/reference/var/functions/unset.xml diff -u phpdoc/en/reference/var/functions/unset.xml:1.17 phpdoc/en/reference/var/functions/unset.xml:1.18 --- phpdoc/en/reference/var/functions/unset.xml:1.17Wed Jun 20 22:25:34 2007 +++ phpdoc/en/reference/var/functions/unset.xml Mon Aug 20 12:12:10 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.17 $ -- +!-- $Revision: 1.18 $ -- refentry xml:id=function.unset xmlns=http://docbook.org/ns/docbook; refnamediv refnameunset/refname @@ -247,6 +247,12 @@ It is possible to unset even object properties visible in current context. /para /note + note + para +It is not possible to unset literal$this/literal inside an object +method since PHP 5. + /para + /note /refsect1 refsect1 role=seealso
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions dirname.xml
vrana Mon Aug 20 12:21:22 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions dirname.xml Log: Windows examples (bug #36956) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/dirname.xml?r1=1.12r2=1.13diff_format=u Index: phpdoc/en/reference/filesystem/functions/dirname.xml diff -u phpdoc/en/reference/filesystem/functions/dirname.xml:1.12 phpdoc/en/reference/filesystem/functions/dirname.xml:1.13 --- phpdoc/en/reference/filesystem/functions/dirname.xml:1.12 Sun Jul 1 21:31:16 2007 +++ phpdoc/en/reference/filesystem/functions/dirname.xmlMon Aug 20 12:21:22 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.dirname refnamediv refnamedirname/refname @@ -117,7 +117,9 @@ dirname('c:/'); // returned '.' //after PHP 4.3.0 -dirname('c:/'); // returns 'c:' +dirname('c:/x'); // returns 'c:\' +dirname('c:/Temp/x'); // returns 'c:/Temp' +dirname('/x'); // returns '\' ? ]]
[PHP-DOC] cvs: phpdoc /en/reference/mysqli configure.xml
vrana Mon Aug 20 12:53:42 2007 UTC Modified files: /phpdoc/en/reference/mysqli configure.xml Log: Use dev.mysql.com binaries for MySQL 5 (bug #36450) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysqli/configure.xml?r1=1.8r2=1.9diff_format=u Index: phpdoc/en/reference/mysqli/configure.xml diff -u phpdoc/en/reference/mysqli/configure.xml:1.8 phpdoc/en/reference/mysqli/configure.xml:1.9 --- phpdoc/en/reference/mysqli/configure.xml:1.8Wed Jun 20 22:25:00 2007 +++ phpdoc/en/reference/mysqli/configure.xmlMon Aug 20 12:53:42 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- section xml:id=mysqli.installation xmlns=http://docbook.org/ns/docbook; reftitle.install; para xml:id=mysqli.configure @@ -30,6 +30,12 @@ system directory also works (because the system directory is by default in the system's envarPATH/envar), it's not recommended. /para + note + para +For connecting to MySQL 5, it is recommended to download binaries from +link xlink:href=url.mysql.download.lib;url.mysql.download.lib;/link. + /para + /note para As with enabling any PHP extension (such as filenamephp_mysqli.dll/filename), the PHP directive
[PHP-DOC] cvs: phpdoc /en/install ini.xml
vrana Mon Aug 20 13:21:24 2007 UTC Modified files: /phpdoc/en/install ini.xml Log: php_admin_* can be changed in VirtualHost (bug #35261) http://cvs.php.net/viewvc.cgi/phpdoc/en/install/ini.xml?r1=1.19r2=1.20diff_format=u Index: phpdoc/en/install/ini.xml diff -u phpdoc/en/install/ini.xml:1.19 phpdoc/en/install/ini.xml:1.20 --- phpdoc/en/install/ini.xml:1.19 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/install/ini.xml Mon Aug 20 13:21:24 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.19 $ -- +!-- $Revision: 1.20 $ -- chapter xml:id=configuration xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleRuntime Configuration/title @@ -195,7 +195,7 @@ Sets the value of the specified directive. This emphasiscan not be used/emphasis in htaccess; files. Any directive type set with systemitem role=directivephp_admin_value/systemitem - can not be overridden by htaccess; or virtualhost directives. + can not be overridden by htaccess;. To clear a previously set value use literalnone/literal as the value. /para /listitem @@ -211,7 +211,7 @@ Used to set a boolean configuration directive. This emphasiscan not be used/emphasis in htaccess; files. Any directive type set with systemitem role=directivephp_admin_flag/systemitem - can not be overridden by htaccess; or virtualhost directives. + can not be overridden by htaccess;. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/features safe-mode.xml
vrana Mon Aug 20 13:35:08 2007 UTC Modified files: /phpdoc/en/features safe-mode.xml Log: Non-existing files are not resolved in open_basedir (bug #34680) http://cvs.php.net/viewvc.cgi/phpdoc/en/features/safe-mode.xml?r1=1.69r2=1.70diff_format=u Index: phpdoc/en/features/safe-mode.xml diff -u phpdoc/en/features/safe-mode.xml:1.69 phpdoc/en/features/safe-mode.xml:1.70 --- phpdoc/en/features/safe-mode.xml:1.69 Wed Jun 20 22:24:11 2007 +++ phpdoc/en/features/safe-mode.xmlMon Aug 20 13:35:08 2007 @@ -1,6 +1,6 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.69 $ -- -!-- $Revision: 1.69 $ -- +!-- $Revision: 1.70 $ -- +!-- $Revision: 1.70 $ -- chapter xml:id=features.safe-mode xmlns=http://docbook.org/ns/docbook; titleSafe Mode/title @@ -225,7 +225,9 @@ the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction -with a symlink. +with a symlink. If the file doesn't exist then the symlink couldn't be +resolved and the filename is compared to (a resolved) +parameteropen_basedir/parameter. /para para The special value systemitem class=filesystem./systemitem
[PHP-DOC] cvs: phpdoc /en/language/oop5 decon.xml
vrana Mon Aug 20 13:38:56 2007 UTC Modified files: /phpdoc/en/language/oop5decon.xml Log: Different dir in script-shutdown (bug #34206) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/decon.xml?r1=1.15r2=1.16diff_format=u Index: phpdoc/en/language/oop5/decon.xml diff -u phpdoc/en/language/oop5/decon.xml:1.15 phpdoc/en/language/oop5/decon.xml:1.16 --- phpdoc/en/language/oop5/decon.xml:1.15 Mon Aug 20 12:08:06 2007 +++ phpdoc/en/language/oop5/decon.xml Mon Aug 20 13:38:56 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- sect1 xml:id=language.oop5.decon xmlns=http://docbook.org/ns/docbook; titleConstructors and Destructors/title @@ -100,7 +100,8 @@ note para Destructors called during the script shutdown have HTTP headers already - sent. + sent. The working directory in the script shutdown phase can be different + with some SAPIs (e.g. Apache). /para /note note
[PHP-DOC] cvs: phpdoc /en/reference/mssql/functions mssql-query.xml
vrana Mon Aug 20 13:45:31 2007 UTC Modified files: /phpdoc/en/reference/mssql/functionsmssql-query.xml Log: Free multiple results before next query (bug #33877) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-query.xml?r1=1.10r2=1.11diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-query.xml diff -u phpdoc/en/reference/mssql/functions/mssql-query.xml:1.10 phpdoc/en/reference/mssql/functions/mssql-query.xml:1.11 --- phpdoc/en/reference/mssql/functions/mssql-query.xml:1.10Wed Jun 20 22:24:59 2007 +++ phpdoc/en/reference/mssql/functions/mssql-query.xml Mon Aug 20 13:45:31 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- refentry xml:id=function.mssql-query xmlns=http://docbook.org/ns/docbook; refnamediv refnamemssql_query/refname @@ -68,6 +68,17 @@ /para /refsect1 + refsect1 role=notes + reftitle.notes; + note + para +If the query returns multiple results then it is necessary to fetch all +results by functionmssql_next_result/function or free the results by +functionmssql_free_result/function before executing next query. + /para + /note + /refsect1 + refsect1 role=seealso reftitle.seealso; para
[PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-get.xml
vrana Mon Aug 20 13:49:39 2007 UTC Modified files: /phpdoc/en/reference/info/functions ini-get.xml Log: Examples are now above notes http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/ini-get.xml?r1=1.17r2=1.18diff_format=u Index: phpdoc/en/reference/info/functions/ini-get.xml diff -u phpdoc/en/reference/info/functions/ini-get.xml:1.17 phpdoc/en/reference/info/functions/ini-get.xml:1.18 --- phpdoc/en/reference/info/functions/ini-get.xml:1.17 Thu Aug 16 12:31:30 2007 +++ phpdoc/en/reference/info/functions/ini-get.xml Mon Aug 20 13:49:39 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.17 $ -- +!-- $Revision: 1.18 $ -- refentry xml:id=function.ini-get xmlns=http://docbook.org/ns/docbook; refnamediv refnameini_get/refname @@ -117,7 +117,7 @@ functionini_get/function will return the exact string stored in the php.ini; file and emphasisNOT/emphasis its typeinteger/type equivalent. Attempting normal arithmetic functions on these values -will not have otherwise expected results. The example below shows one +will not have otherwise expected results. The example above shows one way to convert shorthand notation into bytes, much like how the PHP source does it. /para
[PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-get.xml
vrana Mon Aug 20 14:02:44 2007 UTC Modified files: /phpdoc/en/reference/info/functions ini-get.xml Log: Booleans can be returned as literal strings (bug #33443) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/ini-get.xml?r1=1.18r2=1.19diff_format=u Index: phpdoc/en/reference/info/functions/ini-get.xml diff -u phpdoc/en/reference/info/functions/ini-get.xml:1.18 phpdoc/en/reference/info/functions/ini-get.xml:1.19 --- phpdoc/en/reference/info/functions/ini-get.xml:1.18 Mon Aug 20 13:49:39 2007 +++ phpdoc/en/reference/info/functions/ini-get.xml Mon Aug 20 14:02:44 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.18 $ -- +!-- $Revision: 1.19 $ -- refentry xml:id=function.ini-get xmlns=http://docbook.org/ns/docbook; refnamediv refnameini_get/refname @@ -106,6 +106,7 @@ A boolean ini value of literaloff/literal will be returned as an empty string or 0 while a boolean ini value of literalon/literal will be returned as 1. +The function can also return the literal string of INI value. /para /note note
[PHP-DOC] cvs: phpdoc /en/reference/ingres-ii/functions ingres-error.xml ingres-errsqlstate.xml
vrana Mon Aug 20 14:49:06 2007 UTC Modified files: /phpdoc/en/reference/ingres-ii/functionsingres-error.xml ingres-errsqlstate.xml Log: Returns NULL in case of error (bug #42327) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/functions/ingres-error.xml?r1=1.5r2=1.6diff_format=u Index: phpdoc/en/reference/ingres-ii/functions/ingres-error.xml diff -u phpdoc/en/reference/ingres-ii/functions/ingres-error.xml:1.5 phpdoc/en/reference/ingres-ii/functions/ingres-error.xml:1.6 --- phpdoc/en/reference/ingres-ii/functions/ingres-error.xml:1.5Sat Aug 11 06:06:31 2007 +++ phpdoc/en/reference/ingres-ii/functions/ingres-error.xmlMon Aug 20 14:49:05 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- refentry xml:id=function.ingres-error xmlns=http://docbook.org/ns/docbook; refnamediv refnameingres_error/refname @@ -70,7 +70,7 @@ $error_text = ingres_error(); -if ( is_null($error_text) ) { +if (!is_null($error_text)) { echo An error occured - . $error_text; } ? http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml?r1=1.6r2=1.7diff_format=u Index: phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml diff -u phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml:1.6 phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml:1.7 --- phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml:1.6 Sat Aug 11 06:06:31 2007 +++ phpdoc/en/reference/ingres-ii/functions/ingres-errsqlstate.xml Mon Aug 20 14:49:05 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- refentry xml:id=function.ingres-errsqlstate xmlns=http://docbook.org/ns/docbook; refnamediv refnameingres_errsqlstate/refname @@ -71,7 +71,7 @@ $error_sqlstate = ingres_errsqlstate(); -if ( is_null($error_sqlstate) ) { +if (!is_null($error_sqlstate)) { echo An error occured - . $error_sqlstate; } ?
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions parse-ini-file.xml
vrana Mon Aug 20 14:32:20 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions parse-ini-file.xml Log: Keys and sections are evaluated as integers only before PHP 5.2.4 (bug #29306) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/parse-ini-file.xml?r1=1.27r2=1.28diff_format=u Index: phpdoc/en/reference/filesystem/functions/parse-ini-file.xml diff -u phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.27 phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.28 --- phpdoc/en/reference/filesystem/functions/parse-ini-file.xml:1.27Thu Aug 2 13:12:18 2007 +++ phpdoc/en/reference/filesystem/functions/parse-ini-file.xml Mon Aug 20 14:32:19 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.27 $ -- +!-- $Revision: 1.28 $ -- !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.87 -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.parse-ini-file refnamediv @@ -139,7 +139,7 @@ /example /para para - Keys and section names consisting from numbers are evaluated as PHP + Before PHP 5.2.4, keys and section names consisting from numbers are evaluated as PHP link linkend=language.types.integerintegers/link thus numbers starting by 0 are evaluated as octals and numbers starting by 0x are evaluated as hexadecimals.
Re: [PHP-DOC] The end of Livedocs
Hannes Magnusson wrote: What did I do? Created a one-ring-rules-them-all rendering system, PhD. PhD ([PH]P based [D]ocbook rendering system) currently is capable of producing phpweb, chunked html and bightml - all in one run - in less than 3minutes, using ~20mb ram (peaks at 22mb). Sounds great! I'm looking forward for the version without the need of a PHP patch :-). I've looked at the nowdoc - it seems to me it saves only a couple of backslashes. Is this new format really necessary? Think also about the editors - my editor highlights heredoc well but nowdoc of course not. If the patch will be accepted, the editor will catch up shortly but every older version (and more conservative editors) will highlight the code wrongly. I use Livedocs because it let me build just one file which is great for manual authors. Is this possible also with PhD? Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/language/oop5 basic.xml
vrana Fri Aug 17 06:17:58 2007 UTC Modified files: /phpdoc/en/language/oop5basic.xml Log: new self (bug #37105) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/basic.xml?r1=1.23r2=1.24diff_format=u Index: phpdoc/en/language/oop5/basic.xml diff -u phpdoc/en/language/oop5/basic.xml:1.23 phpdoc/en/language/oop5/basic.xml:1.24 --- phpdoc/en/language/oop5/basic.xml:1.23 Mon Aug 6 08:41:56 2007 +++ phpdoc/en/language/oop5/basic.xml Fri Aug 17 06:17:58 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- sect1 xml:id=language.oop5.basic xmlns=http://docbook.org/ns/docbook; titleThe Basics/title @@ -146,6 +146,10 @@ /programlisting /example para +In the class context, it is possible to create a new object by +literalnew self/literal and literalnew parent/literal. + /para + para When assigning an already created instance of a class to a new variable, the new variable will access the same instance as the object that was assigned. This behaviour is the same when passing instances to a function. A copy
[PHP-DOC] cvs: phpdoc /en/reference/soap/functions soap-soapclient-construct.xml soap-soapserver-construct.xml
vrana Fri Aug 17 08:05:34 2007 UTC Modified files: /phpdoc/en/reference/soap/functions soap-soapclient-construct.xml soap-soapserver-construct.xml Log: Document typemap (bug #41490) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml?r1=1.10r2=1.11diff_format=u Index: phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml diff -u phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.10 phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.11 --- phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.10 Thu Aug 16 09:41:58 2007 +++ phpdoc/en/reference/soap/functions/soap-soapclient-construct.xmlFri Aug 17 08:05:34 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- refentry xml:id=function.soap-soapclient-construct xmlns=http://docbook.org/ns/docbook; refnamediv refnameSoapClient-__construct()/refname @@ -108,9 +108,18 @@ is available. /para para + The literaltypemap/literal option is an array of type mappings. + Type mapping is an array with keys literaltype_name/literal, + literaltype_ns/literal (namespace URI), literalfrom_xml/literal + (callback accepting one string parameter) and literalto_xml/literal + (callback accepting one object parameter). + /para + para + /para + para Other options are literalstream_context/literal, - literaltypemap/literal, literalfeatures/literal, - literalcache_wsdl/literal and literaluser_agent/literal. + literalfeatures/literal, literalcache_wsdl/literal and + literaluser_agent/literal. /para /listitem /varlistentry http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml?r1=1.5r2=1.6diff_format=u Index: phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml diff -u phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.5 phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.6 --- phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.5 Thu Aug 16 09:38:34 2007 +++ phpdoc/en/reference/soap/functions/soap-soapserver-construct.xmlFri Aug 17 08:05:34 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- refentry xml:id=function.soap-soapserver-construct xmlns=http://docbook.org/ns/docbook; refnamediv refnameSoapServer-__construct()/refname @@ -43,11 +43,22 @@ Allow setting a default SOAP version (literalsoap_version/literal), internal character encoding (literalencoding/literal), and actor URI (literalactor/literal). + /para + para The literalclassmap/literal option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. - Other options are literaltypemap/literal, - literalfeatures/literal and literalcache_wsdl/literal. + /para + para + The literaltypemap/literal option is an array of type mappings. + Type mapping is an array with keys literaltype_name/literal, + literaltype_ns/literal (namespace URI), literalfrom_xml/literal + (callback accepting one string parameter) and literalto_xml/literal + (callback accepting one object parameter). + /para + para + Other options are literalfeatures/literal and + literalcache_wsdl/literal. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/language control-structures.xml
vrana Fri Aug 17 08:10:04 2007 UTC Modified files: /phpdoc/en/language control-structures.xml Log: Magic constants in included file from a function (bug #41487) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.144r2=1.145diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.144 phpdoc/en/language/control-structures.xml:1.145 --- phpdoc/en/language/control-structures.xml:1.144 Thu Aug 9 09:34:18 2007 +++ phpdoc/en/language/control-structures.xml Fri Aug 17 08:10:04 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.144 $ -- +!-- $Revision: 1.145 $ -- chapter xml:id=language.control-structures xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleControl Structures/title @@ -1350,6 +1350,9 @@ then all of the code contained in the called file will behave as though it had been defined inside that function. So, it will follow the variable scope of that function. + An exception to this rule are link + linkend=language.constants.predefinedmagic constants/link which are + evaluated by the parser before the include occurs. /simpara para example
[PHP-DOC] cvs: phpdoc /en/language control-structures.xml
vrana Fri Aug 17 08:29:05 2007 UTC Modified files: /phpdoc/en/language control-structures.xml Log: Grammar (bug #41460) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.145r2=1.146diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.145 phpdoc/en/language/control-structures.xml:1.146 --- phpdoc/en/language/control-structures.xml:1.145 Fri Aug 17 08:10:04 2007 +++ phpdoc/en/language/control-structures.xml Fri Aug 17 08:29:05 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.145 $ -- +!-- $Revision: 1.146 $ -- chapter xml:id=language.control-structures xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleControl Structures/title @@ -1300,8 +1300,10 @@ in PHP versions prior to PHP 4.3.5. Since this version, it does. /simpara simpara -Files for including are first looked in include_path relative to the current working directory -and then in the directory of the current script. E.g. if your include_path +Files for including are first looked for in each include_path entry +relative to the current working directory, and then in the directory of +current script. +E.g. if your include_path is literallibraries/literal, current working directory is filename class=directory/www//filename, you included filenameinclude/a.php/filename and there is literalinclude b.php/literal in that file, filenameb.php/filename is first looked in filename class=directory/www/libraries//filename
[PHP-DOC] cvs: phpdoc /en/language operators.xml
vrana Fri Aug 17 09:02:50 2007 UTC Modified files: /phpdoc/en/language operators.xml Log: Other numerical string comparison example (bug #41384) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/operators.xml?r1=1.116r2=1.117diff_format=u Index: phpdoc/en/language/operators.xml diff -u phpdoc/en/language/operators.xml:1.116 phpdoc/en/language/operators.xml:1.117 --- phpdoc/en/language/operators.xml:1.116 Thu Aug 16 13:30:51 2007 +++ phpdoc/en/language/operators.xmlFri Aug 17 09:02:49 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.116 $ -- +!-- $Revision: 1.117 $ -- chapter xml:id=language.operators xmlns=http://docbook.org/ns/docbook; titleOperators/title simpara @@ -545,6 +545,7 @@ ?php var_dump(0 == a); // 0 == 0 - true var_dump(1 == 01); // 1 == 1 - true +var_dump(1 == 1e0); // 1 == 1 - true switch (a) { case 0:
[PHP-DOC] cvs: phpdoc /en/language types.xml
vrana Fri Aug 17 09:16:49 2007 UTC Modified files: /phpdoc/en/language types.xml Log: Markup http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.183r2=1.184diff_format=u Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.183 phpdoc/en/language/types.xml:1.184 --- phpdoc/en/language/types.xml:1.183 Thu Aug 16 14:17:15 2007 +++ phpdoc/en/language/types.xmlFri Aug 17 09:16:49 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.183 $ -- +!-- $Revision: 1.184 $ -- chapter xml:id=language.types xmlns=http://docbook.org/ns/docbook; titleTypes/title @@ -1372,7 +1372,7 @@ /para para A varnamekey/varname may be either an - literalinteger/literal or a typestring/type. If a key is + typeinteger/type or a typestring/type. If a key is the standard representation of an typeinteger/type, it will be interpreted as such (i.e. literal8/literal will be interpreted as literal8/literal, while
[PHP-DOC] cvs: phpdoc /en/language types.xml
vrana Fri Aug 17 09:25:14 2007 UTC Modified files: /phpdoc/en/language types.xml Log: [] with other types (bug #41195) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.184r2=1.185diff_format=u Index: phpdoc/en/language/types.xml diff -u phpdoc/en/language/types.xml:1.184 phpdoc/en/language/types.xml:1.185 --- phpdoc/en/language/types.xml:1.184 Fri Aug 17 09:16:49 2007 +++ phpdoc/en/language/types.xmlFri Aug 17 09:25:14 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.184 $ -- +!-- $Revision: 1.185 $ -- chapter xml:id=language.types xmlns=http://docbook.org/ns/docbook; titleTypes/title @@ -1140,6 +1140,12 @@ /programlisting /example /para + note + para + Accessing by literal[]/literal or literal{}/literal to + variables of other type silently returns null;. + /para + /note /sect3 /sect2!-- end syntax --
[PHP-DOC] cvs: phpdoc /en/reference/mnogosearch configure.xml
vrana Fri Aug 17 09:34:00 2007 UTC Modified files: /phpdoc/en/reference/mnogosearchconfigure.xml Log: Lives in PECL (bug #41161) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mnogosearch/configure.xml?r1=1.4r2=1.5diff_format=u Index: phpdoc/en/reference/mnogosearch/configure.xml diff -u phpdoc/en/reference/mnogosearch/configure.xml:1.4 phpdoc/en/reference/mnogosearch/configure.xml:1.5 --- phpdoc/en/reference/mnogosearch/configure.xml:1.4 Wed Jun 20 22:24:57 2007 +++ phpdoc/en/reference/mnogosearch/configure.xml Fri Aug 17 09:34:00 2007 @@ -1,6 +1,6 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- -section xml:id=mnogosearch.installation xmlns=http://docbook.org/ns/docbook; +!-- $Revision: 1.5 $ -- +section xml:id=mnogosearch.installation xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; reftitle.install; para In order to have these functions available, you must compile PHP with @@ -11,6 +11,10 @@ path by default. If you installed mnoGosearch at a different location you should specify it: option role=configure--with-mnogosearch=DIR/option. /para + para + pecl.info; + link xlink:href=url.pecl.package;mnogosearchurl.pecl.package;mnogosearch/link. + /para note para PHP contains built-in MySQL access library, which can be used to
[PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-ping.xml
vrana Fri Aug 17 09:51:56 2007 UTC Modified files: /phpdoc/en/reference/mysql/functionsmysql-ping.xml Log: Automatic reconnection since MySQL 5.0.13 (bug #41083) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-ping.xml?r1=1.9r2=1.10diff_format=u Index: phpdoc/en/reference/mysql/functions/mysql-ping.xml diff -u phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.9 phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.10 --- phpdoc/en/reference/mysql/functions/mysql-ping.xml:1.9 Wed Jun 20 22:25:00 2007 +++ phpdoc/en/reference/mysql/functions/mysql-ping.xml Fri Aug 17 09:51:56 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry xml:id=function.mysql-ping xmlns=http://docbook.org/ns/docbook; refnamediv refnamemysql_ping/refname @@ -19,6 +19,11 @@ long while, to check whether or not the server has closed the connection and reconnect if necessary. /para + note + para +Since MySQL 5.0.13, automatic reconnection feature is disabled. + /para + /note /refsect1 refsect1 role=parameters
[PHP-DOC] cvs: phpdoc /en/appendices resources.xml
vrana Fri Aug 17 09:56:05 2007 UTC Modified files: /phpdoc/en/appendices resources.xml Log: opendir() and popen() are return stream (bug #41122) http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/resources.xml?r1=1.36r2=1.37diff_format=u Index: phpdoc/en/appendices/resources.xml diff -u phpdoc/en/appendices/resources.xml:1.36 phpdoc/en/appendices/resources.xml:1.37 --- phpdoc/en/appendices/resources.xml:1.36 Wed Jun 20 22:24:10 2007 +++ phpdoc/en/appendices/resources.xml Fri Aug 17 09:56:04 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.36 $ -- +!-- $Revision: 1.37 $ -- appendix xml:id=resource xmlns=http://docbook.org/ns/docbook; titleList of Resource Types/title para @@ -2154,7 +2154,7 @@ entry /entry /row row -entrydir/entry +entrystream/entry entry functionopendir/function /entry @@ -2198,7 +2198,7 @@ entryFile handle/entry /row row -entrypipe/entry +entrystream/entry entry functionpopen/function /entry
[PHP-DOC] cvs: phpdoc /en/reference/mbstring/functions mb-list-encodings-alias-names.xml mb-list-encodings.xml mb-list-mime-names.xml
vrana Fri Aug 17 10:06:26 2007 UTC Removed files: /phpdoc/en/reference/mbstring/functions mb-list-encodings-alias-names.xml mb-list-encodings.xml mb-list-mime-names.xml Log: Doesn't exist yet (bug #41070)
[PHP-DOC] cvs: phpdoc /en/reference/filter reference.xml
vrana Fri Aug 17 10:55:55 2007 UTC Modified files: /phpdoc/en/reference/filter reference.xml Log: Scheme and Host requires not used (bug #40675) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filter/reference.xml?r1=1.11r2=1.12diff_format=u Index: phpdoc/en/reference/filter/reference.xml diff -u phpdoc/en/reference/filter/reference.xml:1.11 phpdoc/en/reference/filter/reference.xml:1.12 --- phpdoc/en/reference/filter/reference.xml:1.11 Wed Jun 20 22:24:28 2007 +++ phpdoc/en/reference/filter/reference.xmlFri Aug 17 10:55:55 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- Purpose: basic.vartype -- !-- Membership: pecl -- !-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -- @@ -92,8 +92,6 @@ entryvalidate_url/entry entry/entry entry - constantFILTER_FLAG_SCHEME_REQUIRED/constant, - constantFILTER_FLAG_HOST_REQUIRED/constant, constantFILTER_FLAG_PATH_REQUIRED/constant, constantFILTER_FLAG_QUERY_REQUIRED/constant /entry
[PHP-DOC] cvs: phpdoc /en/reference/dom reference.xml
vrana Fri Aug 17 10:40:40 2007 UTC Modified files: /phpdoc/en/reference/domreference.xml Log: Uses UTF-8 (bug #41000) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/reference.xml?r1=1.30r2=1.31diff_format=u Index: phpdoc/en/reference/dom/reference.xml diff -u phpdoc/en/reference/dom/reference.xml:1.30 phpdoc/en/reference/dom/reference.xml:1.31 --- phpdoc/en/reference/dom/reference.xml:1.30 Sat Jun 30 14:14:03 2007 +++ phpdoc/en/reference/dom/reference.xml Fri Aug 17 10:40:40 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.30 $ -- +!-- $Revision: 1.31 $ -- !-- Purpose: xml -- !-- Membership: bundled, external -- @@ -17,6 +17,13 @@ para For PHP 4, use link linkend=ref.domxmlDOM XML/link. /para +note + para + DOM extension uses UTF-8 encoding. Use functionutf8_encode/function + and functionutf8_decode/function to work with texts in ISO-8859-1 + encoding or link linkend=ref.iconvIconv/link for other encodings. + /para +/note /section section xml:id=dom.installation
[PHP-DOC] cvs: phpdoc /en/reference/info ini.xml
vrana Fri Aug 17 11:03:28 2007 UTC Modified files: /phpdoc/en/reference/info ini.xml Log: gpc escapes also $_ENV in PHP 4 (bug #40586) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/ini.xml?r1=1.18r2=1.19diff_format=u Index: phpdoc/en/reference/info/ini.xml diff -u phpdoc/en/reference/info/ini.xml:1.18 phpdoc/en/reference/info/ini.xml:1.19 --- phpdoc/en/reference/info/ini.xml:1.18 Wed Jun 20 22:24:47 2007 +++ phpdoc/en/reference/info/ini.xmlFri Aug 17 11:03:28 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.18 $ -- +!-- $Revision: 1.19 $ -- section xml:id=info.configuration xmlns=http://docbook.org/ns/docbook; reftitle.runtime; extension.runtime; @@ -252,6 +252,13 @@ /para note para + In PHP 4, also link + linkend=reserved.variables.environmentvarname$_ENV/varname/link + variables are escaped. + /para + /note + note + para If the link linkend=ini.magic-quotes-sybase magic_quotes_sybase/link directive is also ON it will completely override magic_quotes_gpc. Having both directives
[PHP-DOC] cvs: phpdoc /en/reference/zlib/functions gztell.xml
vrana Fri Aug 17 11:17:12 2007 UTC Modified files: /phpdoc/en/reference/zlib/functions gztell.xml Log: Works with uncompressed stream (bug #39874) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zlib/functions/gztell.xml?r1=1.5r2=1.6diff_format=u Index: phpdoc/en/reference/zlib/functions/gztell.xml diff -u phpdoc/en/reference/zlib/functions/gztell.xml:1.5 phpdoc/en/reference/zlib/functions/gztell.xml:1.6 --- phpdoc/en/reference/zlib/functions/gztell.xml:1.5 Wed Jun 20 22:25:41 2007 +++ phpdoc/en/reference/zlib/functions/gztell.xml Fri Aug 17 11:17:12 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- refentry xml:id=function.gztell xmlns=http://docbook.org/ns/docbook; refnamediv refnamegztell/refname @@ -13,7 +13,7 @@ /methodsynopsis para Gets the position of the given file pointer; i.e., its offset into the - file stream. + uncompressed file stream. /para /refsect1 refsect1 role=parameters
[PHP-DOC] cvs: phpdoc /en/language/oop5 decon.xml
vrana Fri Aug 17 11:12:05 2007 UTC Modified files: /phpdoc/en/language/oop5decon.xml Log: Exception can't be thrown from destructor only at the end of the script (bug #40024) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/decon.xml?r1=1.12r2=1.13diff_format=u Index: phpdoc/en/language/oop5/decon.xml diff -u phpdoc/en/language/oop5/decon.xml:1.12 phpdoc/en/language/oop5/decon.xml:1.13 --- phpdoc/en/language/oop5/decon.xml:1.12 Wed Jun 20 22:24:13 2007 +++ phpdoc/en/language/oop5/decon.xml Fri Aug 17 11:12:05 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- sect1 xml:id=language.oop5.decon xmlns=http://docbook.org/ns/docbook; titleConstructors and Destructors/title @@ -105,7 +105,8 @@ /note note para - Attempting to throw an exception from a destructor causes a fatal error. + Attempting to throw an exception from a destructor (called in the time of + script termination) causes a fatal error. /para /note /sect2
[PHP-DOC] cvs: phpdoc /en/reference/session/functions session-set-save-handler.xml
vrana Fri Aug 17 11:37:47 2007 UTC Modified files: /phpdoc/en/reference/session/functions session-set-save-handler.xml Log: CWD change (bug #39619) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/functions/session-set-save-handler.xml?r1=1.20r2=1.21diff_format=u Index: phpdoc/en/reference/session/functions/session-set-save-handler.xml diff -u phpdoc/en/reference/session/functions/session-set-save-handler.xml:1.20 phpdoc/en/reference/session/functions/session-set-save-handler.xml:1.21 --- phpdoc/en/reference/session/functions/session-set-save-handler.xml:1.20 Wed Jun 20 22:25:22 2007 +++ phpdoc/en/reference/session/functions/session-set-save-handler.xml Fri Aug 17 11:37:47 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.20 $ -- +!-- $Revision: 1.21 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.session-set-save-handler refnamediv refnamesession_set_save_handler/refname @@ -193,6 +193,13 @@ destructor to solve this chicken and egg problem. /para /warning + warning + para +Current working directory is changed with some SAPIs if session is +closed in the script termination. It is possible to close the session +earlier with functionsession_write_close/function. + /para + /warning /refsect1 refsect1 role=seealso
[PHP-DOC] cvs: phpdoc /en/language/oop5 basic.xml
vrana Fri Aug 17 11:58:09 2007 UTC Modified files: /phpdoc/en/language/oop5basic.xml Log: Only static members can be accessed by parent (bug #39517) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/basic.xml?r1=1.24r2=1.25diff_format=u Index: phpdoc/en/language/oop5/basic.xml diff -u phpdoc/en/language/oop5/basic.xml:1.24 phpdoc/en/language/oop5/basic.xml:1.25 --- phpdoc/en/language/oop5/basic.xml:1.24 Fri Aug 17 06:17:58 2007 +++ phpdoc/en/language/oop5/basic.xml Fri Aug 17 11:58:08 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.24 $ -- +!-- $Revision: 1.25 $ -- sect1 xml:id=language.oop5.basic xmlns=http://docbook.org/ns/docbook; titleThe Basics/title @@ -199,7 +199,7 @@ The inherited methods and members can be overridden, unless the parent class has defined a method as link linkend=language.oop5.finalfinal/link, by redeclaring them with the same name defined in the parent class. -It is possible to access the overridden methods or members by +It is possible to access the overridden methods or static members by referencing them with link linkend=language.oop5.paamayim-nekudotayimparent::/link /para example
Re: [PHP-DOC] Splitting the phpdoc@ mailing list
Hannes Magnusson wrote: In fact, you mark replies to CVS commits as read automatically with this rule so you never notice if anyone replies to it :) No as long as e-mail client used for reply uses Re: ;-). Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/language exceptions.xml
vrana Fri Aug 17 12:31:46 2007 UTC Modified files: /phpdoc/en/language exceptions.xml Log: Better example (bug #39258) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/exceptions.xml?r1=1.3r2=1.4diff_format=u Index: phpdoc/en/language/exceptions.xml diff -u phpdoc/en/language/exceptions.xml:1.3 phpdoc/en/language/exceptions.xml:1.4 --- phpdoc/en/language/exceptions.xml:1.3 Wed Jun 20 22:24:12 2007 +++ phpdoc/en/language/exceptions.xml Fri Aug 17 12:31:46 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.3 $ -- +!-- $Revision: 1.4 $ -- chapter xml:id=language.exceptions xmlns=http://docbook.org/ns/docbook; titleExceptions/title @@ -30,13 +30,16 @@ programlisting role=php ![CDATA[ ?php -try { -$error = 'Always throw this error'; -throw new Exception($error); - -// Code following an exception is not executed. -echo 'Never executed'; +function inverse($x) { +if (!$x) { +throw new Exception('Division by zero.'); +} +else return 1/$x; +} +try { +echo inverse(5) . \n; +echo inverse(0) . \n; } catch (Exception $e) { echo 'Caught exception: ', $e-getMessage(), \n; } @@ -46,6 +49,14 @@ ? ]] /programlisting +example.outputs; +screen +![CDATA[ +0.2 +Division by zero. +Hello World +]] +/screen /example sect1 xml:id=language.exceptions.extending
[PHP-DOC] cvs: phpdoc /en/reference/outcontrol/functions ob-start.xml
vrana Fri Aug 17 15:56:28 2007 UTC Modified files: /phpdoc/en/reference/outcontrol/functions ob-start.xml Log: Special values for chunk_size (bug #39120) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/outcontrol/functions/ob-start.xml?r1=1.23r2=1.24diff_format=u Index: phpdoc/en/reference/outcontrol/functions/ob-start.xml diff -u phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.23 phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.24 --- phpdoc/en/reference/outcontrol/functions/ob-start.xml:1.23 Wed Jun 20 22:25:10 2007 +++ phpdoc/en/reference/outcontrol/functions/ob-start.xml Fri Aug 17 15:56:28 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.ob-start refnamediv refnameob_start/refname @@ -109,6 +109,8 @@ If the optional parameter parameterchunk_size/parameter is passed, the callback function is called on every first newline after parameterchunk_size/parameter bytes of output. + Default value 0 means that the function is called only in the end, + other special value 1 sets parameterchunk_size/parameter to 4096. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/appendices migration52.xml
vrana Fri Aug 17 16:23:48 2007 UTC Modified files: /phpdoc/en/appendices migration52.xml Log: Oracle 10 required on Windows (bug #39399) http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration52.xml?r1=1.24r2=1.25diff_format=u Index: phpdoc/en/appendices/migration52.xml diff -u phpdoc/en/appendices/migration52.xml:1.24 phpdoc/en/appendices/migration52.xml:1.25 --- phpdoc/en/appendices/migration52.xml:1.24 Wed Jun 20 22:24:10 2007 +++ phpdoc/en/appendices/migration52.xmlFri Aug 17 16:23:48 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.24 $ -- +!-- $Revision: 1.25 $ -- appendix xml:id=migration52 xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleMigrating from PHP 5.1.x to PHP 5.2.x/title @@ -186,6 +186,12 @@ /listitem listitem simpara + link linkend=ref.oci8Oracle extension/link requires at least Oracle + 10 on Windows. +/simpara + /listitem + listitem +simpara Added RFC2397 (literaldata:/literal stream) support. /simpara simpara
[PHP-DOC] cvs: phpdoc /en/reference/dom/functions dom-domdocument-load.xml
vrana Fri Aug 17 16:27:35 2007 UTC Modified files: /phpdoc/en/reference/dom/functions dom-domdocument-load.xml Log: Issues E_STRICT if called statically (bug #39057) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-load.xml?r1=1.12r2=1.13diff_format=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-load.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.12 phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.13 --- phpdoc/en/reference/dom/functions/dom-domdocument-load.xml:1.12 Wed Jun 20 22:24:21 2007 +++ phpdoc/en/reference/dom/functions/dom-domdocument-load.xml Fri Aug 17 16:27:35 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- refentry xml:id=function.dom-domdocument-load xmlns=http://docbook.org/ns/docbook; refnamediv refnameDOMDocument-load()/refname @@ -39,7 +39,8 @@ refsect1 role=returnvalues reftitle.returnvalues; para - return.success; If called statically, returns a DOMDocument. + return.success; If called statically, returns a DOMDocument but also + causes an E_STRICT warning. /para /refsect1 refsect1 role=examples
[PHP-DOC] cvs: phpdoc /en/reference/math/functions max.xml min.xml
vrana Fri Aug 17 16:34:41 2007 UTC Modified files: /phpdoc/en/reference/math/functions max.xml min.xml Log: Convert non-numeric strings to 0 only if compared to integer (bug #38883) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/max.xml?r1=1.11r2=1.12diff_format=u Index: phpdoc/en/reference/math/functions/max.xml diff -u phpdoc/en/reference/math/functions/max.xml:1.11 phpdoc/en/reference/math/functions/max.xml:1.12 --- phpdoc/en/reference/math/functions/max.xml:1.11 Wed Jun 20 22:24:51 2007 +++ phpdoc/en/reference/math/functions/max.xml Fri Aug 17 16:34:40 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.max refnamediv refnamemax/refname @@ -27,7 +27,7 @@ note para PHP will evaluate a non-numeric typestring/type as -literal0/literal, but still return the string if it's seen as the +literal0/literal if compared to typeinteger/type, but still return the string if it's seen as the numerically highest value. If multiple arguments evaluate to literal0/literal, functionmax/function will return a numeric literal0/literal if given, else the alphabetical highest string http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/min.xml?r1=1.10r2=1.11diff_format=u Index: phpdoc/en/reference/math/functions/min.xml diff -u phpdoc/en/reference/math/functions/min.xml:1.10 phpdoc/en/reference/math/functions/min.xml:1.11 --- phpdoc/en/reference/math/functions/min.xml:1.10 Wed Jun 20 22:24:51 2007 +++ phpdoc/en/reference/math/functions/min.xml Fri Aug 17 16:34:41 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.min refnamediv refnamemin/refname @@ -25,7 +25,7 @@ note para PHP will evaluate a non-numeric typestring/type as -literal0/literal, but still return the string if it's seen as the +literal0/literal if compared to typeinteger/type, but still return the string if it's seen as the numerically lowest value. If multiple arguments evaluate to literal0/literal, functionmin/function will return the lowest alphanumerical string value if any strings are given, else a numeric
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions is-readable.xml
vrana Fri Aug 17 16:39:41 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions is-readable.xml Log: Safe mode aware (bug #38724) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/is-readable.xml?r1=1.14r2=1.15diff_format=u Index: phpdoc/en/reference/filesystem/functions/is-readable.xml diff -u phpdoc/en/reference/filesystem/functions/is-readable.xml:1.14 phpdoc/en/reference/filesystem/functions/is-readable.xml:1.15 --- phpdoc/en/reference/filesystem/functions/is-readable.xml:1.14 Wed Jun 20 22:24:27 2007 +++ phpdoc/en/reference/filesystem/functions/is-readable.xmlFri Aug 17 16:39:41 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.is-readable refnamediv refnameis_readable/refname @@ -67,7 +67,7 @@ para Keep in mind that PHP may be accessing the file as the user id that the web server runs as (often 'nobody'). Safe mode - limitations are not taken into account. + limitations are not taken into account before PHP 5.1.5. /para note.clearstatcache; tip.fopen-wrapper.stat;
[PHP-DOC] cvs: phpdoc /en/reference/mssql reference.xml
vrana Fri Aug 17 16:30:56 2007 UTC Modified files: /phpdoc/en/reference/mssql reference.xml Log: Copying allows just named pipes (bug #38965) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/reference.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/mssql/reference.xml diff -u phpdoc/en/reference/mssql/reference.xml:1.13 phpdoc/en/reference/mssql/reference.xml:1.14 --- phpdoc/en/reference/mssql/reference.xml:1.13Wed Jun 20 22:24:59 2007 +++ phpdoc/en/reference/mssql/reference.xml Fri Aug 17 16:30:56 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- !-- Purpose: database.vendors -- !-- Membership: bundled, external -- @@ -27,7 +27,8 @@ filenamentwdblib.dll/filename from filename\winnt\system32/filename on the server to filename\winnt\system32/filename on the PHP box. - Copying filenamentwdblib.dll/filename will only provide access. + Copying filenamentwdblib.dll/filename will only provide access + through named pipes. Configuration of the client will require installation of all the tools. /para para
[PHP-DOC] cvs: phpdoc /en/reference/mhash reference.xml
vrana Fri Aug 17 16:44:33 2007 UTC Modified files: /phpdoc/en/reference/mhash reference.xml Log: Obsoleted by Hash (bug #38629) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mhash/reference.xml?r1=1.9r2=1.10diff_format=u Index: phpdoc/en/reference/mhash/reference.xml diff -u phpdoc/en/reference/mhash/reference.xml:1.9 phpdoc/en/reference/mhash/reference.xml:1.10 --- phpdoc/en/reference/mhash/reference.xml:1.9 Wed Jun 20 22:24:54 2007 +++ phpdoc/en/reference/mhash/reference.xml Fri Aug 17 16:44:32 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- !-- Purpose: mathcrypto.crypto -- !-- Membership: bundled, external -- @@ -26,6 +26,7 @@ note para pecl.moved-ver;5.3.0. + This extension is obsoleted by link linkend=ref.hashHash/link. /para /note /section
[PHP-DOC] cvs: phpdoc /en/reference/apc ini.xml
vrana Fri Aug 17 16:49:52 2007 UTC Modified files: /phpdoc/en/reference/apcini.xml Log: apc.slam_defense deprecated (bug #38603) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/apc/ini.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/apc/ini.xml diff -u phpdoc/en/reference/apc/ini.xml:1.13 phpdoc/en/reference/apc/ini.xml:1.14 --- phpdoc/en/reference/apc/ini.xml:1.13Wed Jun 20 22:24:13 2007 +++ phpdoc/en/reference/apc/ini.xml Fri Aug 17 16:49:52 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- section xml:id=apc.configuration xmlns=http://docbook.org/ns/docbook; reftitle.runtime; extension.runtime; @@ -420,6 +420,9 @@ against cache slams. Setting this to literal0/literal disables this feature. /para + para + Deprecated by link linkend=ini.apc.write-lockapc.write_lock/link. + /para /listitem /varlistentry varlistentry xml:id=ini.apc.file-update-protection
[PHP-DOC] cvs: phpdoc /en/appendices wrappers.xml
vrana Fri Aug 17 20:19:55 2007 UTC Modified files: /phpdoc/en/appendices wrappers.xml Log: file:// not in PHP 4 (bug #37901) http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/wrappers.xml?r1=1.72r2=1.73diff_format=u Index: phpdoc/en/appendices/wrappers.xml diff -u phpdoc/en/appendices/wrappers.xml:1.72 phpdoc/en/appendices/wrappers.xml:1.73 --- phpdoc/en/appendices/wrappers.xml:1.72 Wed Jun 20 22:24:10 2007 +++ phpdoc/en/appendices/wrappers.xml Fri Aug 17 20:19:54 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.72 $ -- +!-- $Revision: 1.73 $ -- appendix xml:id=wrappers xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleList of Supported Protocols/Wrappers/title para @@ -13,7 +13,7 @@ section xml:id=wrappers.file titleFilesystem/title - simparaAll versions of PHP. Explicitly using filenamefile:///filename since PHP 4.3.0/simpara + simparaAll versions of PHP. Explicitly using filenamefile:///filename since PHP 5.0.0./simpara itemizedlist listitemsimparafilename/path/to/file.ext/filename/simpara/listitem
[PHP-DOC] cvs: phpdoc /en/reference/imap/functions imap-open.xml imap-reopen.xml
vrana Fri Aug 17 20:36:04 2007 UTC Modified files: /phpdoc/en/reference/imap/functions imap-open.xml imap-reopen.xml Log: OP_EXPUNGE used only in imap_reopen (bug #37876) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-open.xml?r1=1.14r2=1.15diff_format=u Index: phpdoc/en/reference/imap/functions/imap-open.xml diff -u phpdoc/en/reference/imap/functions/imap-open.xml:1.14 phpdoc/en/reference/imap/functions/imap-open.xml:1.15 --- phpdoc/en/reference/imap/functions/imap-open.xml:1.14 Wed Jun 20 22:24:47 2007 +++ phpdoc/en/reference/imap/functions/imap-open.xmlFri Aug 17 20:36:04 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.14 $ -- +!-- $Revision: 1.15 $ -- refentry xml:id=function.imap-open xmlns=http://docbook.org/ns/docbook; refnamediv refnameimap_open/refname @@ -234,11 +234,6 @@ /listitem listitem simpara - constantOP_EXPUNGE/constant - Silently expunge recycle stream - /simpara -/listitem -listitem - simpara constantOP_SECURE/constant - Don't do non-secure authentication /simpara /listitem http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imap/functions/imap-reopen.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/imap/functions/imap-reopen.xml diff -u phpdoc/en/reference/imap/functions/imap-reopen.xml:1.13 phpdoc/en/reference/imap/functions/imap-reopen.xml:1.14 --- phpdoc/en/reference/imap/functions/imap-reopen.xml:1.13 Wed Jun 20 22:24:47 2007 +++ phpdoc/en/reference/imap/functions/imap-reopen.xml Fri Aug 17 20:36:04 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- refentry xml:id=function.imap-reopen xmlns=http://docbook.org/ns/docbook; refnamediv refnameimap_reopen/refname @@ -59,6 +59,11 @@ /listitem listitem simpara + constantOP_EXPUNGE/constant - Silently expunge recycle stream + /simpara +/listitem +listitem + simpara constantCL_EXPUNGE/constant - Expunge mailbox automatically upon mailbox close (see also functionimap_delete/function and functionimap_expunge/function)
[PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-setopt.xml
vrana Fri Aug 17 21:00:52 2007 UTC Modified files: /phpdoc/en/reference/curl/functions curl-setopt.xml Log: File posting (bug #37760) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/functions/curl-setopt.xml?r1=1.26r2=1.27diff_format=u Index: phpdoc/en/reference/curl/functions/curl-setopt.xml diff -u phpdoc/en/reference/curl/functions/curl-setopt.xml:1.26 phpdoc/en/reference/curl/functions/curl-setopt.xml:1.27 --- phpdoc/en/reference/curl/functions/curl-setopt.xml:1.26 Wed Jun 20 22:24:17 2007 +++ phpdoc/en/reference/curl/functions/curl-setopt.xml Fri Aug 17 21:00:52 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.26 $ -- +!-- $Revision: 1.27 $ -- refentry xml:id=function.curl-setopt xmlns=http://docbook.org/ns/docbook; refnamediv refnamecurl_setopt/refname @@ -782,6 +782,7 @@ entryconstantCURLOPT_POSTFIELDS/constant/entry entry The full data to post in a HTTP POST operation. +To post a file, prepend a filename with literal@/literal. /entry entry /entry
[PHP-DOC] cvs: phpdoc /en/reference/exec reference.xml
vrana Fri Aug 17 21:09:18 2007 UTC Modified files: /phpdoc/en/reference/exec reference.xml Log: Close files with lock before background execution (bug #37574) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exec/reference.xml?r1=1.12r2=1.13diff_format=u Index: phpdoc/en/reference/exec/reference.xml diff -u phpdoc/en/reference/exec/reference.xml:1.12 phpdoc/en/reference/exec/reference.xml:1.13 --- phpdoc/en/reference/exec/reference.xml:1.12 Wed Jun 20 22:24:25 2007 +++ phpdoc/en/reference/exec/reference.xml Fri Aug 17 21:09:18 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- !-- Purpose: fileprocess.process -- !-- Membership: core -- @@ -44,6 +44,16 @@ no.constants; /section + section xml:id=exec.notes +reftitle.notes; +warning + para + Open files with lock (especially open sessions) should be closed before + executing a program in the bacground. + /para +/warning + /section + section xml:id=exec.seealso reftitle.seealso; para
[PHP-DOC] cvs: phpdoc /en/reference/exec reference.xml
vrana Fri Aug 17 21:09:32 2007 UTC Modified files: /phpdoc/en/reference/exec reference.xml Log: Typo http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/exec/reference.xml?r1=1.13r2=1.14diff_format=u Index: phpdoc/en/reference/exec/reference.xml diff -u phpdoc/en/reference/exec/reference.xml:1.13 phpdoc/en/reference/exec/reference.xml:1.14 --- phpdoc/en/reference/exec/reference.xml:1.13 Fri Aug 17 21:09:18 2007 +++ phpdoc/en/reference/exec/reference.xml Fri Aug 17 21:09:32 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.13 $ -- +!-- $Revision: 1.14 $ -- !-- Purpose: fileprocess.process -- !-- Membership: core -- @@ -49,7 +49,7 @@ warning para Open files with lock (especially open sessions) should be closed before - executing a program in the bacground. + executing a program in the background. /para /warning /section
[PHP-DOC] cvs: phpdoc /en/reference/xml/functions xml-set-character-data-handler.xml
vrana Fri Aug 17 21:21:56 2007 UTC Modified files: /phpdoc/en/reference/xml/functions xml-set-character-data-handler.xml Log: When the handler is called (bug #37543) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml?r1=1.8r2=1.9diff_format=u Index: phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml diff -u phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml:1.8 phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml:1.9 --- phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml:1.8 Wed Jun 20 22:25:36 2007 +++ phpdoc/en/reference/xml/functions/xml-set-character-data-handler.xml Fri Aug 17 21:21:56 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.xml-set-character-data-handler refnamediv refnamexml_set_character_data_handler/refname @@ -68,6 +68,11 @@ /variablelist /para para + Character data handler is called for every piece of a text in the XML + document. It can be called multiple times inside each fragment (e.g. + for non-ASCII strings). + /para + para If a handler function is set to an empty string, or false;, the handler in question is disabled. /para
[PHP-DOC] cvs: phpdoc /en/language/oop5 magic.xml
vrana Fri Aug 17 21:31:07 2007 UTC Modified files: /phpdoc/en/language/oop5magic.xml Log: __toString() is called only in string contexts (bug #37537) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/magic.xml?r1=1.17r2=1.18diff_format=u Index: phpdoc/en/language/oop5/magic.xml diff -u phpdoc/en/language/oop5/magic.xml:1.17 phpdoc/en/language/oop5/magic.xml:1.18 --- phpdoc/en/language/oop5/magic.xml:1.17 Thu Aug 16 14:16:20 2007 +++ phpdoc/en/language/oop5/magic.xml Fri Aug 17 21:31:07 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.17 $ -- +!-- $Revision: 1.18 $ -- sect1 xml:id=language.oop5.magic xmlns=http://docbook.org/ns/docbook; titleMagic Methods/title para @@ -143,6 +143,9 @@ It is worth noting that before PHP 5.2.0 the literal__toString/literal method was only called when it was directly combined with functionecho/function or functionprint/function. +Since PHP 5.2.0, it is called in any string context (e.g. in +functionprintf/function with literal%s/literal modifier) but not +in other types contexts (e.g. with literal%d/literal modifier). Since PHP 5.2.0, converting objects without literal__toString/literal method to string would cause constantE_RECOVERABLE_ERROR/constant. /para
[PHP-DOC] cvs: phpdoc /en/language control-structures.xml
vrana Fri Aug 17 21:58:33 2007 UTC Modified files: /phpdoc/en/language control-structures.xml Log: Remove foreach references outside note http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.146r2=1.147diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.146 phpdoc/en/language/control-structures.xml:1.147 --- phpdoc/en/language/control-structures.xml:1.146 Fri Aug 17 08:29:05 2007 +++ phpdoc/en/language/control-structures.xml Fri Aug 17 21:58:32 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.146 $ -- +!-- $Revision: 1.147 $ -- chapter xml:id=language.control-structures xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleControl Structures/title @@ -549,13 +549,15 @@ array. Assuming the foreach loop runs to completion, the array's internal pointer will be at the end of the array. /para - para - As of PHP 5, you can easily modify array's elements by preceding - literal$value/literal with amp;. This will assign - link linkend=language.referencesreference/link instead of copying - the value. - informalexample - programlisting role=php +/note + /para + para +As of PHP 5, you can easily modify array's elements by preceding +literal$value/literal with amp;. This will assign +link linkend=language.referencesreference/link instead of copying +the value. +informalexample + programlisting role=php ![CDATA[ ?php $arr = array(1, 2, 3, 4); @@ -565,12 +567,10 @@ // $arr is now array(2, 4, 6, 8) ? ]] - /programlisting - /informalexample - This is possible only if iterated array can be referenced (i.e. is - variable). - /para -/note + /programlisting +/informalexample +This is possible only if iterated array can be referenced (i.e. is +variable). /para para note
[PHP-DOC] cvs: phpdoc /en/language control-structures.xml
vrana Fri Aug 17 22:03:55 2007 UTC Modified files: /phpdoc/en/language control-structures.xml Log: Unset foreach references manually (bug #37410) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/control-structures.xml?r1=1.147r2=1.148diff_format=u Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.147 phpdoc/en/language/control-structures.xml:1.148 --- phpdoc/en/language/control-structures.xml:1.147 Fri Aug 17 21:58:32 2007 +++ phpdoc/en/language/control-structures.xml Fri Aug 17 22:03:53 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.147 $ -- +!-- $Revision: 1.148 $ -- chapter xml:id=language.control-structures xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleControl Structures/title @@ -565,6 +565,7 @@ $value = $value * 2; } // $arr is now array(2, 4, 6, 8) +unset($value); // break the reference with the last element ? ]] /programlisting @@ -572,6 +573,13 @@ This is possible only if iterated array can be referenced (i.e. is variable). /para + warning +para + Reference of a literal$value/literal and the last array element + remain even after the literalforeach/literal loop. It is recommended + to destroy it by functionunset/function. +/para + /warning para note para
[PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDOStatement-bindParam.xml PDOStatement-bindValue.xml
vrana Fri Aug 17 17:02:13 2007 UTC Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-bindParam.xml PDOStatement-bindValue.xml Log: data_type defaults to PHP native type (bug #38389) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml?r1=1.15r2=1.16diff_format=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.15 phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.16 --- phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xml:1.15 Wed Jun 20 22:25:12 2007 +++ phpdoc/en/reference/pdo/functions/PDOStatement-bindParam.xmlFri Aug 17 17:02:13 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- refentry xml:id=function.PDOStatement-bindParam xmlns=http://docbook.org/ns/docbook; refnamediv refnamePDOStatement-bindParam()/refname @@ -66,7 +66,9 @@ listitem para Explicit data type for the parameter using the PDO::PARAM_* -constants. To return an INOUT parameter from a stored procedure, +constants. +Defaults to PHP native type. +To return an INOUT parameter from a stored procedure, use the bitwise OR operator to set the PDO::PARAM_INPUT_OUTPUT bits for the parameterdata_type/parameter parameter. /para http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml?r1=1.7r2=1.8diff_format=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.7 phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.8 --- phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xml:1.7Wed Jun 20 22:25:12 2007 +++ phpdoc/en/reference/pdo/functions/PDOStatement-bindValue.xmlFri Aug 17 17:02:13 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.7 $ -- +!-- $Revision: 1.8 $ -- refentry xml:id=function.PDOStatement-bindValue xmlns=http://docbook.org/ns/docbook; refnamediv refnamePDOStatement-bindValue()/refname @@ -54,6 +54,7 @@ para Explicit data type for the parameter using the PDO::PARAM_* constants. +Defaults to PHP native type. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/language oop.xml
vrana Thu Aug 16 08:42:11 2007 UTC Modified files: /phpdoc/en/language oop.xml Log: Explicitly define var (bug #42285) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop.xml?r1=1.68r2=1.69diff_format=u Index: phpdoc/en/language/oop.xml diff -u phpdoc/en/language/oop.xml:1.68 phpdoc/en/language/oop.xml:1.69 --- phpdoc/en/language/oop.xml:1.68 Wed Jun 20 22:24:12 2007 +++ phpdoc/en/language/oop.xml Thu Aug 16 08:42:11 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.68 $ -- +!-- $Revision: 1.69 $ -- chapter xml:id=language.oop xmlns=http://docbook.org/ns/docbook; titleClasses and Objects (PHP 4)/title @@ -7,7 +7,9 @@ titleliteralclass/literal/title para A class is a collection of variables and functions working with -these variables. A class is defined using the following syntax: +these variables. Variables are defined by literalvar/literal and +functions by literalfunction/literal. A class is defined using the +following syntax: /para para informalexample
[PHP-DOC] cvs: phpdoc /en/appendices migration5.xml
vrana Thu Aug 16 08:51:44 2007 UTC Modified files: /phpdoc/en/appendices migration5.xml Log: Parent's function is never constructor in PHP 5 (bug #42256) http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration5.xml?r1=1.53r2=1.54diff_format=u Index: phpdoc/en/appendices/migration5.xml diff -u phpdoc/en/appendices/migration5.xml:1.53 phpdoc/en/appendices/migration5.xml:1.54 --- phpdoc/en/appendices/migration5.xml:1.53Tue Aug 7 07:54:50 2007 +++ phpdoc/en/appendices/migration5.xml Thu Aug 16 08:51:43 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.53 $ -- +!-- $Revision: 1.54 $ -- appendix xml:id=migration5 xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleMigrating from PHP 4 to PHP 5/title @@ -889,6 +889,11 @@ linkend=language.oop5Language Reference/link. /para para +In PHP 5, function with the name of a class is called as a constructor +only if defined in the same class. In PHP 4, it is called also if defined +in the parent class. + /para + para See also the link linkend=ini.zend.ze1-compatibility-mode zend.ze1_compatibility_mode/link directive for compatability with PHP 4.
[PHP-DOC] cvs: phpdoc /en/reference/spl/functions spl-autoload-register.xml
vrana Thu Aug 16 08:57:11 2007 UTC Modified files: /phpdoc/en/reference/spl/functions spl-autoload-register.xml Log: autoload_function is callback in principle (bug #42221) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/spl/functions/spl-autoload-register.xml?r1=1.5r2=1.6diff_format=u Index: phpdoc/en/reference/spl/functions/spl-autoload-register.xml diff -u phpdoc/en/reference/spl/functions/spl-autoload-register.xml:1.5 phpdoc/en/reference/spl/functions/spl-autoload-register.xml:1.6 --- phpdoc/en/reference/spl/functions/spl-autoload-register.xml:1.5 Wed Jun 20 22:25:26 2007 +++ phpdoc/en/reference/spl/functions/spl-autoload-register.xml Thu Aug 16 08:57:11 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.5 $ -- +!-- $Revision: 1.6 $ -- refentry xml:id=function.spl-autoload-register xmlns=http://docbook.org/ns/docbook; refnamediv refnamespl_autoload_register/refname @@ -9,7 +9,7 @@ titleDescription/title methodsynopsis typebool/typemethodnamespl_autoload_register/methodname - methodparam choice=opttypemixed/typeparameterautoload_function/parameter/methodparam + methodparam choice=opttypecallback/typeparameterautoload_function/parameter/methodparam /methodsynopsis para Register a function with the spl provided __autoload stack. If the stack
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions fputcsv.xml
vrana Thu Aug 16 09:00:27 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions fputcsv.xml Log: Terminates line (bug #42202) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/fputcsv.xml?r1=1.6r2=1.7diff_format=u Index: phpdoc/en/reference/filesystem/functions/fputcsv.xml diff -u phpdoc/en/reference/filesystem/functions/fputcsv.xml:1.6 phpdoc/en/reference/filesystem/functions/fputcsv.xml:1.7 --- phpdoc/en/reference/filesystem/functions/fputcsv.xml:1.6Sun Jul 1 21:31:16 2007 +++ phpdoc/en/reference/filesystem/functions/fputcsv.xmlThu Aug 16 09:00:27 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.fputcsv refnamediv refnamefputcsv/refname @@ -17,8 +17,8 @@ /methodsynopsis para functionfputcsv/function formats a line (passed as a - parameterfields/parameter array) as CSV and write it to the specified - file parameterhandle/parameter. + parameterfields/parameter array) as CSV and write it (terminated by a + newline) to the specified file parameterhandle/parameter. /para /refsect1
[PHP-DOC] cvs: phpdoc /en/reference/xmlrpc/functions xmlrpc-set-type.xml
vrana Thu Aug 16 09:21:29 2007 UTC Modified files: /phpdoc/en/reference/xmlrpc/functions xmlrpc-set-type.xml Log: Document (bug #42190) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xml?r1=1.6r2=1.7diff_format=u Index: phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xml diff -u phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.6 phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.7 --- phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xml:1.6Wed Jun 20 22:25:37 2007 +++ phpdoc/en/reference/xmlrpc/functions/xmlrpc-set-type.xmlThu Aug 16 09:21:29 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.6 $ -- +!-- $Revision: 1.7 $ -- refentry xml:id=function.xmlrpc-set-type xmlns=http://docbook.org/ns/docbook; refnamediv refnamexmlrpc_set_type/refname @@ -13,8 +13,47 @@ methodparamtypestring/typeparametertype/parameter/methodparam /methodsynopsis warn.experimental.func; - warn.undocumented.func; /refsect1 + + refsect1 role=parameters + reftitle.parameters; + para + variablelist +varlistentry + termparametervalue/parameter/term + listitem + para + Value to set the type + /para + /listitem +/varlistentry +varlistentry + termparametertype/parameter/term + listitem + para + 'base64' or 'datetime' + /para + /listitem +/varlistentry + /variablelist + /para + /refsect1 + + refsect1 role=returnvalues + reftitle.returnvalues; + para + return.success; + If successful, parametervalue/parameter is converted to an object. + /para + /refsect1 + + refsect1 role=errors + reftitle.errors; + para + Issues E_WARNING with type unsupported by XMLRPC. + /para + /refsect1 + /refentry !-- Keep this comment at the end of the file
[PHP-DOC] cvs: phpdoc /en/reference/soap/functions soap-soapserver-construct.xml
vrana Thu Aug 16 09:38:34 2007 UTC Modified files: /phpdoc/en/reference/soap/functions soap-soapserver-construct.xml Log: Other options http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml?r1=1.4r2=1.5diff_format=u Index: phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml diff -u phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.4 phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.5 --- phpdoc/en/reference/soap/functions/soap-soapserver-construct.xml:1.4 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/soap/functions/soap-soapserver-construct.xmlThu Aug 16 09:38:34 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry xml:id=function.soap-soapserver-construct xmlns=http://docbook.org/ns/docbook; refnamediv refnameSoapServer-__construct()/refname @@ -46,6 +46,8 @@ The literalclassmap/literal option can be used to map some WSDL types to PHP classes. This option must be an array with WSDL types as keys and names of PHP classes as values. + Other options are literaltypemap/literal, + literalfeatures/literal and literalcache_wsdl/literal. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/soap/functions soap-soapclient-construct.xml
vrana Thu Aug 16 09:41:58 2007 UTC Modified files: /phpdoc/en/reference/soap/functions soap-soapclient-construct.xml Log: Other options http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml?r1=1.9r2=1.10diff_format=u Index: phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml diff -u phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.9 phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.10 --- phpdoc/en/reference/soap/functions/soap-soapclient-construct.xml:1.9 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/soap/functions/soap-soapclient-construct.xmlThu Aug 16 09:41:58 2007 @@ -1,5 +1,5 @@ ?xml version='1.0' encoding='iso-8859-1'? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry xml:id=function.soap-soapclient-construct xmlns=http://docbook.org/ns/docbook; refnamediv refnameSoapClient-__construct()/refname @@ -107,6 +107,11 @@ link linkend=ini.default-socket-timeoutdefault_socket_timeout/link setting is available. /para + para + Other options are literalstream_context/literal, + literaltypemap/literal, literalfeatures/literal, + literalcache_wsdl/literal and literaluser_agent/literal. + /para /listitem /varlistentry /variablelist
[PHP-DOC] cvs: phpdoc /en/language variables.xml
vrana Thu Aug 16 09:57:06 2007 UTC Modified files: /phpdoc/en/language variables.xml Log: Simplify and secure the example (bug #42176) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/variables.xml?r1=1.95r2=1.96diff_format=u Index: phpdoc/en/language/variables.xml diff -u phpdoc/en/language/variables.xml:1.95 phpdoc/en/language/variables.xml:1.96 --- phpdoc/en/language/variables.xml:1.95 Wed Jun 20 22:24:12 2007 +++ phpdoc/en/language/variables.xmlThu Aug 16 09:57:06 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.95 $ -- +!-- $Revision: 1.96 $ -- chapter xml:id=language.variables xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titleVariables/title @@ -944,15 +944,13 @@ programlisting role=php ![CDATA[ ?php -if (isset($_POST['action']) $_POST['action'] == 'submitted') { +if ($_POST) { echo 'pre'; -print_r($_POST); -echo 'a href='. $_SERVER['PHP_SELF'] .'Please try again/a'; - +echo htmlspecialchars(print_r($_POST, true)); echo '/pre'; -} else { +} ? -form action=?php echo $_SERVER['PHP_SELF']; ? method=post +form action= method=post Name: input type=text name=personal[name] /br / Email: input type=text name=personal[email] /br / Beer: br / @@ -961,12 +959,8 @@ option value=guinnessGuinness/option option value=stuttgarterStuttgarter Schwabenbräu/option /selectbr / -input type=hidden name=action value=submitted / -input type=submit name=submit value=submit me! / +input type=submit value=submit me! / /form -?php -} -? ]] /programlisting /example
[PHP-DOC] cvs: phpdoc /en/reference/pcre/functions preg-match-all.xml
vrana Thu Aug 16 10:03:31 2007 UTC Modified files: /phpdoc/en/reference/pcre/functions preg-match-all.xml Log: Description of matches depend on flags (bug #42159) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/functions/preg-match-all.xml?r1=1.23r2=1.24diff_format=u Index: phpdoc/en/reference/pcre/functions/preg-match-all.xml diff -u phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.23 phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.24 --- phpdoc/en/reference/pcre/functions/preg-match-all.xml:1.23 Wed Jun 20 22:25:11 2007 +++ phpdoc/en/reference/pcre/functions/preg-match-all.xml Thu Aug 16 10:03:31 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.23 $ -- +!-- $Revision: 1.24 $ -- refentry xml:id=function.preg-match-all xmlns=http://docbook.org/ns/docbook; refnamediv refnamepreg_match_all/refname @@ -52,11 +52,8 @@ termparametermatches/parameter/term listitem para - In this case, $matches[0] is the first set of matches, and - varname$matches[0][0]/varname has text matched by full pattern, - varname$matches[0][1]/varname has text matched by first - subpattern and so on. Similarly, varname$matches[1]/varname is - the second set of matches, etc. + Array of all matches in multi-dimensional array ordered according to + parameterflags/parameter. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/var/functions settype.xml
vrana Thu Aug 16 10:09:50 2007 UTC Modified files: /phpdoc/en/reference/var/functions settype.xml Log: Maximum int value (bug #42154) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/settype.xml?r1=1.9r2=1.10diff_format=u Index: phpdoc/en/reference/var/functions/settype.xml diff -u phpdoc/en/reference/var/functions/settype.xml:1.9 phpdoc/en/reference/var/functions/settype.xml:1.10 --- phpdoc/en/reference/var/functions/settype.xml:1.9 Wed Jun 20 22:25:34 2007 +++ phpdoc/en/reference/var/functions/settype.xml Thu Aug 16 10:09:50 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry xml:id=function.settype xmlns=http://docbook.org/ns/docbook; refnamediv refnamesettype/refname @@ -108,6 +108,15 @@ /para /refsect1 + refsect1 role=notes + reftitle.notes; + note + para +Maximum value for int is constantPHP_INT_MAX/constant. + /para + /note + /refsect1 + refsect1 role=seealso reftitle.seealso; para
[PHP-DOC] cvs: phpdoc /en/reference/network/functions dns-get-record.xml
vrana Thu Aug 16 10:12:56 2007 UTC Modified files: /phpdoc/en/reference/network/functions dns-get-record.xml Log: Doesn't work on Mac (bug #42123) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/dns-get-record.xml?r1=1.25r2=1.26diff_format=u Index: phpdoc/en/reference/network/functions/dns-get-record.xml diff -u phpdoc/en/reference/network/functions/dns-get-record.xml:1.25 phpdoc/en/reference/network/functions/dns-get-record.xml:1.26 --- phpdoc/en/reference/network/functions/dns-get-record.xml:1.25 Wed Jun 20 22:25:04 2007 +++ phpdoc/en/reference/network/functions/dns-get-record.xmlThu Aug 16 10:12:56 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.25 $ -- +!-- $Revision: 1.26 $ -- refentry xml:id=function.dns-get-record xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; refnamediv refnamedns_get_record/refname @@ -462,7 +462,7 @@ note para This function is not implemented on Windows platforms, nor does it -(currently) work on *BSD systems. Try the +(currently) work on *BSD systems (including Mac). Try the link xlink:href=url.php.pear;PEAR/link class link xlink:href=url.pear.package;Net_DNSNet_DNS/link. /para
[PHP-DOC] cvs: phpdoc /en/reference/mssql/functions mssql-connect.xml
vrana Thu Aug 16 10:24:53 2007 UTC Modified files: /phpdoc/en/reference/mssql/functionsmssql-connect.xml Log: Port is separated by comma (bug #42046) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mssql/functions/mssql-connect.xml?r1=1.8r2=1.9diff_format=u Index: phpdoc/en/reference/mssql/functions/mssql-connect.xml diff -u phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.8 phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.9 --- phpdoc/en/reference/mssql/functions/mssql-connect.xml:1.8 Wed Jun 20 22:24:59 2007 +++ phpdoc/en/reference/mssql/functions/mssql-connect.xml Thu Aug 16 10:24:53 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.mssql-connect refnamediv refnamemssql_connect/refname @@ -36,7 +36,7 @@ listitem para The MS SQL server. It can also include a port number. e.g. - literalhostname:port/literal. + literalhostname,port/literal. /para /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/dir/functions class.dir.xml
vrana Thu Aug 16 11:39:10 2007 UTC Modified files: /phpdoc/en/reference/dir/functions class.dir.xml Log: Return value of dir::read is tested (bug #42032) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dir/functions/class.dir.xml?r1=1.12r2=1.13diff_format=u Index: phpdoc/en/reference/dir/functions/class.dir.xml diff -u phpdoc/en/reference/dir/functions/class.dir.xml:1.12 phpdoc/en/reference/dir/functions/class.dir.xml:1.13 --- phpdoc/en/reference/dir/functions/class.dir.xml:1.12Mon Aug 13 00:10:59 2007 +++ phpdoc/en/reference/dir/functions/class.dir.xml Thu Aug 16 11:39:09 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- !-- splitted from ./en/functions/dir.xml, last change in rev 1.2 -- refentry xml:id=class.dir xmlns=http://docbook.org/ns/docbook; refnamediv @@ -43,10 +43,10 @@ example titlefunctiondir/function example/title para - Please note the fashion in which functiondir/function's + Please note the fashion in which functiondir::read/function's return value is checked in the example below. We are explicitly testing whether the return value is identical to (equal to and of - the same type as--see link linkend=language.operators.comparison + the same type as - see link linkend=language.operators.comparison Comparison Operators/link for more information) false; since otherwise, any directory entry whose name evaluates to false; will stop the loop.
[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-fetch-result.xml
vrana Thu Aug 16 11:44:14 2007 UTC Modified files: /phpdoc/en/reference/pgsql/functionspg-fetch-result.xml Log: Aliased by pg_result (bug #42022) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml?r1=1.11r2=1.12diff_format=u Index: phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml diff -u phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.11 phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.12 --- phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml:1.11Wed Jun 20 22:25:13 2007 +++ phpdoc/en/reference/pgsql/functions/pg-fetch-result.xml Thu Aug 16 11:44:14 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -- refentry xml:id=function.pg-fetch-result xmlns=http://docbook.org/ns/docbook; refnamediv @@ -24,6 +24,11 @@ functionpg_fetch_result/function returns the value of a particular row and field (column) in a PostgreSQL result resource. /para + note + para +This function used to be called functionpg_result/function. + /para + /note /refsect1 refsect1 role=parameters
[PHP-DOC] cvs: phpdoc /en/reference/ctype/functions ctype-alnum.xml
vrana Thu Aug 16 12:09:17 2007 UTC Modified files: /phpdoc/en/reference/ctype/functionsctype-alnum.xml Log: Not equivalent to preg for small numbers (bug #42007) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ctype/functions/ctype-alnum.xml?r1=1.11r2=1.12diff_format=u Index: phpdoc/en/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.11 phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.12 --- phpdoc/en/reference/ctype/functions/ctype-alnum.xml:1.11Wed Jun 20 22:24:17 2007 +++ phpdoc/en/reference/ctype/functions/ctype-alnum.xml Thu Aug 16 12:09:16 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/ctype.xml, last change in rev 1.1 -- refentry xml:id=function.ctype-alnum xmlns=http://docbook.org/ns/docbook; refnamediv @@ -16,9 +16,7 @@ para Checks if all of the characters in the provided string, parametertext/parameter, are alphanumeric. In the standard - literalC/literal locale letters are just literal[A-Za-z]/literal - and the function is equivalent to - literalpreg_match('/^[a-z0-9]+$/iD', $text)/literal. + literalC/literal locale letters are just literal[A-Za-z]/literal. /para /refsect1
[PHP-DOC] cvs: phpdoc /en/reference/spl/functions DirectoryIterator-getChildren.xml
vrana Thu Aug 16 12:43:21 2007 UTC Removed files: /phpdoc/en/reference/spl/functions DirectoryIterator-getChildren.xml Log: Nonexistent function (bug #41914)
[PHP-DOC] cvs: phpdoc /en/reference/session ini.xml
vrana Thu Aug 16 12:53:05 2007 UTC Modified files: /phpdoc/en/reference/sessionini.xml Log: use_only_cookies default (bug #41894) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/ini.xml?r1=1.48r2=1.49diff_format=u Index: phpdoc/en/reference/session/ini.xml diff -u phpdoc/en/reference/session/ini.xml:1.48 phpdoc/en/reference/session/ini.xml:1.49 --- phpdoc/en/reference/session/ini.xml:1.48Wed Jun 20 22:25:22 2007 +++ phpdoc/en/reference/session/ini.xml Thu Aug 16 12:53:05 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.48 $ -- +!-- $Revision: 1.49 $ -- section xml:id=session.configuration xmlns=http://docbook.org/ns/docbook; reftitle.runtime; extension.runtime; @@ -437,6 +437,7 @@ cookies to store the session id on the client side. Enabling this setting prevents attacks involved passing session ids in URLs. This setting was added in PHP 4.3.0. + Defaults to literal1/literal (enabled) since PHP 6.0. /simpara /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /en/reference/sockets constants.xml /en/reference/sockets/functions socket-send.xml
vrana Thu Aug 16 13:08:29 2007 UTC Modified files: /phpdoc/en/reference/socketsconstants.xml /phpdoc/en/reference/sockets/functions socket-send.xml Log: Use MSG_* constants (bug #42084) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/constants.xml?r1=1.4r2=1.5diff_format=u Index: phpdoc/en/reference/sockets/constants.xml diff -u phpdoc/en/reference/sockets/constants.xml:1.4 phpdoc/en/reference/sockets/constants.xml:1.5 --- phpdoc/en/reference/sockets/constants.xml:1.4 Wed Jun 20 22:25:25 2007 +++ phpdoc/en/reference/sockets/constants.xml Thu Aug 16 13:08:29 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- section xml:id=sockets.constants xmlns=http://docbook.org/ns/docbook; reftitle.constants; extension.constants; @@ -138,6 +138,28 @@ /varlistentry varlistentry term +constantMSG_EOR/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term +constantMSG_EOF/constant +(typeinteger/type) + /term + listitem +simpara + +/simpara + /listitem + /varlistentry + varlistentry + term constantSO_DEBUG/constant (typeinteger/type) /term http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sockets/functions/socket-send.xml?r1=1.8r2=1.9diff_format=u Index: phpdoc/en/reference/sockets/functions/socket-send.xml diff -u phpdoc/en/reference/sockets/functions/socket-send.xml:1.8 phpdoc/en/reference/sockets/functions/socket-send.xml:1.9 --- phpdoc/en/reference/sockets/functions/socket-send.xml:1.8 Tue Jul 3 19:58:06 2007 +++ phpdoc/en/reference/sockets/functions/socket-send.xml Thu Aug 16 13:08:29 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.8 $ -- +!-- $Revision: 1.9 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.socket-send refnamediv refnamesocket_send/refname @@ -63,31 +63,31 @@ tgroup cols=2 tbody row - entryliteral0x1/literal/entry + entryconstantMSG_OOB/constant/entry entry Process OOB (out-of-band) data /entry /row row - entryliteral0x2/literal/entry + entryconstantMSG_PEEK/constant/entry entry Peek at incoming message /entry /row row - entryliteral0x4/literal/entry + entryconstantMSG_DONTROUTE/constant/entry entry Bypass routing, use direct interface /entry /row row - entryliteral0x8/literal/entry + entryconstantMSG_EOR/constant/entry entry Data completes record /entry /row row - entryliteral0x100/literal/entry + entryconstantMSG_EOF/constant/entry entry Data completes transaction /entry
Re: [PHP-DOC] #42084 [Asn-Csd]: socket_recv / socket_send* / etc. does not mention MSG_* constants
Nicolas Berard-Nault wrote: Why did you close this ? It has clearly not been corrected. Sorry, I forgot to commit the file. Thanks for open eyes. Jakub Vrana
[PHP-DOC] cvs: phpdoc /en/reference/misc/functions eval.xml
vrana Thu Aug 16 13:10:28 2007 UTC Modified files: /phpdoc/en/reference/misc/functions eval.xml Log: Parse error (bug #41890) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/eval.xml?r1=1.22r2=1.23diff_format=u Index: phpdoc/en/reference/misc/functions/eval.xml diff -u phpdoc/en/reference/misc/functions/eval.xml:1.22 phpdoc/en/reference/misc/functions/eval.xml:1.23 --- phpdoc/en/reference/misc/functions/eval.xml:1.22Sat Jul 21 05:36:52 2007 +++ phpdoc/en/reference/misc/functions/eval.xml Thu Aug 16 13:10:28 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.22 $ -- +!-- $Revision: 1.23 $ -- refentry xml:id=function.eval xmlns=http://docbook.org/ns/docbook; refnamediv refnameeval/refname @@ -60,7 +60,9 @@ literalreturn/literal is called in the evaluated code, in which case the value passed to literalreturn/literal is returned. In case of a parse error in the evaluated code, functioneval/function returns - false;. + false;. Normal code continues in execution after parse error in + functioneval/function and this error can not be catched by + functionset_error_handler/function. /para /refsect1
[PHP-DOC] cvs: phpdoc /en/appendices ini.xml
vrana Thu Aug 16 13:25:13 2007 UTC Modified files: /phpdoc/en/appendices ini.xml Log: auto_(ap|pre)pend_file use require (bug #41816) http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.58r2=1.59diff_format=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.58 phpdoc/en/appendices/ini.xml:1.59 --- phpdoc/en/appendices/ini.xml:1.58 Mon Jun 25 22:59:27 2007 +++ phpdoc/en/appendices/ini.xmlThu Aug 16 13:25:12 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.58 $ -- +!-- $Revision: 1.59 $ -- appendix xml:id=ini xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; titlephp.ini; directives/title @@ -3355,7 +3355,7 @@ para Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was - called with the functioninclude/function function, so + called with the functionrequire/function function, so link linkend=ini.include-pathinclude_path/link is used./para para The special value literalnone/literal @@ -3373,7 +3373,7 @@ para Specifies the name of a file that is automatically parsed after the main file. The file is included as if it was - called with the functioninclude/function function, so + called with the functionrequire/function function, so link linkend=ini.include-pathinclude_path/link is used./para para The special value literalnone/literal
[PHP-DOC] cvs: phpdoc /en/language operators.xml
vrana Thu Aug 16 13:30:51 2007 UTC Modified files: /phpdoc/en/language operators.xml Log: Modulus uses integers (bug #41802) http://cvs.php.net/viewvc.cgi/phpdoc/en/language/operators.xml?r1=1.115r2=1.116diff_format=u Index: phpdoc/en/language/operators.xml diff -u phpdoc/en/language/operators.xml:1.115 phpdoc/en/language/operators.xml:1.116 --- phpdoc/en/language/operators.xml:1.115 Wed Jun 20 22:24:12 2007 +++ phpdoc/en/language/operators.xmlThu Aug 16 13:30:51 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.115 $ -- +!-- $Revision: 1.116 $ -- chapter xml:id=language.operators xmlns=http://docbook.org/ns/docbook; titleOperators/title simpara @@ -293,6 +293,10 @@ are integers (or strings that get converted to integers) and the numbers are evenly divisible, in which case an integer value will be returned. /simpara + simpara +Operands of modulus are converted to integers (by stripping the decimal +part) before processing. + /simpara note simpara Remainder literal$a % $b/literal is negative for negative
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions stat.xml
vrana Thu Aug 16 13:32:51 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions stat.xml Log: 'blocks' not available on Windows (bug #41798) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/stat.xml?r1=1.16r2=1.17diff_format=u Index: phpdoc/en/reference/filesystem/functions/stat.xml diff -u phpdoc/en/reference/filesystem/functions/stat.xml:1.16 phpdoc/en/reference/filesystem/functions/stat.xml:1.17 --- phpdoc/en/reference/filesystem/functions/stat.xml:1.16 Wed Jun 20 22:24:28 2007 +++ phpdoc/en/reference/filesystem/functions/stat.xml Thu Aug 16 13:32:51 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.16 $ -- +!-- $Revision: 1.17 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.stat refnamediv refnamestat/refname @@ -117,7 +117,7 @@ row entry12/entry entryblocks/entry - entrynumber of blocks allocated/entry + entrynumber of blocks allocated */entry /row /tbody /tgroup
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions flock.xml
vrana Thu Aug 16 13:39:01 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions flock.xml Log: Mandatory lock under Windows http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/flock.xml?r1=1.15r2=1.16diff_format=u Index: phpdoc/en/reference/filesystem/functions/flock.xml diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.15 phpdoc/en/reference/filesystem/functions/flock.xml:1.16 --- phpdoc/en/reference/filesystem/functions/flock.xml:1.15 Sun Jul 1 21:31:16 2007 +++ phpdoc/en/reference/filesystem/functions/flock.xml Thu Aug 16 13:39:01 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.flock refnamediv refnameflock/refname @@ -151,7 +151,7 @@ reftitle.notes; note para -functionflock/function is mandatory under Windows. +functionflock/function locks mandatory under Windows. /para /note note
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions flock.xml
vrana Thu Aug 16 13:46:21 2007 UTC Modified files: /phpdoc/en/reference/filesystem/functions flock.xml Log: LOCK_NB not supported on Windows (bug #41769) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/flock.xml?r1=1.16r2=1.17diff_format=u Index: phpdoc/en/reference/filesystem/functions/flock.xml diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.16 phpdoc/en/reference/filesystem/functions/flock.xml:1.17 --- phpdoc/en/reference/filesystem/functions/flock.xml:1.16 Thu Aug 16 13:39:01 2007 +++ phpdoc/en/reference/filesystem/functions/flock.xml Thu Aug 16 13:46:21 2007 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.16 $ -- +!-- $Revision: 1.17 $ -- refentry xmlns=http://docbook.org/ns/docbook; xml:id=function.flock refnamediv refnameflock/refname @@ -67,6 +67,7 @@ simpara constantLOCK_NB/constant if you don't want functionflock/function to block while locking. + (not supported on Windows) /simpara /listitem /itemizedlist