diff --git a/reference/funchand/functions/forward-static-call-array.xml b/reference/funchand/functions/forward-static-call-array.xml new file mode 100644 index 0000000000..9524c42563 --- /dev/null +++ b/reference/funchand/functions/forward-static-call-array.xml @@ -0,0 +1,148 @@ + + + + + forward_static_call_array + Call a static method and pass the arguments as array + + + + &reftitle.description; + + mixedforward_static_call_array + callbackfunction + arrayparameters + + + Calls a user defined function or method given by the function + parameter. This function must be called within a method context, et can't be + used outside a class. All arguments of the forwarded method are passed as values, + and as an array, similarly to call_user_func_array. + + + + + &reftitle.parameters; + + + + function + + + The function or method to be called. This parameter may be an &array;, + with the name of the class, and the method, or a &string;, with a function + name. + + + + + parameter + + + One parameter, gathering all the method parameter in one array. + + + + Note that the parameters for forward_static_call_array are + not passed by reference. + + + + + + + + + + &reftitle.returnvalues; + + Returns the function result, or &false; on error. + + + + + &reftitle.examples; + + + <function>forward_static_call_array</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + forward_static_call + call_user_func + call_user_func_array + is_callable + &seealso.callback; + + + + + + + diff --git a/reference/funchand/functions/forward-static-call.xml b/reference/funchand/functions/forward-static-call.xml new file mode 100644 index 0000000000..bfbe5a0393 --- /dev/null +++ b/reference/funchand/functions/forward-static-call.xml @@ -0,0 +1,142 @@ + + + + + forward_static_call + Call a static method + + + + &reftitle.description; + + mixedforward_static_call + callbackfunction + mixedparameter + mixed... + + + Calls a user defined function or method given by the function + parameter, with the following arguments. This function must be called within a method + context, et can't be used outside a class. + + + + + &reftitle.parameters; + + + + function + + + The function or method to be called. This parameter may be an array, + with the name of the class, and the method, or a string, with a function + name. + + + + + parameter + + + Zero or more parameters to be passed to the function. + + + + + + + + + &reftitle.returnvalues; + + Returns the function result, or &false; on error. + + + + + &reftitle.examples; + + + <function>forward_static_call</function> example + + +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + forward_static_call_array + call_user_func_array + call_user_func + is_callable + &seealso.callback; + + + + + + + diff --git a/reference/imap/functions/imap-gc.xml b/reference/imap/functions/imap-gc.xml new file mode 100644 index 0000000000..2eb6791ae9 --- /dev/null +++ b/reference/imap/functions/imap-gc.xml @@ -0,0 +1,85 @@ + + + + + imap_gc + Clears IMAP cache + + + &reftitle.description; + + stringimap_gc + resourceimap_stream + intcaches + + + Purges the cache of entries of a specific type. + + + + &reftitle.parameters; + + + &imap.imap-stream.description; + + caches + + + Specifies the cache to purge. It may one or a combinaison + of the following constants : + IMAP_GC_ELT (message cache elements), + IMAP_GC_ENV (enveloppe and bodies), + IMAP_GC_TEXTS (texts). + + + + + + + + &reftitle.returnvalues; + + Returns &true;. + + + + &reftitle.examples; + + + <function>imap_gc</function> example + + +]]> + + + + + + + diff --git a/reference/openssl/functions/openssl-random-pseudo-bytes.xml b/reference/openssl/functions/openssl-random-pseudo-bytes.xml new file mode 100644 index 0000000000..4b390681ea --- /dev/null +++ b/reference/openssl/functions/openssl-random-pseudo-bytes.xml @@ -0,0 +1,114 @@ + + + + + openssl_random_pseudo_bytes + Generate a pseudo-random string + + + + &reftitle.description; + + boolopenssl_random_pseudo_bytes + stringlength + stringstrong + + + openssl_random_pseudo_bytes returns a &string; with + length caracters. It also indicates if it has used + a strong algorithm to produce those pseudo-random bytes in the second argument. + + + + + &reftitle.parameters; + + + + length + + + The length of the desired string. Must be a positive integer. PHP will + try to cast this parameter to a non-null integer to use it. + + + + + strong + + + If a strong algorithm was used, or not, as a boolean. + This parameter will be &null; if an error occurrs. + + + + + + + + + &reftitle.returnvalues; + + Returns the generated &string; in cas of success, or &false; in case of error. + + + + + &reftitle.examples; + + + <function>openssl_random_pseudo_bytes</function> example + + +]]> + + &example.outputs.similar; + + + + + + + + + +