From fa2e38785e2541d1b307758ba6c6d1793135a6df Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 12 Aug 2004 18:12:00 +0000 Subject: [PATCH] Fix protos from sources git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166167 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-map.xml | 4 ++-- reference/array/functions/array-walk-recursive.xml | 4 ++-- reference/array/functions/range.xml | 8 ++++---- reference/calendar/functions/cal-info.xml | 7 +++---- reference/calendar/functions/jddayofweek.xml | 6 +++--- reference/com/functions/com-load-typelib.xml | 4 ++-- reference/com/functions/com-print-typeinfo.xml | 6 +++--- reference/curl/functions/curl-version.xml | 4 ++-- reference/dba/functions/dba-handlers.xml | 4 ++-- reference/dio/functions/dio-seek.xml | 6 +++--- reference/exec/functions/proc-open.xml | 6 +++++- reference/fdf/functions/fdf-get-flags.xml | 6 ++++-- reference/filesystem/functions/fgetcsv.xml | 5 +++-- reference/filesystem/functions/pathinfo.xml | 11 ++++++++++- reference/ftp/functions/ftp-rawlist.xml | 7 ++++++- reference/http/functions/setcookie.xml | 12 ++++++------ reference/http/functions/setrawcookie.xml | 4 ++-- reference/ibase/functions/ibase-blob-echo.xml | 7 ++++++- reference/ibase/functions/ibase-blob-import.xml | 8 ++++++-- reference/ibase/functions/ibase-blob-info.xml | 7 ++++++- reference/ibase/functions/ibase-blob-open.xml | 7 ++++++- reference/ibase/functions/ibase-execute.xml | 3 +-- reference/iconv/functions/iconv-strpos.xml | 4 ++-- reference/ldap/functions/ldap-set-rebind-proc.xml | 4 ++-- .../functions/mailparse-msg-extract-part-file.xml | 4 ++-- .../functions/mailparse-msg-extract-part.xml | 4 ++-- reference/mbstring/functions/mb-convert-kana.xml | 6 +++--- reference/mcrypt/functions/mcrypt-create-iv.xml | 9 +++++---- .../mysqli/functions/mysqli-embedded-connect.xml | 4 ++-- reference/mysqli/functions/mysqli-server-init.xml | 5 +++-- .../openssl/functions/openssl-pkcs7-encrypt.xml | 4 +++- reference/openssl/functions/openssl-sign.xml | 3 ++- .../openssl/functions/openssl-x509-checkpurpose.xml | 6 +++--- reference/outcontrol/functions/ob-gzhandler.xml | 4 ++-- reference/pcntl/functions/pcntl-getpriority.xml | 9 ++++++++- reference/pcntl/functions/pcntl-setpriority.xml | 9 ++++++++- reference/pcntl/functions/pcntl-waitpid.xml | 4 ++-- reference/pdf/functions/pdf-open-image-file.xml | 4 ++-- reference/pdf/functions/pdf-open-image.xml | 4 ++-- reference/sem/functions/sem-get.xml | 10 ++++++++-- .../simplexml/functions/simplexml-import-dom.xml | 6 ++++-- .../simplexml/functions/simplexml-load-file.xml | 4 +++- .../simplexml/functions/simplexml-load-string.xml | 4 +++- .../sqlite/functions/sqlite-create-aggregate.xml | 6 +++--- .../sqlite/functions/sqlite-create-function.xml | 4 ++-- reference/sqlite/functions/sqlite-fetch-single.xml | 3 +-- reference/stream/functions/stream-context-create.xml | 5 +++-- reference/stream/functions/stream-socket-accept.xml | 4 ++-- .../strings/functions/get-html-translation-table.xml | 7 ++++--- reference/strings/functions/metaphone.xml | 4 +++- reference/strings/functions/wordwrap.xml | 4 ++-- reference/url/functions/get-headers.xml | 4 ++-- reference/url/functions/get-meta-tags.xml | 6 +++--- .../functions/xsl-xsltprocessor-transform-to-uri.xml | 8 +++----- .../functions/xsl-xsltprocessor-transform-to-xml.xml | 8 +++----- reference/yaz/functions/yaz-wait.xml | 4 ++-- 56 files changed, 191 insertions(+), 123 deletions(-) diff --git a/reference/array/functions/array-map.xml b/reference/array/functions/array-map.xml index 8a4b82ee4d..647792075e 100644 --- a/reference/array/functions/array-map.xml +++ b/reference/array/functions/array-map.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ Description arrayarray_map - mixedcallback + callbackcallback arrayarr1 array... diff --git a/reference/array/functions/array-walk-recursive.xml b/reference/array/functions/array-walk-recursive.xml index 10f4b1f38c..f5708560e4 100755 --- a/reference/array/functions/array-walk-recursive.xml +++ b/reference/array/functions/array-walk-recursive.xml @@ -1,5 +1,5 @@ - + array_walk_recursive @@ -12,7 +12,7 @@ boolarray_walk_recursive array&input - stringfuncname + callbackfuncname mixeduserdata diff --git a/reference/array/functions/range.xml b/reference/array/functions/range.xml index f05ebbeeb7..ea37dad8c9 100644 --- a/reference/array/functions/range.xml +++ b/reference/array/functions/range.xml @@ -1,5 +1,5 @@ - + @@ -12,9 +12,9 @@ Description arrayrange - intlow - inthigh - intstep + numberlow + numberhigh + numberstep range returns an array of elements from diff --git a/reference/calendar/functions/cal-info.xml b/reference/calendar/functions/cal-info.xml index b51ec75f88..eb3084bfd6 100644 --- a/reference/calendar/functions/cal-info.xml +++ b/reference/calendar/functions/cal-info.xml @@ -1,5 +1,5 @@ - + @@ -10,12 +10,11 @@ Description arraycal_info - intcalendar + intcalendar cal_info returns information on the - specified calendar or on all supported - calendars if no calendar is specified. + specified calendar. Calendar information is returned as an array containing the diff --git a/reference/calendar/functions/jddayofweek.xml b/reference/calendar/functions/jddayofweek.xml index 4f13231a5a..d25d603049 100644 --- a/reference/calendar/functions/jddayofweek.xml +++ b/reference/calendar/functions/jddayofweek.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ mixedjddayofweek intjulianday - intmode + intmode Returns the day of the week. Can return a string or an integer @@ -27,7 +27,7 @@ - 0 + 0 (Default) Returns the day number as an int (0=Sunday, 1=Monday, etc) diff --git a/reference/com/functions/com-load-typelib.xml b/reference/com/functions/com-load-typelib.xml index 62a4d5287e..6ccbc1cc32 100644 --- a/reference/com/functions/com-load-typelib.xml +++ b/reference/com/functions/com-load-typelib.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ boolcom_load_typelib stringtypelib_name - intcase_insensitive + boolcase_insensitive Loads a type-library and registers its constants in the engine, as though diff --git a/reference/com/functions/com-print-typeinfo.xml b/reference/com/functions/com-print-typeinfo.xml index 04e4ec8007..ab1c5cb1c9 100644 --- a/reference/com/functions/com-print-typeinfo.xml +++ b/reference/com/functions/com-print-typeinfo.xml @@ -1,5 +1,5 @@ - + @@ -14,8 +14,8 @@ boolcom_print_typeinfo objectcomobject - stringdispinterface - boolwantsink + stringdispinterface + boolwantsink diff --git a/reference/curl/functions/curl-version.xml b/reference/curl/functions/curl-version.xml index 985f514b34..f7d6b22bb8 100644 --- a/reference/curl/functions/curl-version.xml +++ b/reference/curl/functions/curl-version.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description stringcurl_version - + intversion The curl_version function returns a string diff --git a/reference/dba/functions/dba-handlers.xml b/reference/dba/functions/dba-handlers.xml index 50337c6852..9eb0b91ab2 100644 --- a/reference/dba/functions/dba-handlers.xml +++ b/reference/dba/functions/dba-handlers.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description arraydba_handlers - + boolfull_info dba_handlers returns an array with all handlers diff --git a/reference/dio/functions/dio-seek.xml b/reference/dio/functions/dio-seek.xml index 0b33ad671a..c2f5fb02b5 100644 --- a/reference/dio/functions/dio-seek.xml +++ b/reference/dio/functions/dio-seek.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ intdio_seek resourcefd intpos - intwhence + intwhence The function dio_seek is used to change the @@ -23,7 +23,7 @@ - SEEK_SET - specifies that pos is + SEEK_SET (default) - specifies that pos is specified from the beginning of the file. diff --git a/reference/exec/functions/proc-open.xml b/reference/exec/functions/proc-open.xml index 21999c65ee..eaf7a1db94 100644 --- a/reference/exec/functions/proc-open.xml +++ b/reference/exec/functions/proc-open.xml @@ -1,5 +1,5 @@ - + @@ -15,6 +15,9 @@ stringcmd arraydescriptorspec array&pipes + stringcwd + arrayenv + arrayother_options proc_open is similar to popen @@ -29,6 +32,7 @@ free it using proc_close when you are finished with it. + diff --git a/reference/fdf/functions/fdf-get-flags.xml b/reference/fdf/functions/fdf-get-flags.xml index 5f4412b46d..992fa9b428 100644 --- a/reference/fdf/functions/fdf-get-flags.xml +++ b/reference/fdf/functions/fdf-get-flags.xml @@ -1,5 +1,5 @@ - + fdf_get_flags @@ -9,7 +9,9 @@ Description fdf_get_flags - + resourcefdfdoc + stringfieldname + intwhichflags &warn.undocumented.func; diff --git a/reference/filesystem/functions/fgetcsv.xml b/reference/filesystem/functions/fgetcsv.xml index 173ed5e5e8..bb836d04f4 100644 --- a/reference/filesystem/functions/fgetcsv.xml +++ b/reference/filesystem/functions/fgetcsv.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ arrayfgetcsv resourcehandle - intlength + intlength stringdelimiter stringenclosure @@ -38,6 +38,7 @@ The length parameter must be greater than the longest line to be found in the CSV file (allowing for trailing line-end characters). + It became optional in PHP 5. fgetcsv returns &false; on error, including diff --git a/reference/filesystem/functions/pathinfo.xml b/reference/filesystem/functions/pathinfo.xml index 9dda6d0ee2..8d7cb54f03 100644 --- a/reference/filesystem/functions/pathinfo.xml +++ b/reference/filesystem/functions/pathinfo.xml @@ -1,5 +1,5 @@ - + @@ -11,6 +11,7 @@ arraypathinfo stringpath + intoptions pathinfo returns an associative array @@ -19,6 +20,14 @@ dirname, basename and extension. + + You can specify which elements are returned with optional parameter + options. It composes from + PHP_PATHINFO_DIRNAME, + PHP_PATHINFO_BASENAME and + PHP_PATHINFO_EXTENSION. It defaults to return all + elements. + <function>pathinfo</function> Example diff --git a/reference/ftp/functions/ftp-rawlist.xml b/reference/ftp/functions/ftp-rawlist.xml index 1e243b0968..9cae1b5d68 100644 --- a/reference/ftp/functions/ftp-rawlist.xml +++ b/reference/ftp/functions/ftp-rawlist.xml @@ -1,5 +1,5 @@ - + @@ -12,6 +12,7 @@ arrayftp_rawlist resourceftp_stream stringdirectory + boolrecursive ftp_rawlist executes the FTP LIST command, @@ -20,6 +21,10 @@ system type identifier returned by ftp_systype can be used to determine how the results should be interpreted. + + Optional parameter recursive is available since PHP + 4.3.0. + <function>ftp_rawlist</function> example diff --git a/reference/http/functions/setcookie.xml b/reference/http/functions/setcookie.xml index bde2a070ea..89250c2f1c 100644 --- a/reference/http/functions/setcookie.xml +++ b/reference/http/functions/setcookie.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ intexpire stringpath stringdomain - intsecure + boolsecure setcookie defines a cookie to be sent along @@ -44,8 +44,8 @@ All the arguments except the name argument are optional. You may also replace an argument with an empty string ("") in order to skip that - argument. Because the expire and - secure arguments are integers, they cannot + argument. Because the expire + argument is integer, it cannot be skipped with an empty string, use a zero (0) instead. The following table explains each parameter of the setcookie function, be sure to read the @@ -135,9 +135,9 @@ secure Indicates that the cookie should only be transmitted over a - secure HTTPS connection. When set to 1, the + secure HTTPS connection. When set to &true;, the cookie will only be set if a secure connection exists. The default - is 0. + is &false;. 0 or 1 diff --git a/reference/http/functions/setrawcookie.xml b/reference/http/functions/setrawcookie.xml index 97e3d3bbf2..dda6f9afd1 100644 --- a/reference/http/functions/setrawcookie.xml +++ b/reference/http/functions/setrawcookie.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ intexpire stringpath stringdomain - intsecure + boolsecure setrawcookie is exactly the same as diff --git a/reference/ibase/functions/ibase-blob-echo.xml b/reference/ibase/functions/ibase-blob-echo.xml index 147ef5e384..76fe449f38 100644 --- a/reference/ibase/functions/ibase-blob-echo.xml +++ b/reference/ibase/functions/ibase-blob-echo.xml @@ -1,5 +1,5 @@ - + @@ -10,6 +10,11 @@ Description + + boolibase_blob_echo + resourcelink_identifier + stringblob_id + boolibase_blob_echo stringblob_id diff --git a/reference/ibase/functions/ibase-blob-import.xml b/reference/ibase/functions/ibase-blob-import.xml index 08f228193d..5e49f2addf 100644 --- a/reference/ibase/functions/ibase-blob-import.xml +++ b/reference/ibase/functions/ibase-blob-import.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,11 @@ Description stringibase_blob_import - resourcelink_identifier + resourcelink_identifier + resourcefile_handle + + + stringibase_blob_import resourcefile_handle diff --git a/reference/ibase/functions/ibase-blob-info.xml b/reference/ibase/functions/ibase-blob-info.xml index fa5bd13fa2..3f901c9200 100644 --- a/reference/ibase/functions/ibase-blob-info.xml +++ b/reference/ibase/functions/ibase-blob-info.xml @@ -1,5 +1,5 @@ - + @@ -10,6 +10,11 @@ Description + + arrayibase_blob_info + resourcelink_identifier + stringblob_id + arrayibase_blob_info stringblob_id diff --git a/reference/ibase/functions/ibase-blob-open.xml b/reference/ibase/functions/ibase-blob-open.xml index 7d008e1c0c..ec21a590c1 100644 --- a/reference/ibase/functions/ibase-blob-open.xml +++ b/reference/ibase/functions/ibase-blob-open.xml @@ -1,5 +1,5 @@ - + @@ -10,6 +10,11 @@ Description + + resourceibase_blob_open + resourcelink_identifier + stringblob_id + resourceibase_blob_open stringblob_id diff --git a/reference/ibase/functions/ibase-execute.xml b/reference/ibase/functions/ibase-execute.xml index 4a8d86481a..e05fc39dab 100644 --- a/reference/ibase/functions/ibase-execute.xml +++ b/reference/ibase/functions/ibase-execute.xml @@ -1,5 +1,5 @@ - + @@ -11,7 +11,6 @@ resourceibase_execute resourcequery - intbind_args Execute a query prepared by ibase_prepare. If diff --git a/reference/iconv/functions/iconv-strpos.xml b/reference/iconv/functions/iconv-strpos.xml index 43b760f080..949abcbdbd 100644 --- a/reference/iconv/functions/iconv-strpos.xml +++ b/reference/iconv/functions/iconv-strpos.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ inticonv_strpos stringhaystack stringneedle - intoffset + intoffset stringcharset diff --git a/reference/ldap/functions/ldap-set-rebind-proc.xml b/reference/ldap/functions/ldap-set-rebind-proc.xml index 3dec160dc9..3e48753c1a 100644 --- a/reference/ldap/functions/ldap-set-rebind-proc.xml +++ b/reference/ldap/functions/ldap-set-rebind-proc.xml @@ -1,5 +1,5 @@ - + @@ -13,7 +13,7 @@ boolldap_set_rebind_proc resourcelink - stringcallback + callbackcallback &warn.undocumented.func; diff --git a/reference/mailparse/functions/mailparse-msg-extract-part-file.xml b/reference/mailparse/functions/mailparse-msg-extract-part-file.xml index 189174f7fe..a2f3c66bc1 100644 --- a/reference/mailparse/functions/mailparse-msg-extract-part-file.xml +++ b/reference/mailparse/functions/mailparse-msg-extract-part-file.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ stringmailparse_msg_extract_part_file resourcerfc2045 stringfilename - stringcallbackfunc + callbackcallbackfunc &warn.experimental.func; diff --git a/reference/mailparse/functions/mailparse-msg-extract-part.xml b/reference/mailparse/functions/mailparse-msg-extract-part.xml index 177422f0ae..6ac83a3ef0 100644 --- a/reference/mailparse/functions/mailparse-msg-extract-part.xml +++ b/reference/mailparse/functions/mailparse-msg-extract-part.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ voidmailparse_msg_extract_part resourcerfc2045 stringmsgbody - stringcallbackfunc + callbackcallbackfunc &warn.experimental.func; diff --git a/reference/mbstring/functions/mb-convert-kana.xml b/reference/mbstring/functions/mb-convert-kana.xml index b83f8a6ce6..bc0c9dce5f 100644 --- a/reference/mbstring/functions/mb-convert-kana.xml +++ b/reference/mbstring/functions/mb-convert-kana.xml @@ -1,5 +1,5 @@ - + @@ -13,8 +13,8 @@ stringmb_convert_kana stringstr - stringoption - mixedencoding + stringoption + stringencoding mb_convert_kana performs "han-kaku" - diff --git a/reference/mcrypt/functions/mcrypt-create-iv.xml b/reference/mcrypt/functions/mcrypt-create-iv.xml index 14f901ca06..a53e4b2688 100644 --- a/reference/mcrypt/functions/mcrypt-create-iv.xml +++ b/reference/mcrypt/functions/mcrypt-create-iv.xml @@ -1,5 +1,5 @@ - + @@ -13,15 +13,16 @@ stringmcrypt_create_iv intsize - intsource + intsource mcrypt_create_iv is used to create an IV. - mcrypt_create_iv takes two arguments, + Parameter size determines the size of the IV, - source specifies the source of the IV. + parameter source (defaults to random value) + specifies the source of the IV. The source can be MCRYPT_RAND (system random diff --git a/reference/mysqli/functions/mysqli-embedded-connect.xml b/reference/mysqli/functions/mysqli-embedded-connect.xml index 7d28a40f8f..e1793e0e87 100644 --- a/reference/mysqli/functions/mysqli-embedded-connect.xml +++ b/reference/mysqli/functions/mysqli-embedded-connect.xml @@ -1,5 +1,5 @@ - + mysqli_embedded_connect @@ -9,7 +9,7 @@ Description objectmysqli_embedded_connect - + stringdbname &warn.experimental.func; diff --git a/reference/mysqli/functions/mysqli-server-init.xml b/reference/mysqli/functions/mysqli-server-init.xml index c513190b19..d61c6d1cfa 100644 --- a/reference/mysqli/functions/mysqli-server-init.xml +++ b/reference/mysqli/functions/mysqli-server-init.xml @@ -1,5 +1,5 @@ - + mysqli_server_init @@ -9,7 +9,8 @@ Description boolmysqli_server_init - + arrayserver + arraygroups &warn.experimental.func; diff --git a/reference/openssl/functions/openssl-pkcs7-encrypt.xml b/reference/openssl/functions/openssl-pkcs7-encrypt.xml index 20deae5f45..6876f39e81 100644 --- a/reference/openssl/functions/openssl-pkcs7-encrypt.xml +++ b/reference/openssl/functions/openssl-pkcs7-encrypt.xml @@ -1,5 +1,5 @@ - + @@ -15,6 +15,7 @@ mixedrecipcerts arrayheaders intflags + intcipherid openssl_pkcs7_encrypt takes the contents of the @@ -30,6 +31,7 @@ headers can be either an associative array keyed by header name, or an indexed array, where each element contains a single header line. + Cipher can be selected with cipherid since PHP 5. diff --git a/reference/openssl/functions/openssl-sign.xml b/reference/openssl/functions/openssl-sign.xml index 3ab8acca2c..ec3fb54b08 100644 --- a/reference/openssl/functions/openssl-sign.xml +++ b/reference/openssl/functions/openssl-sign.xml @@ -1,5 +1,5 @@ - + @@ -13,6 +13,7 @@ stringdata string&signature mixedpriv_key_id + intsignature_alg &warn.experimental.func; diff --git a/reference/openssl/functions/openssl-x509-checkpurpose.xml b/reference/openssl/functions/openssl-x509-checkpurpose.xml index 5849a77c8b..a50fcdb7b0 100644 --- a/reference/openssl/functions/openssl-x509-checkpurpose.xml +++ b/reference/openssl/functions/openssl-x509-checkpurpose.xml @@ -1,5 +1,5 @@ - + @@ -13,7 +13,7 @@ boolopenssl_x509_checkpurpose mixedx509cert intpurpose - arraycainfo + arraycainfo stringuntrustedfile @@ -28,7 +28,7 @@ cainfo should be an array of trusted CA files/dirs as described in Certificate - Verification. + Verification. It defaults to an empty array. untrustedfile, if specified, is the name of a PEM encoded file holding certificates that can be used to diff --git a/reference/outcontrol/functions/ob-gzhandler.xml b/reference/outcontrol/functions/ob-gzhandler.xml index a796b0f3ad..08bde2ddd8 100644 --- a/reference/outcontrol/functions/ob-gzhandler.xml +++ b/reference/outcontrol/functions/ob-gzhandler.xml @@ -1,5 +1,5 @@ - + @@ -13,7 +13,7 @@ stringob_gzhandler stringbuffer - intmode + intmode ob_gzhandler is intended to be used as a diff --git a/reference/pcntl/functions/pcntl-getpriority.xml b/reference/pcntl/functions/pcntl-getpriority.xml index a023b144c1..7506281ada 100644 --- a/reference/pcntl/functions/pcntl-getpriority.xml +++ b/reference/pcntl/functions/pcntl-getpriority.xml @@ -1,5 +1,5 @@ - + pcntl_getpriority @@ -12,6 +12,7 @@ intpcntl_getpriority intpid + intprocess_identifier pcntl_getpriority gets the priority of @@ -25,6 +26,12 @@ or &false; on error. A lower numerical value causes more favorable scheduling. + + process_identifier is one of + PRIO_PGRP, + PRIO_USER or + PRIO_PROCESS. + &return.falseproblem; diff --git a/reference/pcntl/functions/pcntl-setpriority.xml b/reference/pcntl/functions/pcntl-setpriority.xml index 2072613be9..fd4bcf43f0 100644 --- a/reference/pcntl/functions/pcntl-setpriority.xml +++ b/reference/pcntl/functions/pcntl-setpriority.xml @@ -1,5 +1,5 @@ - + pcntl_setpriority @@ -13,6 +13,7 @@ boolpcntl_setpriority intpriority intpid + intprocess_identifier pcntl_setpriority sets the priority of @@ -28,6 +29,12 @@ system types and kernel versions, please see your system's setpriority(2) man page for specific details. + + process_identifier is one of + PRIO_PGRP, + PRIO_USER or + PRIO_PROCESS. + &return.success; diff --git a/reference/pcntl/functions/pcntl-waitpid.xml b/reference/pcntl/functions/pcntl-waitpid.xml index 15cb87d3d7..6449a5fb48 100644 --- a/reference/pcntl/functions/pcntl-waitpid.xml +++ b/reference/pcntl/functions/pcntl-waitpid.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ intpcntl_waitpid intpid int&status - intoptions + intoptions The pcntl_waitpid function suspends execution diff --git a/reference/pdf/functions/pdf-open-image-file.xml b/reference/pdf/functions/pdf-open-image-file.xml index d57d904ea5..4f780bf05a 100644 --- a/reference/pdf/functions/pdf-open-image-file.xml +++ b/reference/pdf/functions/pdf-open-image-file.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ stringimagetype stringfilename stringstringparam - stringintparam + intintparam Open an image file. Supported types are jpeg, diff --git a/reference/pdf/functions/pdf-open-image.xml b/reference/pdf/functions/pdf-open-image.xml index f63a67d860..4980dd9905 100644 --- a/reference/pdf/functions/pdf-open-image.xml +++ b/reference/pdf/functions/pdf-open-image.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ stringimagetype stringsource stringdata - longlength + intlength intwidth intheight intcomponents diff --git a/reference/sem/functions/sem-get.xml b/reference/sem/functions/sem-get.xml index c84672892f..e5993aeccc 100644 --- a/reference/sem/functions/sem-get.xml +++ b/reference/sem/functions/sem-get.xml @@ -1,5 +1,5 @@ - + @@ -13,6 +13,7 @@ intkey intmax_acquire intperm + intauto_release sem_get returns an id that can be used to @@ -24,7 +25,12 @@ finds it is the only process currently attached to the semaphore. - Returns: A positive semaphore identifier on success, or &false; on + Optional parameter auto_release specifies if the + semaphore should be automatically released on request shutdown. + It is available since PHP 4.3.0. + + + Returns a positive semaphore identifier on success, or &false; on error. diff --git a/reference/simplexml/functions/simplexml-import-dom.xml b/reference/simplexml/functions/simplexml-import-dom.xml index a090c3f7d5..8efbdb4555 100644 --- a/reference/simplexml/functions/simplexml-import-dom.xml +++ b/reference/simplexml/functions/simplexml-import-dom.xml @@ -1,5 +1,5 @@ - + simplexml_import_dom @@ -12,7 +12,8 @@ Description object SimpleXMLElementsimplexml_import_dom - domNodenode + objectnode + stringclass_name @@ -22,6 +23,7 @@ it returns &false;. + Import DOM diff --git a/reference/simplexml/functions/simplexml-load-file.xml b/reference/simplexml/functions/simplexml-load-file.xml index 34b1f7e2c7..465e240837 100644 --- a/reference/simplexml/functions/simplexml-load-file.xml +++ b/reference/simplexml/functions/simplexml-load-file.xml @@ -1,5 +1,5 @@ - + simplexml_load_file @@ -12,6 +12,7 @@ object SimpleXMLElementsimplexml_load_file stringfilename + stringclass_name This function will convert the well-formed XML document in the file @@ -19,6 +20,7 @@ of class SimpleXMLElement. If any errors occur during file access or interpretation, the function returns &false;. + Interpret an XML document diff --git a/reference/simplexml/functions/simplexml-load-string.xml b/reference/simplexml/functions/simplexml-load-string.xml index 61f29a698c..b64201434a 100644 --- a/reference/simplexml/functions/simplexml-load-string.xml +++ b/reference/simplexml/functions/simplexml-load-string.xml @@ -1,5 +1,5 @@ - + simplexml_load_string @@ -12,6 +12,7 @@ object SimpleXMLElementsimplexml_load_string stringdata + stringclass_name This function will take the well-formed xml string @@ -19,6 +20,7 @@ containing the data held within the xml document. If any errors occur, it returns &false;. + Interpret an XML string diff --git a/reference/sqlite/functions/sqlite-create-aggregate.xml b/reference/sqlite/functions/sqlite-create-aggregate.xml index f6078403d2..aa945fa005 100644 --- a/reference/sqlite/functions/sqlite-create-aggregate.xml +++ b/reference/sqlite/functions/sqlite-create-aggregate.xml @@ -1,5 +1,5 @@ - + sqlite_create_aggregate @@ -11,8 +11,8 @@ boolsqlite_create_aggregate resourcedbhandle stringfunction_name - mixedstep_func - mixedfinalize_func + callbackstep_func + callbackfinalize_func intnum_args diff --git a/reference/sqlite/functions/sqlite-create-function.xml b/reference/sqlite/functions/sqlite-create-function.xml index b2baef1291..de8cdd3491 100644 --- a/reference/sqlite/functions/sqlite-create-function.xml +++ b/reference/sqlite/functions/sqlite-create-function.xml @@ -1,5 +1,5 @@ - + sqlite_create_function @@ -13,7 +13,7 @@ boolsqlite_create_function resourcedbhandle stringfunction_name - mixedcallback + callbackcallback intnum_args diff --git a/reference/sqlite/functions/sqlite-fetch-single.xml b/reference/sqlite/functions/sqlite-fetch-single.xml index 9b5c01974f..8b5a4a143a 100644 --- a/reference/sqlite/functions/sqlite-fetch-single.xml +++ b/reference/sqlite/functions/sqlite-fetch-single.xml @@ -1,5 +1,5 @@ - + sqlite_fetch_single @@ -10,7 +10,6 @@ stringsqlite_fetch_single resourceresult - intresult_type booldecode_binary diff --git a/reference/stream/functions/stream-context-create.xml b/reference/stream/functions/stream-context-create.xml index 80bde61783..8688f29f94 100644 --- a/reference/stream/functions/stream-context-create.xml +++ b/reference/stream/functions/stream-context-create.xml @@ -1,5 +1,5 @@ - + stream_context_create @@ -9,7 +9,7 @@ Description resourcestream_context_create - arrayoptions + arrayoptions Creates and returns a stream context with any options supplied in @@ -19,6 +19,7 @@ options must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value. + It defaults to an empty array. Using <function>stream_context_create</function> diff --git a/reference/stream/functions/stream-socket-accept.xml b/reference/stream/functions/stream-socket-accept.xml index d920c55272..74a3513733 100644 --- a/reference/stream/functions/stream-socket-accept.xml +++ b/reference/stream/functions/stream-socket-accept.xml @@ -1,5 +1,5 @@ - + stream_socket_accept @@ -12,7 +12,7 @@ resourcestream_socket_accept resourceserver_socket - inttimeout + floattimeout string&peername diff --git a/reference/strings/functions/get-html-translation-table.xml b/reference/strings/functions/get-html-translation-table.xml index 3687080e76..a9294ecdbf 100644 --- a/reference/strings/functions/get-html-translation-table.xml +++ b/reference/strings/functions/get-html-translation-table.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ Description arrayget_html_translation_table - inttable + inttable intquote_style @@ -27,7 +27,8 @@ There are two new constants (HTML_ENTITIES, HTML_SPECIALCHARS) that allow you to - specify the table you want. And as in the + specify the table you want. Default value for table + is HTML_SPECIALCHARS. And as in the htmlspecialchars and htmlentities functions you can optionally specify the quote_style you are working with. The default is diff --git a/reference/strings/functions/metaphone.xml b/reference/strings/functions/metaphone.xml index 2620d990ef..076697534a 100644 --- a/reference/strings/functions/metaphone.xml +++ b/reference/strings/functions/metaphone.xml @@ -1,5 +1,5 @@ - + @@ -11,6 +11,7 @@ stringmetaphone stringstr + intphones Calculates the metaphone key of str. @@ -22,6 +23,7 @@ English pronunciation. The metaphone generated keys are of variable length. + Metaphone was developed by Lawrence Philips <lphilips at verity dot com>. It is described in ["Practical diff --git a/reference/strings/functions/wordwrap.xml b/reference/strings/functions/wordwrap.xml index c07e624f1c..9ca6861664 100644 --- a/reference/strings/functions/wordwrap.xml +++ b/reference/strings/functions/wordwrap.xml @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ stringstr intwidth stringbreak - booleancut + boolcut Returns a string with str wrapped diff --git a/reference/url/functions/get-headers.xml b/reference/url/functions/get-headers.xml index 669d499678..e11414c289 100644 --- a/reference/url/functions/get-headers.xml +++ b/reference/url/functions/get-headers.xml @@ -1,5 +1,5 @@ - + get_headers @@ -19,7 +19,7 @@ by the server in response to a HTTP request. - If the optional format parameter is true, + If the optional format parameter is &true;, get_headers parses the response and sets the array's keys. diff --git a/reference/url/functions/get-meta-tags.xml b/reference/url/functions/get-meta-tags.xml index 1b040bc4eb..038b03ce7c 100755 --- a/reference/url/functions/get-meta-tags.xml +++ b/reference/url/functions/get-meta-tags.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ arrayget_meta_tags stringfilename - intuse_include_path + booluse_include_path Opens filename and parses it line by line @@ -23,7 +23,7 @@ </head>. - Setting use_include_path to 1 will result + Setting use_include_path to &true; will result in PHP trying to open the file along the standard include path as per the include_path directive. This is used for local files, not URLs. diff --git a/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml b/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml index b54faee7d3..c6689331ba 100644 --- a/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml +++ b/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml @@ -1,5 +1,5 @@ - + xsl_xsltprocessor_transform_to_uri @@ -10,9 +10,8 @@ Procedural style boolxsl_xsltprocessor_transform_to_uri - nodedoc + objectdoc stringuri - boolclone Object oriented style (method) @@ -20,9 +19,8 @@ bool transformToUri - nodedoc + objectdoc stringuri - boolclone &warn.experimental.func; diff --git a/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml b/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml index ac70d5a587..228dbb5f8a 100644 --- a/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml +++ b/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml @@ -1,5 +1,5 @@ - + xsl_xsltprocessor_transform_to_xml @@ -10,8 +10,7 @@ Procedural style boolxsl_xsltprocessor_transform_to_xml - nodedoc - boolclone + objectdoc Object oriented style (method) @@ -19,8 +18,7 @@ bool transformToXml - nodedoc - boolclone + objectdoc &warn.experimental.func; diff --git a/reference/yaz/functions/yaz-wait.xml b/reference/yaz/functions/yaz-wait.xml index 5dbf2d2dbf..0cfa2de3cc 100644 --- a/reference/yaz/functions/yaz-wait.xml +++ b/reference/yaz/functions/yaz-wait.xml @@ -1,5 +1,5 @@ - + @@ -10,7 +10,7 @@ Description intyaz_wait - arrayoptions + array&options This function carries out networked (blocked) activity for