diff --git a/reference/ldap/functions/ldap-get-option.xml b/reference/ldap/functions/ldap-get-option.xml index 292e7b4614..70714de75f 100644 --- a/reference/ldap/functions/ldap-get-option.xml +++ b/reference/ldap/functions/ldap-get-option.xml @@ -10,7 +10,7 @@ &reftitle.description; boolldap_get_option - LDAP\Connectionldap + LDAP\Connectionnullldap intoption arraystringintvalue&null; @@ -27,7 +27,9 @@ ldap - &ldap.parameter.ldap; + Either an LDAP\Connection instance, returned by + ldap_connect, to get the option for that connection, + or &null; to get the global option. @@ -242,6 +244,12 @@ + + 8.5.0 + + ldap is now nullable. + + &ldap.changelog.ldap-object; diff --git a/reference/openssl/functions/openssl-cms-encrypt.xml b/reference/openssl/functions/openssl-cms-encrypt.xml index fc347594cf..b6508b26d7 100644 --- a/reference/openssl/functions/openssl-cms-encrypt.xml +++ b/reference/openssl/functions/openssl-cms-encrypt.xml @@ -16,7 +16,7 @@ arraynullheaders intflags0 intencodingOPENSSL_ENCODING_SMIME - intcipher_algoOPENSSL_CIPHER_AES_128_CBC + stringintcipher_algoOPENSSL_CIPHER_AES_128_CBC This function encrypts content to one or more recipients, @@ -80,7 +80,7 @@ cipher_algo - A cypher to use. + A cipher to use. @@ -105,6 +105,13 @@ + + 8.5.0 + + cipher_algo is now of type int or string. + Previously, it was of type int. + + 8.1.0 diff --git a/reference/pcntl/functions/pcntl-getcpuaffinity.xml b/reference/pcntl/functions/pcntl-getcpuaffinity.xml index eea49f153d..1d130db0bb 100644 --- a/reference/pcntl/functions/pcntl-getcpuaffinity.xml +++ b/reference/pcntl/functions/pcntl-getcpuaffinity.xml @@ -9,11 +9,11 @@ &reftitle.description; - boolarraypcntl_getcpuaffinity - intnullpid&null; + arrayfalsepcntl_getcpuaffinity + intnullprocess_id&null; - Retrieve the cpu affinity of the pid. + Retrieve the cpu affinity of the process_id. @@ -21,7 +21,7 @@ &reftitle.parameters; - pid + process_id If &null;, the current process ID is used. @@ -43,11 +43,11 @@ &reftitle.errors; A ValueError is thrown when - pid is an invalid process id + process_id is an invalid process id or the cpu mask had failed to be created. - If pid is a process for which the current + If process_id is a process for which the current user has no allowed permission, a E_WARNING is emitted. diff --git a/reference/pcntl/functions/pcntl-setcpuaffinity.xml b/reference/pcntl/functions/pcntl-setcpuaffinity.xml index d4ee8b6437..9bc7b7247d 100644 --- a/reference/pcntl/functions/pcntl-setcpuaffinity.xml +++ b/reference/pcntl/functions/pcntl-setcpuaffinity.xml @@ -10,12 +10,12 @@ &reftitle.description; boolpcntl_setcpuaffinity - intnullpid&null; - arrayhmask + intnullprocess_id&null; + arraycpu_ids[] - Sets the cpu affinity for the pid with the cpu affinity mask given by - hmask. + Sets the cpu affinity for the process_id with the cpu affinity mask given by + cpu_ids. @@ -23,7 +23,7 @@ &reftitle.parameters; - pid + process_id If &null;, the current process ID is used. @@ -31,7 +31,7 @@ - hmask + cpu_ids The cpu affinity mask comprised of one or more cpu id for binding the process to. @@ -53,9 +53,9 @@ &reftitle.errors; A TypeError is thrown if one - of the cpu id from the hmask is invalid. + of the cpu id from the cpu_ids is invalid. A ValueError is thrown if - pid is an invalid process id + process_id is an invalid process id or the cpu mask had failed to be created. diff --git a/reference/pgsql/functions/pg-copy-from.xml b/reference/pgsql/functions/pg-copy-from.xml index 66e95866b8..64bc42f714 100644 --- a/reference/pgsql/functions/pg-copy-from.xml +++ b/reference/pgsql/functions/pg-copy-from.xml @@ -15,7 +15,7 @@ boolpg_copy_from PgSql\Connectionconnection stringtable_name - arrayrows + arrayTraversablerows stringseparator"\t" stringnull_as"\\\\N" @@ -48,7 +48,7 @@ rows - An array of data to be copied into table_name. + An iterable data to be copied into table_name. Each value in rows becomes a row in table_name. Each value in rows should be a delimited string of the values to insert into each field. Values should be linefeed terminated. @@ -95,6 +95,13 @@ + + 8.5.0 + + rows is now of type iterable. + Previously, it was of type array. + + &pgsql.changelog.connection-object; diff --git a/reference/spl/splfileobject/fwrite.xml b/reference/spl/splfileobject/fwrite.xml index 56aa534d3b..182395a4e2 100644 --- a/reference/spl/splfileobject/fwrite.xml +++ b/reference/spl/splfileobject/fwrite.xml @@ -11,7 +11,7 @@ public intfalseSplFileObject::fwrite stringdata - intlength0 + intnulllength&null; Writes the contents of data to the file @@ -34,7 +34,7 @@ length - If the length argument is given, writing will + If the length argument is int, writing will stop after length bytes have been written or the end of data is reached, whichever comes first. @@ -63,6 +63,12 @@ + + 8.5.0 + + length is now nullable. + + 7.4.0 diff --git a/reference/zlib/functions/deflate_init.xml b/reference/zlib/functions/deflate_init.xml index 00fc914ae9..9bdcd2697e 100644 --- a/reference/zlib/functions/deflate_init.xml +++ b/reference/zlib/functions/deflate_init.xml @@ -11,7 +11,7 @@ DeflateContextfalsedeflate_init intencoding - arrayoptions[] + arrayobjectoptions[] Initializes an incremental deflate context using the specified diff --git a/reference/zlib/functions/gzfile.xml b/reference/zlib/functions/gzfile.xml index 3d98ed3923..c790c1ea40 100644 --- a/reference/zlib/functions/gzfile.xml +++ b/reference/zlib/functions/gzfile.xml @@ -10,9 +10,9 @@ arrayfalsegzfile stringfilename - intuse_include_path0 + booluse_include_path&false; - + This function is identical to readgzfile, except that it returns the file in an array. @@ -32,11 +32,9 @@ use_include_path - - You can set this optional parameter to 1, if you - want to search for the file in the include_path too. - + + If set to &true;, files in the include_path are searched for too. + @@ -49,6 +47,30 @@ &return.falseforfailure;. + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + use_include_path is now of type bool. + Previously, it was of type int. + + + + + + + &reftitle.examples; @@ -67,6 +89,7 @@ foreach ($lines as $line) { + &reftitle.seealso; diff --git a/reference/zlib/functions/gzopen.xml b/reference/zlib/functions/gzopen.xml index 446c7a9dcd..f0bdd0c6c4 100644 --- a/reference/zlib/functions/gzopen.xml +++ b/reference/zlib/functions/gzopen.xml @@ -11,7 +11,7 @@ resourcefalsegzopen stringfilename stringmode - intuse_include_path0 + booluse_include_path&false; Opens a gzip (.gz) file for reading or writing. @@ -52,11 +52,9 @@ use_include_path - - You can set this optional parameter to 1, if you - want to search for the file in the include_path too. - + + If set to &true;, files in the include_path are searched for too. + @@ -73,6 +71,30 @@ If the open fails, the function returns &false;. + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + use_include_path is now of type bool. + Previously, it was of type int. + + + + + + + &reftitle.examples; diff --git a/reference/zlib/functions/inflate_init.xml b/reference/zlib/functions/inflate_init.xml index 5fd24c8e10..ff2bd40010 100644 --- a/reference/zlib/functions/inflate_init.xml +++ b/reference/zlib/functions/inflate_init.xml @@ -11,7 +11,7 @@ InflateContextfalseinflate_init intencoding - arrayoptions[] + arrayobjectoptions[] Initialize an incremental inflate context with the specified diff --git a/reference/zlib/functions/readgzfile.xml b/reference/zlib/functions/readgzfile.xml index 180bb26947..54380b50a0 100644 --- a/reference/zlib/functions/readgzfile.xml +++ b/reference/zlib/functions/readgzfile.xml @@ -61,6 +61,29 @@ &fs.emits.warning.on.failure; + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + use_include_path is now of type bool. + Previously, it was of type int. + + + + + + + &reftitle.seealso;