# php_manual

id: radius_get_attr
type: function
doc:
<comment>Description:</comment>
  Extracts an attribute
  
  Like Radius requests, each response may contain zero or more attributes. After a response has been
  received successfully by <strong>radius_send_request()</strong>, its attributes can be extracted one by one using
  <strong>radius_get_attr()</strong>. Each time <strong>radius_get_attr()</strong> is called, it gets the next attribute from the
  current response.

<comment>Return:</comment>
  <info>mixed</info>  Returns an associative array containing the attribute-type and the data, or error number \<= 0.

<comment>See Also:</comment>
   * <strong>radius_put_attr()</strong>
   * <strong>radius_get_vendor_attr()</strong>
   * <strong>radius_put_vendor_attr()</strong>
   * <strong>radius_send_request()</strong>


id: radius_get_tagged_attr_data
type: function
doc:
<comment>Description:</comment>
  Extracts the data from a tagged attribute
  
  If a tagged attribute has been returned from <strong>radius_get_attr()</strong>, <strong>radius_get_tagged_attr_data()</strong> will
  return the data from the attribute.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  The tagged attribute to be decoded.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the data from the tagged attribute  o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_get_attr()</strong>
   * <strong>radius_get_tagged_attr_tag()</strong>


id: radius_get_tagged_attr_tag
type: function
doc:
<comment>Description:</comment>
  Extracts the tag from a tagged attribute
  
  If a tagged attribute has been returned from <strong>radius_get_attr()</strong>, <strong>radius_get_tagged_attr_data()</strong> will
  return the tag from the attribute.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  The tagged attribute to be decoded.

<comment>Return:</comment>
  <info>intfalse</info>  Returns the tag from the tagged attribute  o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_get_attr()</strong>
   * <strong>radius_get_tagged_attr_data()</strong>


id: radius_get_vendor_attr
type: function
doc:
<comment>Description:</comment>
  Extracts a vendor specific attribute
  
  If <strong>radius_get_attr()</strong> returns <info>RADIUS_VENDOR_SPECIFIC</info>, <strong>radius_get_vendor_attr()</strong> may be called to
  determine the vendor.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array containing the attribute-type, vendor and the data, or <info>false</info>
         on error.

<comment>See Also:</comment>
   * <strong>radius_get_attr()</strong>
   * <strong>radius_put_vendor_attr()</strong>


id: radius_put_addr
type: function
doc:
<comment>Description:</comment>
  Attaches an IP address attribute
  
  Attaches an IP address attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$addr         </strong>  An IPv4 address in string form, such as <return>10.0.0.1</return>.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: radius_put_attr
type: function
doc:
<comment>Description:</comment>
  Attaches a binary attribute
  
  Attaches a binary attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$value        </strong>  The attribute value, which will be treated as a raw binary string.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_get_attr()</strong>
   * <strong>radius_get_vendor_attr()</strong>
   * <strong>radius_put_vendor_attr()</strong>


id: radius_put_int
type: function
doc:
<comment>Description:</comment>
  Attaches an integer attribute
  
  Attaches an integer attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>int     </info>  <strong>$value        </strong>  The attribute value.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_put_string()</strong>
   * <strong>radius_put_vendor_int()</strong>
   * <strong>radius_put_vendor_string()</strong>


id: radius_put_string
type: function
doc:
<comment>Description:</comment>
  Attaches a string attribute
  
  Attaches a string attribute to the current RADIUS request. In general, <strong>radius_put_attr()</strong> is a more
  useful function for attaching string attributes, as it is binary safe.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$value        </strong>  The attribute value. This value is expected by the underlying library to
                            be null terminated, therefore this parameter is not binary safe.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_put_int()</strong>
   * <strong>radius_put_vendor_int()</strong>
   * <strong>radius_put_vendor_string()</strong>


id: radius_put_vendor_addr
type: function
doc:
<comment>Description:</comment>
  Attaches a vendor specific IP address attribute
  
  Attaches an IP address vendor specific attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$vendor       </strong>  The vendor ID.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$addr         </strong>  An IPv4 address in string form, such as <return>10.0.0.1</return>.
  <info>        </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>        </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: radius_put_vendor_attr
type: function
doc:
<comment>Description:</comment>
  Attaches a vendor specific binary attribute
  
  Attaches a vendor specific binary attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$vendor       </strong>  The vendor ID.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$value        </strong>  The attribute value, which will be treated as a raw binary string.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_get_vendor_attr()</strong>


id: radius_put_vendor_int
type: function
doc:
<comment>Description:</comment>
  Attaches a vendor specific integer attribute
  
  Attaches a vendor specific integer attribute to the current RADIUS request.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$vendor       </strong>  The vendor ID.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>int     </info>  <strong>$value        </strong>  The attribute value.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_put_vendor_string()</strong>


id: radius_put_vendor_string
type: function
doc:
<comment>Description:</comment>
  Attaches a vendor specific string attribute
  
  Attaches a vendor specific string attribute to the current RADIUS request. In general,
  <strong>radius_put_vendor_attr()</strong> is a more useful function for attaching string attributes, as it is
  binary safe.
  
  A request must be created via <strong>radius_create_request()</strong> before this function can be called.

<comment>Param:</comment>
  <info>resource</info>  <strong>$radius_handle</strong>  The RADIUS resource.
  <info>int     </info>  <strong>$vendor       </strong>  The vendor ID.
  <info>int     </info>  <strong>$type         </strong>  The attribute type.
  <info>string  </info>  <strong>$value        </strong>  The attribute value. This value is expected by the underlying library to
                            be null terminated, therefore this parameter is not binary safe.
  <info>int     </info>  <strong>$options      </strong>  A bitmask of the attribute options. The available options include
                            <info>RADIUS_OPTION_TAGGED</info> and <info>RADIUS_OPTION_SALT</info>.
  <info>int     </info>  <strong>$tag          </strong>  The attribute tag. This parameter is ignored unless the
                            <info>RADIUS_OPTION_TAGGED</info> option is set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_put_vendor_int()</strong>


id: radius_request_authenticator
type: function
doc:
<comment>Description:</comment>
  Returns the request authenticator
  
  The request authenticator is needed for demangling mangled data like passwords and
  encryption-keys.

<comment>Return:</comment>
  <info>string</info>  Returns the request authenticator as string, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>radius_demangle()</strong>


id: radius_salt_encrypt_attr
type: function
doc:
<comment>Description:</comment>
  Salt-encrypts a value
  
  Applies the RADIUS salt-encryption algorithm to the given value.
  
  In general, this is achieved automatically by providing the <info>RADIUS_OPTION_SALT</info> option to an
  attribute setter function, but this function can be used if low-level request construction is
  required.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  The data to be salt-encrypted.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the salt-encrypted data  o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>radius_put_addr()</strong>
   * <strong>radius_put_attr()</strong>
   * <strong>radius_put_int()</strong>
   * <strong>radius_put_string()</strong>


id: radius_send_request
type: function
doc:
<comment>Description:</comment>
  Sends the request and waits for a reply
  
  After the Radius request has been constructed, it is sent by <strong>radius_send_request()</strong>.
  
  The <strong>radius_send_request()</strong> function sends the request and waits for a valid reply, retrying the
  defined servers in round-robin fashion as necessary.

<comment>Return:</comment>
  <info>int</info>  If a valid response is received, <strong>radius_send_request()</strong> returns the Radius code which
       specifies the type of the response. This will typically be <info>RADIUS_ACCESS_ACCEPT</info>,
       <info>RADIUS_ACCESS_REJECT</info>, or <info>RADIUS_ACCESS_CHALLENGE</info>. If no valid response is received,
       <strong>radius_send_request()</strong> returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>radius_create_request()</strong>


id: radius_server_secret
type: function
doc:
<comment>Description:</comment>
  Returns the shared secret
  
  The shared secret is needed as salt for demangling mangled data like passwords and
  encryption-keys.

<comment>Return:</comment>
  <info>string</info>  Returns the server's shared secret as string, or <info>false</info> on error.


id: radius_strerror
type: function
doc:
<comment>Description:</comment>
  Returns an error message
  
  If Radius-functions fail then they record an error message. This error message can be retrieved
  with this function.

<comment>Return:</comment>
  <info>string</info>  Returns error messages as string from failed radius functions.


id: random_bytes
type: function
doc:
<comment>Description:</comment>
  Generates cryptographically secure pseudo-random bytes
  
  Generates an arbitrary length string of cryptographic random bytes that are suitable for
  cryptographic use, such as when generating salts, keys or initialization vectors.
  
  The sources of randomness used for this function are as follows:
  
  On Windows, <strong>CryptGenRandom()</strong> will always be used. As of PHP 7.2.0, the CNG-API will always be used
  instead.
  
  On Linux, the getrandom(2) syscall will be used if available.
  
  On other platforms, /dev/urandom will be used.
  
  If none of the aforementioned sources are available, then an <class>Exception</class> will be thrown.
  
  Although this function was added to PHP in PHP 7.0, a userland implementation is available for PHP
  5.2 to 5.6, inclusive.

<comment>Param:</comment>
  <info>int</info>  <strong>$length</strong>  The length of the random string that should be returned in bytes.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the requested number of cryptographically secure random bytes.

<comment>See Also:</comment>
   * <strong>random_int()</strong>
   * <strong>openssl_random_pseudo_bytes()</strong>
   * <strong>bin2hex()</strong>


id: random_int
type: function
doc:
<comment>Description:</comment>
  Generates cryptographically secure pseudo-random integers
  
  Generates cryptographic random integers that are suitable for use where unbiased results are
  critical, such as when shuffling a deck of cards for a poker game.
  
  The sources of randomness used for this function are as follows:
  
  On Windows, <strong>CryptGenRandom()</strong> will always be used. As of PHP 7.2.0, the CNG-API will always be used
  instead.
  
  On Linux, the getrandom(2) syscall will be used if available.
  
  On other platforms, /dev/urandom will be used.
  
  If none of the aforementioned sources are available, then an <class>Exception</class> will be thrown.
  
  Although this function was added to PHP in PHP 7.0, a userland implementation is available for PHP
  5.2 to 5.6, inclusive.

<comment>Param:</comment>
  <info>int</info>  <strong>$min</strong>  The lowest value to be returned, which must be <info>PHP_INT_MIN</info> or higher.
  <info>int</info>  <strong>$max</strong>  The highest value to be returned, which must be less than or equal to <info>PHP_INT_MAX</info>.

<comment>Return:</comment>
  <info>int</info>  Returns a cryptographically secure random integer in the range <strong>$min</strong> to <strong>$max</strong>, inclusive.

<comment>See Also:</comment>
   * <strong>random_bytes()</strong>


id: rar_wrapper_cache_stats
type: function
doc:
<comment>Description:</comment>
  Cache hits and misses for the URL wrapper
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>string</info>  


id: rawurldecode
type: function
doc:
<comment>Description:</comment>
  Decode URL-encoded strings
  
  Returns a string in which the sequences with percent (<return>%</return>) signs followed by two hex digits have
  been replaced with literal characters.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  The URL to be decoded.

<comment>Return:</comment>
  <info>string</info>  Returns the decoded URL, as a string.

<comment>See Also:</comment>
   * <strong>rawurlencode()</strong>
   * <strong>urldecode()</strong>
   * <strong>urlencode()</strong>
   * RFC 3986


id: rawurlencode
type: function
doc:
<comment>Description:</comment>
  URL-encode according to RFC 3986
  
  Encodes the given string according to RFC 3986.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  The URL to be encoded.

<comment>Return:</comment>
  <info>string</info>  Returns a string in which all non-alphanumeric characters except <return>-_.~</return> have been replaced
          with a percent (<return>%</return>) sign followed by two hex digits.  This is the encoding described in RFC
          3986 for protecting literal characters from being interpreted as special URL delimiters,
          and for protecting URLs from being mangled by transmission media with character
          conversions (like some email systems).  Prior to PHP 5.3.0, rawurlencode encoded tildes
          (<return>~</return>) as per RFC 1738.
          
          Prior to PHP 5.3.0, rawurlencode encoded tildes (<return>~</return>) as per RFC 1738.

<comment>See Also:</comment>
   * <strong>rawurldecode()</strong>
   * <strong>urldecode()</strong>
   * <strong>urlencode()</strong>
   * RFC 3986


id: read_exif_data
type: function
doc:
<comment>Description:</comment>
  Alias di exif_read_data
  
  Questa funzione è sinonimo di:  <strong>exif_read_data()</strong>.


id: readgzfile
type: function
doc:
<comment>Description:</comment>
  Output a gz-file
  
  Reads a file, decompresses it and writes it to standard output.
  
  <strong>readgzfile()</strong> can be used to read a file which is not in gzip format; in this case <strong>readgzfile()</strong>
  will directly  read from the file without decompression.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename        </strong>  The file name. This file will be opened from the filesystem and its
                             contents written to standard output.
  <info>int   </info>  <strong>$use_include_path</strong>  You can set this optional parameter to <return>1</return>, if you want to search for the
                             file in the include_path too.

<comment>Return:</comment>
  <info>intfalse</info>  Returns the number of (uncompressed) bytes read from the file on success, o <info>false</info> in
            caso di fallimento

<comment>See Also:</comment>
   * <strong>gzpassthru()</strong>
   * <strong>gzfile()</strong>
   * <strong>gzopen()</strong>


id: readline
type: function
doc:
<comment>Description:</comment>
  Reads a line
  
  Reads a single line from the user. You must add this line to the history yourself using
  <strong>readline_add_history()</strong>.

<comment>Param:</comment>
  <info>stringnull</info>  <strong>$prompt</strong>  You may specify a string with which to prompt the user.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a single string from the user. The line returned has the ending newline
               removed. If there is no more data to read, then <info>false</info> is returned.


id: readline_add_history
type: function
doc:
<comment>Description:</comment>
  Adds a line to the history
  
  This function adds a line to the command line history.

<comment>Param:</comment>
  <info>string</info>  <strong>$prompt</strong>  The line to be added in the history.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: readline_callback_handler_install
type: function
doc:
<comment>Description:</comment>
  Initializes the readline callback interface and terminal, prints the prompt and returns
  immediately
  
  Readline Callback Interface Example 10) { $prompting = false; readline_callback_handler_remove();
  } else { readline_callback_handler_install("[$c] Enter something: ", 'rl_callback'); }
  }
  
  $c = 1;
  $prompting = true;
  
  readline_callback_handler_install("[$c] Enter something: ", 'rl_callback');
  
  while ($prompting) { $w = NULL; $e = NULL; $n = stream_select($r = array(STDIN), $w, $e, null); if
  ($n && in_array(STDIN, $r)) { // read a character, will call the callback when a newline is
  entered readline_callback_read_char(); }
  }
  
  echo "Prompting disabled. All done.\n";
  ?>
  ]]>

<comment>Param:</comment>
  <info>string  </info>  <strong>$prompt  </strong>  The prompt message.
  <info>callable</info>  <strong>$callback</strong>  The <strong>$callback</strong> function takes one parameter; the user input returned.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>readline_callback_handler_remove()</strong>
   * <strong>readline_callback_read_char()</strong>
   * <strong>stream_select()</strong>


id: readline_callback_handler_remove
type: function
doc:
<comment>Description:</comment>
  Removes a previously installed callback handler and restores terminal settings
  
  Removes a previously installed callback handler and restores terminal settings.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if a previously installed callback handler was removed, or <info>false</info> if one could
        not be found.

<comment>See Also:</comment>
   * <strong>readline_callback_handler_install()</strong>
   * <strong>readline_callback_read_char()</strong>


id: readline_callback_read_char
type: function
doc:
<comment>Description:</comment>
  Reads a character and informs the readline callback interface when a line is received
  
  Reads a character of user input. When a line is received, this function informs the readline
  callback interface installed using <strong>readline_callback_handler_install()</strong> that a line is ready for
  input.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.

<comment>See Also:</comment>
   * <strong>readline_callback_handler_install()</strong>
   * <strong>readline_callback_handler_remove()</strong>


id: readline_clear_history
type: function
doc:
<comment>Description:</comment>
  Clears the history
  
  This function clears the entire command line history.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: readline_completion_function
type: function
doc:
<comment>Description:</comment>
  Registers a completion function
  
  This function registers a completion function. This is the same kind of functionality you'd get if
  you hit your tab key while using Bash.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  You must supply the name of an existing function which accepts a partial
                       command line and returns an array of possible matches.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: readline_info
type: function
doc:
<comment>Description:</comment>
  Gets/sets various internal readline variables
  
  Gets or sets various internal readline variables.

<comment>Param:</comment>
  <info>stringnull       </info>  <strong>$var_name</strong>  A variable name.
  <info>intstringboolnull</info>  <strong>$value   </strong>  If provided, this will be the new value of the setting.

<comment>Return:</comment>
  <info>mixed</info>  If called with no parameters, this function returns an array of values for all the setting
         readline uses.  The elements will be indexed by the following values: done, end,
         erase_empty_line, library_version, line_buffer, mark, pending_input, point, prompt,
         readline_name, and terminal_name.
         
         If called with one or two parameters, the old value is returned.


id: readline_list_history
type: function
doc:
<comment>Description:</comment>
  Lists the history
  
  Gets the entire command line history.

<comment>Return:</comment>
  <info>array</info>  Returns an array of the entire command line history.  The elements are indexed by integers
         starting at zero.


id: readline_on_new_line
type: function
doc:
<comment>Description:</comment>
  Inform readline that the cursor has moved to a new line
  
  Tells readline that the cursor has moved to a new line.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: readline_read_history
type: function
doc:
<comment>Description:</comment>
  Reads the history
  
  This function reads a command history from a file.

<comment>Param:</comment>
  <info>stringnull</info>  <strong>$filename</strong>  Path to the filename containing the command history.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: readline_redisplay
type: function
doc:
<comment>Description:</comment>
  Redraws the display
  
  Redraws readline to redraw the display.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: readline_write_history
type: function
doc:
<comment>Description:</comment>
  Writes the history
  
  This function writes the command history to a file.

<comment>Param:</comment>
  <info>stringnull</info>  <strong>$filename</strong>  Path to the saved file.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: realpath_cache_get
type: function
doc:
<comment>Description:</comment>
  Get realpath cache entries
  
  Get the contents of the realpath cache.

<comment>Return:</comment>
  <info>array</info>  Returns an array of realpath cache entries. The keys are original path entries, and the
         values are arrays of data items, containing the resolved path, expiration date, and other
         options kept in the cache.

<comment>See Also:</comment>
   * <strong>realpath_cache_size()</strong>


id: realpath_cache_size
type: function
doc:
<comment>Description:</comment>
  Get realpath cache size
  
  Get the amount of memory used by the realpath cache.

<comment>Return:</comment>
  <info>int</info>  Returns how much memory realpath cache is using.

<comment>See Also:</comment>
   * <strong>realpath_cache_get()</strong>
   * 
     The realpath_cache_size
     configuration option
    


id: recode
type: function
doc:
<comment>Description:</comment>
  Alias di recode_string
  
  Questa funzione è sinonimo di:  <strong>recode_string()</strong>.


id: recode_file
type: function
doc:
<comment>Description:</comment>
  Recode from file to file according to recode request
  
  Recode the file referenced by file handle <strong>$input</strong> into the file referenced by file handle <strong>$output</strong>
  according to the recode <strong>$request</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$request</strong>  The desired recode request type
  <info>resource</info>  <strong>$input  </strong>  A local file handle <info>resource</info> for  the <strong>$input</strong>
  <info>resource</info>  <strong>$output </strong>  A local file handle <info>resource</info> for  the <strong>$output</strong>

<comment>Return:</comment>
  <info>bool</info>  Returns <info>false</info>, if unable to comply, <info>true</info> otherwise.

<comment>See Also:</comment>
   * <strong>fopen()</strong>


id: recode_string
type: function
doc:
<comment>Description:</comment>
  Recode a string according to a recode request
  
  Recode the string <strong>$string</strong> according to the recode request <strong>$request</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$request</strong>  The desired recode request type
  <info>string</info>  <strong>$string </strong>  The <info>string</info> to be recoded

<comment>Return:</comment>
  <info>string</info>  Returns the recoded <info>string</info> or <info>false</info>, if unable to  perform the recode request.

<comment>See Also:</comment>
   * 
     The GNU Recode documentation of your installation for detailed 
     instructions about recode requests.
    


id: register_shutdown_function
type: function
doc:
<comment>Description:</comment>
  Register a function for execution on shutdown
  
  Registers a <strong>$callback</strong> to be executed after script execution finishes or <strong>exit()</strong> is called.
  
  Multiple calls to <strong>register_shutdown_function()</strong> can be made, and each will be called in the same
  order as they were registered. If you call <strong>exit()</strong> within one registered shutdown function,
  processing will stop completely and no other registered shutdown functions will be called.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  The shutdown callback to register.
                       
                       The shutdown callbacks are executed as the part of the request, so it's
                       possible to send output from them and access output buffers.
  <info>mixed   </info>  <strong>$args    </strong>  It is possible to pass parameters to the shutdown function by passing
                       additional parameters.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.

<comment>See Also:</comment>
   * auto_append_file
   * <strong>exit()</strong>
   * The section on connection handling


id: register_tick_function
type: function
doc:
<comment>Description:</comment>
  Register a function for execution on each tick
  
  Registers the given <strong>$callback</strong> to be executed when a tick is called.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  The function to register.
  <info>mixed   </info>  <strong>$args    </strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * declare
   * <strong>unregister_tick_function()</strong>


id: reset
type: function
doc:
<comment>Description:</comment>
  Reimposta il puntatore interno di un array sulla posizione iniziale


id: restore_exception_handler
type: function
doc:
<comment>Description:</comment>
  Ripristina la funzione di gestione delle eccezioni definita in precedenza


id: rmdir
type: function
doc:
<comment>Description:</comment>
  Rimuove una directory
  
  Tenta di rimuovere la directory denominata <strong>$dirname</strong>. La directory deve essere vuota e le relative
  autorizzazioni devono consentirlo. In caso di errore, verrà generato un errore di livello
  <info>E_WARNING</info>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$dirname</strong>  Percorso della directory.
  <info>resource</info>  <strong>$context</strong>  Il supporto per il contesto è stato
                      aggiunto in PHP 5.0.0. Per la descrizione del <return>contesto</return>, fare riferimento a
                      .

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>is_dir()</strong>
   * <strong>mkdir()</strong>
   * <strong>unlink()</strong>


id: round
type: function
doc:
<comment>Description:</comment>
  Arrotonda un float
  
  Restituisce il valore arrotondato di <strong>$val</strong> con la <strong>$precision</strong> specificata (numero di cifre dopo il
  punto decimale). <strong>$precision</strong> può anche essere negativa o zero (valore predefinito).

<comment>Param:</comment>
  <info>float</info>  <strong>$val      </strong>  Il valore da arrotondare.
  <info>int  </info>  <strong>$precision</strong>  Il numero facoltativo di cifre decimali a cui arrotondare.
                     
                     Se la <strong>$precision</strong> è positiva, <strong>$val</strong> viene arrotondato a <strong>$precision</strong> cifre
                     significative dopo il punto decimale.
                     
                     Se la <strong>$precision</strong> è negativa, <strong>$val</strong> viene arrotondato a <strong>$precision</strong> cifre
                     significative prima del punto decimale, cioè al multiplo più vicino di <return>pow(10,
                     -precision)</return>, ad esempio per una <strong>$precision</strong> di -1 <strong>$val</strong> viene arrotondato a
                     decine, per una <strong>$precision</strong> di -2 a centinaia, ecc.
  <info>int  </info>  <strong>$mode     </strong>  Utilizzare una delle seguenti costanti per specificare la modalità in cui si
                     verifica l'arrotondamento. CostantiDescrizione<info>PHP_ROUND_HALF_UP</info> Arrotonda <strong>$val</strong>
                     lontano dallo zero quando è a metà strada, convertendo 1,5 in 2 e -1,5 in -2.
                     <info>PHP_ROUND_HALF_DOWN</info> Arrotonda <strong>$val</strong> verso lo zero quando è a metà strada,
                     convertendo 1.5 in 1 e -1.5 in -1. <info>PHP_ROUND_HALF_EVEN</info> Arrotonda <strong>$val</strong> verso il
                     valore pari più vicino quando è a metà strada, convertendo 1,5 e 2,5 in 2.
                     <info>PHP_ROUND_HALF_ODD</info> Arrotonda <strong>$val</strong> verso il valore dispari più vicino quando è a
                     metà strada, convertendo 1,5 in 1 e e 2,5 in 3.

<comment>Return:</comment>
  <info>float</info>  Il valore arrotondato alla <strong>$precision</strong> data come <info>float</info>.

<comment>See Also:</comment>
   * <strong>ceil()</strong>
   * <strong>floor()</strong>
   * <strong>number_format()</strong>


id: rpmaddtag
type: function
doc:
<comment>Description:</comment>
  Add tag retrieved in query
  
  Add an additional retrieved tag in subsequent queries.

<comment>Param:</comment>
  <info>int</info>  <strong>$tag</strong>  One of RPMTAG_* constant, see the rpminfo constants page.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rpminfo()</strong>
   * <strong>rpmdbinfo()</strong>
   * <strong>rpmdbsearch()</strong>


id: rpmdbinfo
type: function
doc:
<comment>Description:</comment>
  Get information from installed RPM
  
  Retrieve information about an installed package, from the system RPM database.

<comment>Param:</comment>
  <info>string</info>  <strong>$nevr</strong>  Name with optional epoch, version and release.
  <info>bool  </info>  <strong>$full</strong>  If <info>true</info> all information headers for the file are retrieved, else only a minimal
                 set.

<comment>Return:</comment>
  <info>array</info>  An <info>array</info> of <info>array</info> of information or NULL on error.

<comment>See Also:</comment>
   * <strong>rpmaddtag()</strong>


id: rpmdbsearch
type: function
doc:
<comment>Description:</comment>
  Search RPM packages
  
  Search packages in the system RPM database.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern</strong>  Value to search for.
  <info>int   </info>  <strong>$rpmtag </strong>  Search criterion, one of RPMTAG_* constant, see the rpminfo constants page.
  <info>int   </info>  <strong>$rpmmire</strong>  Pattern type, one of RPMMIRE_* constant, see the rpminfo constants page. When
                    \< 0 the criterion must equals the value, and database index is used if possible.
  <info>bool  </info>  <strong>$full   </strong>  If <info>true</info> all information headers for the file are retrieved, else only a minimal
                    set.

<comment>Return:</comment>
  <info>array</info>  An <info>array</info> of <info>array</info> of information or NULL on error.

<comment>See Also:</comment>
   * <strong>rpmaddtag()</strong>


id: rpminfo
type: function
doc:
<comment>Description:</comment>
  Get information from a RPM file
  
  Retrieve information about a local file, a RPM package.

<comment>Param:</comment>
  <info>string</info>  <strong>$path </strong>  Path of the RPM file.
  <info>bool  </info>  <strong>$full </strong>  If <info>true</info> all information headers for the file are retrieved, else only a minimal
                  set.
  <info>string</info>  <strong>$error</strong>  If provided, will receive the possible error message, and will avoid a runtime
                  warning.

<comment>Return:</comment>
  <info>array</info>  An <info>array</info> of information or NULL on error.

<comment>See Also:</comment>
   * <strong>rpmaddtag()</strong>


id: rpmvercmp
type: function
doc:
<comment>Description:</comment>
  RPM version comparison
  
  Compare 2 RPM versions.

<comment>Param:</comment>
  <info>string</info>  <strong>$evr1</strong>  First epoch:version-release string
  <info>string</info>  <strong>$evr2</strong>  Second epoch:version-release string

<comment>Return:</comment>
  <info>int</info>  Returns
       \< 0 if evr1 is less than evr2, &gt; 0 if evr1 is greater than evr2, and 0 if they are equal.


id: rrd_create
type: function
doc:
<comment>Description:</comment>
  Creates rrd database file
  
  Creates the rdd database file.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Filename for newly created rrd file.
  <info>array </info>  <strong>$options </strong>  Options for rrd create - list of strings. See man page of rrd create for whole
                     list of options.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: rrd_error
type: function
doc:
<comment>Description:</comment>
  Gets latest error message
  
  Returns latest global rrd error message.

<comment>Return:</comment>
  <info>string</info>  Latest error message.


id: rrd_fetch
type: function
doc:
<comment>Description:</comment>
  Fetch the data for graph as array
  
  Gets data for graph output from RRD database file as array. This function has same result as
  <strong>rrd_graph()</strong>,  but fetched data are returned as array, no image file is created.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  RRD database file name.
  <info>array </info>  <strong>$options </strong>  Array of options for resolution specification.

<comment>Return:</comment>
  <info>array</info>  Returns information about retrieved graph data.


id: rrd_first
type: function
doc:
<comment>Description:</comment>
  Gets the timestamp of the first sample from rrd file
  
  Returns the first data sample from the specified RRA of the RRD file.

<comment>Param:</comment>
  <info>string</info>  <strong>$file    </strong>  RRD database file name.
  <info>int   </info>  <strong>$raaindex</strong>  The index number of the RRA that is to be examined. Default value is 0.

<comment>Return:</comment>
  <info>int</info>  Integer number of unix timestamp, <info>false</info> if some error occurs.


id: rrd_graph
type: function
doc:
<comment>Description:</comment>
  Creates image from a data
  
  Creates image for a particular data from RRD file.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The filename to output the graph to. This will generally end in either <return>.png</return>,
                     <return>.svg</return> or <return>.eps</return>, depending on the format you want to output.
  <info>array </info>  <strong>$options </strong>  Options for generating image. See man page of rrd graph for all possible
                     options. All options (data definitions, variable defintions, etc.) are allowed.

<comment>Return:</comment>
  <info>array</info>  Array with information about generated image is returned, <info>false</info> when error occurs.


id: rrd_info
type: function
doc:
<comment>Description:</comment>
  Gets information about rrd file
  
  Returns information about particular RRD database file.

<comment>Param:</comment>
  <info></info>  <strong>$file</strong>  RRD database file name.

<comment>Return:</comment>
  <info>array</info>  Array with information about requsted RRD file, <info>false</info> when error occurs.


id: rrd_last
type: function
doc:
<comment>Description:</comment>
  Gets unix timestamp of the last sample
  
  Returns the UNIX timestamp of the most recent update of the RRD database.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  RRD database file name.

<comment>Return:</comment>
  <info>int</info>  Integer as unix timestamp of the most recent data from the RRD database.


id: rrd_lastupdate
type: function
doc:
<comment>Description:</comment>
  Gets information about last updated data
  
  Gets array of the UNIX timestamp and the values stored for each date in the most recent update of
  the RRD database file.

<comment>Param:</comment>
  <info></info>  <strong>$file</strong>  RRD database file name.

<comment>Return:</comment>
  <info>array</info>  Array of information about last update, <info>false</info> when error occurs.


id: rrd_restore
type: function
doc:
<comment>Description:</comment>
  Restores the RRD file from XML dump
  
  Restores the RRD file from the XML dump.

<comment>Param:</comment>
  <info>string</info>  <strong>$xml_file</strong>  XML filename with the dump of the original RRD database file.
  <info>string</info>  <strong>$rrd_file</strong>  Restored RRD database file name.
  <info>array </info>  <strong>$options </strong>  Array of options for restoring. See man page for rrd restore.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> on success, <info>false</info> otherwise.


id: rrd_tune
type: function
doc:
<comment>Description:</comment>
  Tunes some RRD database file header options
  
  Change some options in the RRD dabase header file. E.g. renames the source for the data etc.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  RRD database file name.
  <info>array </info>  <strong>$options </strong>  Options with RRD database file properties which will be changed. See rrd tune
                     man page for details.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> on success, <info>false</info> otherwise.


id: rrd_update
type: function
doc:
<comment>Description:</comment>
  Updates the RRD database
  
  Updates the RRD database file. The input data is time interpolated according to the properties of
  the RRD database file.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  RRD database file name. This database will be updated.
  <info>array </info>  <strong>$options </strong>  Options for updating the RRD database. This is list of strings. See man page of
                     rrd update for whole list of options.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> on success, <info>false</info> when error occurs.


id: rrd_version
type: function
doc:
<comment>Description:</comment>
  Gets information about underlying rrdtool library
  
  Returns information about underlying rrdtool library.

<comment>Return:</comment>
  <info>string</info>  String with rrdtool version number e.g. "1.4.3".


id: rrd_xport
type: function
doc:
<comment>Description:</comment>
  Exports the information about RRD database
  
  Exports the information about RRD database file. This data can be converted to XML file via user
  space PHP script and then restored back as RRD database file.

<comment>Param:</comment>
  <info>array</info>  <strong>$options</strong>  Array of options for the export, see rrd xport man page.

<comment>Return:</comment>
  <info>array</info>  Array with information about RRD database file, <info>false</info> when error occurs.


id: rrdc_disconnect
type: function
doc:
<comment>Description:</comment>
  Close any outstanding connection to rrd caching daemon
  
  Close any outstanding connection to rrd caching daemon.
  
  This function is automatically called when the whole PHP process is terminated. It depends on used
  SAPI. For example, it's called automatically at the end of command line script.
  
  It's up user whether he wants to call this function at the end of every request or otherwise.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: runkit7_constant_add
type: function
doc:
<comment>Description:</comment>
  Similar to define(), but allows defining in class definitions as well

<comment>Param:</comment>
  <info>string</info>  <strong>$constname    </strong>  Name of constant to declare.  Either a string to indicate a global
                          constant, or <return>classname::constname</return> to indicate a class constant.
  <info>mixed </info>  <strong>$value        </strong>  NULL, Bool, Long, Double, String, Array, or Resource value to store in the
                          new constant.
  <info>int   </info>  <strong>$newVisibility</strong>  Visibility of the constant, for class constants. Public by default. One of
                          the <info>RUNKIT7_ACC_*</info> constants.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>define()</strong>
   * <strong>runkit7_constant_redefine()</strong>
   * <strong>runkit7_constant_remove()</strong>


id: runkit7_constant_redefine
type: function
doc:
<comment>Description:</comment>
  Redefine an already defined constant

<comment>Param:</comment>
  <info>string</info>  <strong>$constname    </strong>  Constant to redefine.  Either the name of a global constant, or
                          <return>classname::constname</return> indicating class constant.
  <info>mixed </info>  <strong>$value        </strong>  Value to assign to the constant.
  <info>string</info>  <strong>$newVisibility</strong>  The new visibility of the constant, for class constants. Unchanged by
                          default. One of the <info>RUNKIT7_ACC_*</info> constants.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_constant_add()</strong>
   * <strong>runkit7_constant_remove()</strong>


id: runkit7_constant_remove
type: function
doc:
<comment>Description:</comment>
  Remove/Delete an already defined constant

<comment>Param:</comment>
  <info>string</info>  <strong>$constname</strong>  Name of the constant to remove.  Either the name of a global constant, or
                      <return>classname::constname</return> indicating a class constant.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>define()</strong>
   * <strong>runkit7_constant_add()</strong>
   * <strong>runkit7_constant_redefine()</strong>


id: runkit7_function_add
type: function
doc:
<comment>Description:</comment>
  Add a new function, similar to create_function

<comment>Param:</comment>
  <info>string </info>  <strong>$funcname           </strong>  Name of the function to be created
  <info>string </info>  <strong>$arglist            </strong>  Comma separated argument list
  <info>string </info>  <strong>$code               </strong>  Code making up the function
  <info>Closure</info>  <strong>$closure            </strong>  A <class>closure</class> that defines the function.
  <info>bool   </info>  <strong>$return_by_reference</strong>  Whether the function should return by reference.
  <info>string </info>  <strong>$doc_comment        </strong>  The doc comment of the function.
  <info>string </info>  <strong>$return_type        </strong>  The return type of the function.
  <info>bool   </info>  <strong>$is_strict          </strong>  Whether the function should behave as if it were declared in a file
                                 with <return>strict_types=1</return>

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>create_function()</strong>
   * <strong>runkit7_function_redefine()</strong>
   * <strong>runkit7_function_copy()</strong>
   * <strong>runkit7_function_rename()</strong>
   * <strong>runkit7_function_remove()</strong>
   * <strong>runkit7_method_add()</strong>


id: runkit7_function_copy
type: function
doc:
<comment>Description:</comment>
  Copy a function to a new function name

<comment>Param:</comment>
  <info>string</info>  <strong>$funcname  </strong>  Name of the existing function
  <info>string</info>  <strong>$targetname</strong>  Name of the new function to copy the definition to

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_function_add()</strong>
   * <strong>runkit7_function_redefine()</strong>
   * <strong>runkit7_function_rename()</strong>
   * <strong>runkit7_function_remove()</strong>


id: runkit7_function_redefine
type: function
doc:
<comment>Description:</comment>
  Replace a function definition with a new implementation
    
  
  Per default, solo
  le funzioni in userspace possono essere rimosse, rinominate o modificate. Per
  effettuare l'override delle funzioni interne, si deve abilitare il parametro
  <return>runkit.internal_override</return> nel file php.ini.

<comment>Param:</comment>
  <info>string </info>  <strong>$funcname           </strong>  Name of function to redefine
  <info>string </info>  <strong>$arglist            </strong>  New list of arguments to be accepted by function
  <info>string </info>  <strong>$code               </strong>  New code implementation
  <info>Closure</info>  <strong>$closure            </strong>  A <class>closure</class> that defines the function.
  <info>bool   </info>  <strong>$return_by_reference</strong>  Whether the function should return by reference.
  <info>string </info>  <strong>$doc_comment        </strong>  The doc comment of the function.
  <info>string </info>  <strong>$return_type        </strong>  The return type of the function.
  <info>string </info>  <strong>$is_strict          </strong>  Whether the function behaves as if it was declared in a file with
                                 <return>strict_types=1</return>

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_function_add()</strong>
   * <strong>runkit7_function_copy()</strong>
   * <strong>runkit7_function_rename()</strong>
   * <strong>runkit7_function_remove()</strong>
   * <strong>runkit7_method_redefine()</strong>


id: runkit7_function_remove
type: function
doc:
<comment>Description:</comment>
  Remove a function definition
    
  
  Per default, solo
  le funzioni in userspace possono essere rimosse, rinominate o modificate. Per
  effettuare l'override delle funzioni interne, si deve abilitare il parametro
  <return>runkit.internal_override</return> nel file php.ini.

<comment>Param:</comment>
  <info>string</info>  <strong>$funcname</strong>  Name of the function to be deleted

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_function_add()</strong>
   * <strong>runkit7_function_copy()</strong>
   * <strong>runkit7_function_redefine()</strong>
   * <strong>runkit7_function_rename()</strong>


id: runkit7_function_rename
type: function
doc:
<comment>Description:</comment>
  Change a function's name
    
  
  Per default, solo
  le funzioni in userspace possono essere rimosse, rinominate o modificate. Per
  effettuare l'override delle funzioni interne, si deve abilitare il parametro
  <return>runkit.internal_override</return> nel file php.ini.

<comment>Param:</comment>
  <info>string</info>  <strong>$funcname</strong>  Current function name
  <info>string</info>  <strong>$newname </strong>  New function name

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_function_add()</strong>
   * <strong>runkit7_function_copy()</strong>
   * <strong>runkit7_function_redefine()</strong>
   * <strong>runkit7_function_remove()</strong>


id: runkit7_import
type: function
doc:
<comment>Description:</comment>
  Process a PHP file importing function and class definitions, overwriting where appropriate
    
  
  Similar to <strong>include()</strong>. However, any code residing outside of a function or class is simply ignored.
  Additionally, depending on the value of <strong>$flags</strong>, any functions or classes which already exist in
  the currently running environment may be automatically overwritten by their new definitions.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Filename to import function and class definitions from
  <info>int   </info>  <strong>$flags   </strong>  Bitwise OR of the <return>RUNKIT7_IMPORT_*</return> family of constants.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: runkit7_method_add
type: function
doc:
<comment>Description:</comment>
  Dynamically adds a new method to a given class

<comment>Param:</comment>
  <info>string </info>  <strong>$classname  </strong>  The class to which this method will be added
  <info>string </info>  <strong>$methodname </strong>  The name of the method to add
  <info>string </info>  <strong>$args       </strong>  Comma-delimited list of arguments for the newly-created method
  <info>string </info>  <strong>$code       </strong>  The code to be evaluated when <strong>$methodname</strong> is called
  <info>Closure</info>  <strong>$closure    </strong>  A <class>closure</class> that defines the method.
  <info>int    </info>  <strong>$flags      </strong>  The type of method to create, can be <info>RUNKIT7_ACC_PUBLIC</info>,
                         <info>RUNKIT7_ACC_PROTECTED</info> or <info>RUNKIT7_ACC_PRIVATE</info> optionally combined via
                         bitwise OR with <info>RUNKIT7_ACC_STATIC</info>
  <info>string </info>  <strong>$doc_comment</strong>  The doc comment of the method.
  <info>string </info>  <strong>$return_type</strong>  The return type of the method.
  <info>bool   </info>  <strong>$is_strict  </strong>  Whether the method behaves as if it were declared in a file with
                         <return>strict_types=1</return>

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_method_copy()</strong>
   * <strong>runkit7_method_redefine()</strong>
   * <strong>runkit7_method_remove()</strong>
   * <strong>runkit7_method_rename()</strong>
   * <strong>runkit7_function_add()</strong>


id: runkit7_method_copy
type: function
doc:
<comment>Description:</comment>
  Copies a method from class to another

<comment>Param:</comment>
  <info>string</info>  <strong>$dClass </strong>  Destination class for copied method
  <info>string</info>  <strong>$dMethod</strong>  Destination method name
  <info>string</info>  <strong>$sClass </strong>  Source class of the method to copy
  <info>string</info>  <strong>$sMethod</strong>  Name of the method to copy from the source class. If this parameter is omitted,
                    the value of <strong>$dMethod</strong> is assumed.

<comment>Return:</comment>
  <info>bool</info>  

<comment>See Also:</comment>
   * <strong>runkit7_method_add()</strong>
   * <strong>runkit7_method_redefine()</strong>
   * <strong>runkit7_method_remove()</strong>
   * <strong>runkit7_method_rename()</strong>
   * <strong>runkit7_function_copy()</strong>


id: runkit7_method_redefine
type: function
doc:
<comment>Description:</comment>
  Dynamically changes the code of the given method

<comment>Param:</comment>
  <info>string </info>  <strong>$classname  </strong>  The class in which to redefine the method
  <info>string </info>  <strong>$methodname </strong>  The name of the method to redefine
  <info>string </info>  <strong>$args       </strong>  Comma-delimited list of arguments for the redefined method
  <info>string </info>  <strong>$code       </strong>  The new code to be evaluated when <strong>$methodname</strong> is called
  <info>Closure</info>  <strong>$closure    </strong>  A <class>closure</class> that defines the method.
  <info>int    </info>  <strong>$flags      </strong>  The redefined method can be <info>RUNKIT7_ACC_PUBLIC</info>, <info>RUNKIT7_ACC_PROTECTED</info> or
                         <info>RUNKIT7_ACC_PRIVATE</info> optionally combined via bitwise OR with
                         <info>RUNKIT7_ACC_STATIC</info>
  <info>string </info>  <strong>$doc_comment</strong>  The doc comment of the method.
  <info>string </info>  <strong>$return_type</strong>  The return type of the method.
  <info>bool   </info>  <strong>$is_strict  </strong>  Whether the method behaves as if it was declared in a file with
                         <return>strict_types=1</return>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_method_add()</strong>
   * <strong>runkit7_method_copy()</strong>
   * <strong>runkit7_method_remove()</strong>
   * <strong>runkit7_method_rename()</strong>
   * <strong>runkit7_function_redefine()</strong>


id: runkit7_method_remove
type: function
doc:
<comment>Description:</comment>
  Dynamically removes the given method
  
  Questa funzione non
  può essere usata per manipolare il metodo attualmente in esecuzione (o concatenato).

<comment>Param:</comment>
  <info>string</info>  <strong>$classname </strong>  The class in which to remove the method
  <info>string</info>  <strong>$methodname</strong>  The name of the method to remove

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_method_add()</strong>
   * <strong>runkit7_method_copy()</strong>
   * <strong>runkit7_method_redefine()</strong>
   * <strong>runkit7_method_rename()</strong>
   * <strong>runkit7_function_remove()</strong>


id: runkit7_method_rename
type: function
doc:
<comment>Description:</comment>
  Dynamically changes the name of the given method
  
  Questa funzione non
  può essere usata per manipolare il metodo attualmente in esecuzione (o concatenato).

<comment>Param:</comment>
  <info>string</info>  <strong>$classname </strong>  The class in which to rename the method
  <info>string</info>  <strong>$methodname</strong>  The name of the method to rename
  <info>string</info>  <strong>$newname   </strong>  The new name to give to the renamed method

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>runkit7_method_add()</strong>
   * <strong>runkit7_method_copy()</strong>
   * <strong>runkit7_method_redefine()</strong>
   * <strong>runkit7_method_remove()</strong>
   * <strong>runkit7_function_rename()</strong>


id: runkit7_object_id
type: function
doc:
<comment>Description:</comment>
  Return the integer object handle for given object
    
  
  This function returns a unique identifier for the object. The object id is unique for the lifetime
  of the object. Once the object is destroyed, its id may be reused for other objects. This behavior
  is similar to <strong>spl_object_hash()</strong>.

<comment>Param:</comment>
  <info>object</info>  <strong>$obj</strong>  Any object.

<comment>Return:</comment>
  <info>int</info>  An integer identifier that is unique for each currently existing object and is always the
       same for each object.


id: runkit7_superglobals
type: function
doc:
<comment>Description:</comment>
  Return numerically indexed array of registered superglobals

<comment>Return:</comment>
  <info>array</info>  Returns a numerically indexed array of the currently registered superglobals. i.e. _GET,
         _POST, _REQUEST, _COOKIE, _SESSION, _SERVER, _ENV, _FILES

<comment>See Also:</comment>
   * Variable Scope


id: runkit7_zval_inspect
type: function
doc:
<comment>Description:</comment>
  Returns information about the passed in value with data types, reference counts, etc

<comment>Param:</comment>
  <info>string</info>  <strong>$value</strong>  The value to return the representation of

<comment>Return:</comment>
  <info>array</info>  


id: sapi_windows_cp_conv
type: function
doc:
<comment>Description:</comment>
  Convert string from one codepage to another
  
  Convert string from one codepage to another.

<comment>Param:</comment>
  <info>intstring</info>  <strong>$in_codepage </strong>  The codepage of the <strong>$subject</strong> string. Either the codepage name or
                            identifier.
  <info>intstring</info>  <strong>$out_codepage</strong>  The codepage to convert the <strong>$subject</strong> string to. Either the codepage name
                            or identifier.
  <info>string   </info>  <strong>$subject     </strong>  The string to convert.

<comment>Return:</comment>
  <info>string</info>  The <strong>$subject</strong> string converted to <strong>$out_codepage</strong>, or <info>null</info> on failure.

<comment>See Also:</comment>
   * <strong>sapi_windows_cp_get()</strong>
   * <strong>iconv()</strong>


id: sapi_windows_cp_get
type: function
doc:
<comment>Description:</comment>
  Get current codepage
  
  Gets the current codepage.

<comment>Param:</comment>
  <info>string</info>  <strong>$kind</strong>  The kind of operating system codepage to get, either <return>'ansi'</return> or <return>'oem'</return>. Any other
                 value refers to the current codepage of the process.

<comment>Return:</comment>
  <info>int</info>  If <strong>$kind</strong> is <return>'ansi'</return>, the current ANSI code page of the operating system is returned. If <strong>$kind</strong>
       is <return>'oem'</return>, the current OEM code page of the operating system is returned. Otherwise, the
       current codepage of the process is returned.

<comment>See Also:</comment>
   * <strong>sapi_windows_cp_set()</strong>


id: sapi_windows_cp_is_utf8
type: function
doc:
<comment>Description:</comment>
  Indicates whether the codepage is UTF-8 compatible
  
  Indicates whether the codepage of the current process is UTF-8 compatible.

<comment>Return:</comment>
  <info>bool</info>  Returns whether the codepage of the current process is UTF-8 compatible.

<comment>See Also:</comment>
   * <strong>sapi_windows_cp_get()</strong>


id: sapi_windows_cp_set
type: function
doc:
<comment>Description:</comment>
  Set process codepage
  
  Set the codepage of the current process.

<comment>Param:</comment>
  <info>int</info>  <strong>$cp</strong>  A codepage identifier.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sapi_windows_cp_get()</strong>


id: sapi_windows_generate_ctrl_event
type: function
doc:
<comment>Description:</comment>
  Send a CTRL event to another process
  
  Sends a CTRL event to another process in the same process group.

<comment>Param:</comment>
  <info>int</info>  <strong>$event</strong>  The <return>CTRL</return> even to send; either <info>PHP_WINDOWS_EVENT_CTRL_C</info> or
               <info>PHP_WINDOWS_EVENT_CTRL_BREAK</info>.
  <info>int</info>  <strong>$pid  </strong>  The ID of the process to which to send the event to. If <return>0</return> is given, the event is sent
               to all processes of the process group.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>proc_open()</strong>
   * <strong>sapi_windows_set_ctrl_handler()</strong>


id: sapi_windows_set_ctrl_handler
type: function
doc:
<comment>Description:</comment>
  Set or remove a CTRL event handler
  
  Sets or removes a <return>CTRL</return> event handler, which allows Windows CLI processes to intercept or ignore
  <return>CTRL+C</return> and <return>CTRL+BREAK</return> events. Note that in multithreaded environments, this is only possible when
  called from the main thread.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callable</strong>  A callback function to set or remove. If set, this function will be called
                       whenever a <return>CTRL+C</return> or <return>CTRL+BREAK</return> event occurs. The function is supposed to
                       have the following signature: <info>void</info>handler<info>int</info><strong>$event</strong> <strong>$event</strong> The <return>CTRL</return> event
                       which has been received; either <info>PHP_WINDOWS_EVENT_CTRL_C</info> or
                       <info>PHP_WINDOWS_EVENT_CTRL_BREAK</info>.  Setting a <info>null</info> <strong>$callable</strong> causes the process to
                       ignore <return>CTRL+C</return> events, but not <return>CTRL+BREAK</return> events.
                       
                       The <return>CTRL</return> event which has been received; either <info>PHP_WINDOWS_EVENT_CTRL_C</info> or
                       <info>PHP_WINDOWS_EVENT_CTRL_BREAK</info>.
  <info>int     </info>  <strong>$event   </strong>  The <return>CTRL</return> event which has been received; either <info>PHP_WINDOWS_EVENT_CTRL_C</info> or
                       <info>PHP_WINDOWS_EVENT_CTRL_BREAK</info>.
  <info>bool    </info>  <strong>$add     </strong>  If <info>true</info>, the handler is set. If <info>false</info>, the handler is removed.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sapi_windows_generate_ctrl_event()</strong>


id: sapi_windows_vt100_support
type: function
doc:
<comment>Description:</comment>
  Get or set VT100 support for the specified stream associated to an output buffer of a Windows
  console.
  
  If <strong>$enable</strong> is omitted, the function returns <info>true</info> if the stream <strong>$stream</strong> has VT100 control codes
  enabled, <info>false</info> otherwise.
  
  If <strong>$enable</strong> is specified, the function will try to enable or disable the VT100 features of the
  stream <strong>$stream</strong>. If the feature has been successfully enabled (or disabled), the function will
  return <info>true</info>, or <info>false</info> otherwise.
  
  At startup, PHP tries to enable the VT100 feature of the <info>STDOUT</info>/<info>STDERR</info> streams. By the way, if
  those streams are redirected to a file, the VT100 features may not be enabled.
  
  If VT100 support is enabled, it is possible to use control sequences as they are known from the
  VT100 terminal.  They allow the modification of the terminal's output. On Windows these sequences
  are called Console Virtual Terminal Sequences.
  
  This function uses the <info>ENABLE_VIRTUAL_TERMINAL_PROCESSING</info> flag implemented in the Windows 10 API,
  so the VT100 feature may not be available on older Windows versions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The stream on which the function will operate.
  <info>bool    </info>  <strong>$enable</strong>  If specified, the VT100 feature will be enabled (if <info>true</info>) or disabled (if
                     <info>false</info>).

<comment>Return:</comment>
  <info>bool</info>  If <strong>$enable</strong> is not specified: returns <info>true</info> if the VT100 feature is enabled, <info>false</info> otherwise.
        
        If <strong>$enable</strong> is specified: Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: scandir
type: function
doc:
<comment>Description:</comment>
  List files and directories inside the specified path
  
  Returns an <info>array</info> of files and directories from the <strong>$directory</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$directory    </strong>  The directory that will be scanned.
  <info>int     </info>  <strong>$sorting_order</strong>  By default, the sorted order is alphabetical in ascending order.  If the
                            optional <strong>$sorting_order</strong> is set to <info>SCANDIR_SORT_DESCENDING</info>, then the sort
                            order is alphabetical in descending order. If it is set to
                            <info>SCANDIR_SORT_NONE</info> then the result is unsorted.
  <info>resource</info>  <strong>$context      </strong>  For a description of the <strong>$context</strong> parameter,  refer to the streams
                            section of the manual.

<comment>Return:</comment>
  <info>array</info>  Returns an <info>array</info> of filenames on success, or <info>false</info> on  failure. If <strong>$directory</strong> is not a
         directory, then  boolean <info>false</info> is returned, and an error of level  <info>E_WARNING</info> is generated.

<comment>See Also:</comment>
   * <strong>opendir()</strong>
   * <strong>readdir()</strong>
   * <strong>glob()</strong>
   * <strong>is_dir()</strong>
   * <strong>sort()</strong>


id: scoutapm_get_calls
type: function
doc:
<comment>Description:</comment>
  Returns a list of instrumented calls that have occurred
  
  Returns a list of any instrumented function calls since <strong>scoutapm_get_calls()</strong> was last called. The
  list is cleared each time the function is called.

<comment>Return:</comment>
  <info>array</info>  <strong>scoutapm_get_calls()</strong> returns an array containing a list of all recorded calls to
         instrumented function calls.


id: scoutapm_list_instrumented_functions
type: function
doc:
<comment>Description:</comment>
  List functions scoutapm will instrument.
  
  Returns a list of the functions the extension will instrument.

<comment>Return:</comment>
  <info>array</info>  <strong>scoutapm_list_instrumented_functions()</strong> returns an array containing a list of all functions
         that the scoutapm extension is able to instrument in the current installation.


id: seaslog_get_author
type: function
doc:
<comment>Description:</comment>
  Get SeasLog author.

<comment>Return:</comment>
  <info>string</info>  Return SeasLog author as string.


id: seaslog_get_version
type: function
doc:
<comment>Description:</comment>
  Get SeasLog version.

<comment>Return:</comment>
  <info>string</info>  Return SeasLog version (SEASLOG_VERSION) as string.


id: serialize
type: function
doc:
<comment>Description:</comment>
  Genera una versione archiviabile del valore
  
  Genera una versione archiviabile di un valore
  
  Questo è utile per archiviare o passare valori a PHP senza perderne il tipo e la struttura.
  
  Per ottenere il valore dalla stringa serializzata, utilizzare la funzione <strong>unserialize()</strong>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value</strong>  Il valore da serializzare. <strong>serialize()</strong> gestisce tutti i tipi di variabili tranne il
                 tipo <info>resource</info>. Possono essere elaborati da <strong>serialize()</strong> array che contengano
                 riferimenti a se stessi. Saranno archiviati anche i riferimenti circolari negli
                 array/object. Ogni altro  riferimento verrà perso.
                 
                 Quando si esegue la serializzazione di oggetti, PHP cerca di eseguire la funzione
                 __sleep prima di cominciare la serializzazione.  Questo permette all'oggetto di
                 eseguire le ultime operazioni di chiusura prima  di essere serializzato.
                 Analogamente, quando l'oggetto viene ripristinato usando  <strong>unserialize()</strong> viene
                 chiamata la funzione membro __wakeup.
                 
                 I membri privati dell'oggetto avranno il nome della classe preposto al nome del
                 membro; i membri protetti avranno un '*' preposto al nome del membro. Questi valori
                 preposti sono delimitati da byte null.

<comment>Return:</comment>
  <info>string</info>  Restituisce una stringa contenente un flusso di bytes rappresentante <strong>$value</strong> che può essere
          archiviato ovunque.

<comment>See Also:</comment>
   * <strong>unserialize()</strong>
   * Serializing Objects


id: session_abort
type: function
doc:
<comment>Description:</comment>
  Discard session array changes and finish session
  
  <strong>session_abort()</strong> finishes session without saving data. Thus the original values in session data are
  kept.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * $_SESSION
   * 
     The session.auto_start
     configuration directive
    
   * <strong>session_start()</strong>
   * <strong>session_reset()</strong>
   * <strong>session_commit()</strong>


id: session_commit
type: function
doc:
<comment>Description:</comment>
  Alias di session_write_close
  
  Questa funzione è sinonimo di:  <strong>session_write_close()</strong>.


id: session_create_id
type: function
doc:
<comment>Description:</comment>
  Create new session id
  
  <strong>session_create_id()</strong> is used to create new session id for the current session. It returns collision
  free session id.
  
  If session is not active, collision check is omitted.
  
  Session ID is created according to php.ini settings.
  
  It is important to use the same user ID of your web server for GC task script. Otherwise, you may
  have permission problems especially with files save handler.

<comment>Param:</comment>
  <info>string</info>  <strong>$prefix</strong>  If <strong>$prefix</strong> is specified, new session id is prefixed by <strong>$prefix</strong>. Not all
                   characters are allowed within the session id.  Characters in the range <return>a-z A-Z
                   0-9 , (comma) and - (minus)</return> are allowed.

<comment>Return:</comment>
  <info>stringfalse</info>  <strong>session_create_id()</strong> returns new collision free session id for the current session. If
               it is used without active session, it omits collision check. On failure, <info>false</info> is
               returned.

<comment>See Also:</comment>
   * <strong>session_regenerate_id()</strong>
   * <strong>session_start()</strong>
   * session.use_strict_mode
   * SessionHandler::create_sid


id: session_gc
type: function
doc:
<comment>Description:</comment>
  Perform session data garbage collection
  
  <strong>session_gc()</strong> is used to perform session data GC(garbage collection). PHP does probability based
  session GC by default.
  
  Probability based GC works somewhat but it has few problems. 1) Low traffic sites' session data
  may not be deleted within the preferred duration. 2) High traffic sites' GC may be too frequent
  GC. 3) GC is performed on the user's request and the user will experience a GC delay.
  
  Therefore, it is recommended to execute GC periodically for production systems using, e.g., "cron"
  for UNIX-like systems. Make sure to disable probability based GC by setting
  session.gc_probability  to 0.

<comment>Return:</comment>
  <info>intfalse</info>  <strong>session_gc()</strong> returns number of deleted session data for success, <info>false</info> for failure.
            
            Old save handlers do not return number of deleted session data, but  only
            success/failure flag. If this is the case, number of deleted session data became 1
            regardless of actually deleted data.

<comment>See Also:</comment>
   * <strong>session_start()</strong>
   * <strong>session_destroy()</strong>
   * session.gc_probability


id: session_name
type: function
doc:
<comment>Description:</comment>
  Recupera e/o imposta il nome della sessione corrente
  
  <strong>session_name()</strong> ritorna il nome della sessione  corrente. Se viene fornito <strong>$name</strong>, <strong>session_name()</strong>
  aggiornerà il nome della sessione e restituirà il vecchio nome della sessione.
  
  Il nome di sessione è ripristinato al valore memorizzato in <return>session.name</return> al momento della request.
  Quindi, si deve chiamare <strong>session_name()</strong> ad ogni richiesta (e prima che <strong>session_start()</strong> o
  <strong>session_register()</strong> vengano chiamate).

<comment>Param:</comment>
  <info>string</info>  <strong>$name</strong>  Il nome della sessione si riferisce al nome della sessione, che viene utilizzato
                 nei cookies e negli URL (p.e. <return>PHPSESSID</return>). Dovrebbe contenere solo caratteri
                 alfanumerici; dovrebbe essere corto e descrittivo (p.e. per utenti con l'avviso di
                 cookie attivo). Se <strong>$name</strong> è specificato, il nome della sessione corrente viene
                 cambiato al suo valore.
                 
                  Il nome di sessione non può essere composto da sole cifre numeriche, deve essere
                 presente almeno una lettera. In caso contrario un nuovo nome è generato ogni volta.
                 
                 Il nome di sessione non può essere composto da sole cifre numeriche, deve essere
                 presente almeno una lettera. In caso contrario un nuovo nome è generato ogni volta.

<comment>Return:</comment>
  <info>string</info>  Restituisce il nome della sessione corrente. Se viene passato il <strong>$name</strong> e la funzione
          aggiorna il nome della sessione, viene restituito il nome della vecchia sessione.

<comment>See Also:</comment>
   * 
     La direttiva di configurazione session.name

    


id: session_regenerate_id
type: function
doc:
<comment>Description:</comment>
  Update the current session id with a newly generated one
    
  
  <strong>session_regenerate_id()</strong> will replace the current session id with a new one, and keep the current
  session information.
  
  When session.use_trans_sid is enabled, output must be started after <strong>session_regenerate_id()</strong> call.
  Otherwise, old session ID is used.
  
  Currently, session_regenerate_id does not handle an unstable network well, e.g. Mobile and WiFi
  network. Therefore, you may experience a lost session by calling session_regenerate_id.
  
  You should not destroy old session data immediately, but should use destroy time-stamp and control
  access to old session ID. Otherwise, concurrent access to page may result in inconsistent state,
  or you may have lost session, or it may cause client(browser) side race condition and may create
  many session ID needlessly. Immediate session data deletion disables session hijack attack
  detection and prevention also.

<comment>Param:</comment>
  <info>bool</info>  <strong>$delete_old_session</strong>  Whether to delete the old associated session file or not. You should
                             not delete old session if you need to avoid races caused by deletion or
                             detect/avoid session hijack attacks.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>session_id()</strong>
   * <strong>session_create_id()</strong>
   * <strong>session_start()</strong>
   * <strong>session_destroy()</strong>
   * <strong>session_reset()</strong>
   * <strong>session_name()</strong>


id: session_register_shutdown
type: function
doc:
<comment>Description:</comment>
  Session shutdown function
  
  Registers <strong>session_write_close()</strong> as a shutdown function.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: session_reset
type: function
doc:
<comment>Description:</comment>
  Re-initialize session array with original values
  
  <strong>session_reset()</strong> reinitializes a session with original values stored in session storage. This
  function requires an active session and discards changes in $_SESSION.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * $_SESSION
   * 
     The session.auto_start
     configuration directive
    
   * <strong>session_start()</strong>
   * <strong>session_abort()</strong>
   * <strong>session_commit()</strong>


id: session_status
type: function
doc:
<comment>Description:</comment>
  Returns the current session status
  
  <strong>session_status()</strong> is used to return the current session status.

<comment>Return:</comment>
  <info>int</info>  <info>PHP_SESSION_DISABLED</info> if sessions are disabled.<info>PHP_SESSION_NONE</info> if sessions are enabled, but
       none exists.<info>PHP_SESSION_ACTIVE</info> if sessions are enabled, and one exists.
       
       <info>PHP_SESSION_DISABLED</info> if sessions are disabled.
       
       <info>PHP_SESSION_NONE</info> if sessions are enabled, but none exists.
       
       <info>PHP_SESSION_ACTIVE</info> if sessions are enabled, and one exists.

<comment>See Also:</comment>
   * <strong>session_start()</strong>


id: set_error_handler
type: function
doc:
<comment>Description:</comment>
  Configura una funzione di gestione dell'errore definita dall'utente
  
  Configura una funzione utente (<strong>$error_handler</strong>) per  gestire gli errori in uno script.
  
  Questa funzione può essere utilizzata per definire un sistema personalizzato di gestione degli
  errori durante l'esecuzione, per esempio in applicazioni dove sia necessario svuotare dati o file
  in caso di un determinato errore critico, o quando sia necessario, in determinate condizioni,
  attivare un errore (con <strong>trigger_error()</strong>).
  
  È importante ricordare che il gestore degli errori standard di PHP viene completamente saltato per
  i tipi di errore specificati da <strong>$error_types</strong>  salvo che la funzione di callback non restituisca
  <info>false</info>. La configurazione di error_reporting non avrà effetto e il proprio gestore di errore sarà
  richiamato senza considerarla - in ogni caso sarà possibile leggere il valore corrente di
  <strong>error_reporting()</strong> ed agire di conseguenza. È di particolare rilevanza il fatto che questo valore
  sarà 0 se l' istruzione che causa l'errore viene preceduta dall' operatore di controllo errore @.
  
  Notare anche che è vostra responsabilità richiamare <strong>die()</strong> se necessario. Se la funzione di
  gestione dell'errore ritorna, lo script continuerà l'esecuzione con l'istruzione seguente a quella
  che ha causato un errore.
  
  I seguenti tipi di errori non saranno gestiti dalla funzione definita dall'utente: <info>E_ERROR</info>,
  <info>E_PARSE</info>, <info>E_CORE_ERROR</info>, <info>E_CORE_WARNING</info>, <info>E_COMPILE_ERROR</info>, <info>E_COMPILE_WARNING</info> indipendentemente da
  dove sono stati sollevati, e buona parte degli <info>E_STRICT</info> sollevati nel file dove viene richiamata
  <strong>set_error_handler()</strong>.
  
  Se occorrono errori prima che lo script sia in esecuzione (ad esempio durante l'upload di file) la
  funzione definita dell'utente non può essere richiamata perché non è ancora stata registrata in
  quel momento.

<comment>Param:</comment>
  <info>callable</info>  <strong>$error_handler</strong>  Una funzione di callback con la seguente firma. <info>null</info> può essere invece
                            passato per ripristinare il gestore di default. Invece di un nome di
                            funzione, possono anche essere forniti un array contenente un
                            riferimento ad un oggetto ed un nome di metodo.
                            
                            
                            <info>bool</info>handler<info>int</info><strong>$errno</strong><info>string</info><strong>$errstr</strong><info>string</info><strong>$errfile</strong><info>int</info><strong>$errline</strong><info>array</info><strong>$errcontext</strong><strong>$errno</strong>
                            Il primo parametro, <strong>$errno</strong>, contiene il livello dell'errore lanciato,
                            come intero. <strong>$errstr</strong> Il secondo parametro, <strong>$errstr</strong>, contiene il
                            messaggio di errore, come stringa. <strong>$errfile</strong> Il terzo parametro
                            opzionale, <strong>$errfile</strong>, contiene il nome del file che ha generato l'errore,
                            come stringa. <strong>$errline</strong> Il quarto parametro è opzionale, <strong>$errline</strong>, che
                            contiene il numero di riga relativo al file che ha generato l'errore,
                            come intero. <strong>$errcontext</strong> Il quinto parametro è opzionale, <strong>$errcontext</strong>,
                            che è un array che punta alla tabella simboli al punto dove l'errore è
                            stato generato. In altre parole, <strong>$errcontext</strong> conterrà un vettore di
                            tutte le variabili che esistono nello scope dove l'errore è avvenuto. La
                            funzione utente che gestisce gli errori non dovrebbe mai modificare il
                            contesto dell'errore.  Questo parametro è stato DEPRECATO da PHP 7.2.0.
                            Fare affidamento su di esso è altamente scoraggiato.
                            
                            Il primo parametro, <strong>$errno</strong>, contiene il livello dell'errore lanciato,
                            come intero.
                            
                            Il secondo parametro, <strong>$errstr</strong>, contiene il messaggio di errore, come
                            stringa.
                            
                            Il terzo parametro opzionale, <strong>$errfile</strong>, contiene il nome del file che ha
                            generato l'errore, come stringa.
                            
                            Il quarto parametro è opzionale, <strong>$errline</strong>, che contiene il numero di
                            riga relativo al file che ha generato l'errore, come intero.
                            
                            Il quinto parametro è opzionale, <strong>$errcontext</strong>, che è un array che punta
                            alla tabella simboli al punto dove l'errore è stato generato. In altre
                            parole, <strong>$errcontext</strong> conterrà un vettore di tutte le variabili che
                            esistono nello scope dove l'errore è avvenuto. La funzione utente che
                            gestisce gli errori non dovrebbe mai modificare il contesto dell'errore.
                            
                            Questo parametro è stato DEPRECATO da PHP 7.2.0. Fare affidamento su di
                            esso è altamente scoraggiato.
                            
                            Se la funzione ritorna <info>false</info> allora viene eseguito il normale gestore
                            degli errori.
  <info>int     </info>  <strong>$errno        </strong>  Il primo parametro, <strong>$errno</strong>, contiene il livello dell'errore lanciato,
                            come intero.
  <info>string  </info>  <strong>$errstr       </strong>  Il secondo parametro, <strong>$errstr</strong>, contiene il messaggio di errore, come
                            stringa.
  <info>string  </info>  <strong>$errfile      </strong>  Il terzo parametro opzionale, <strong>$errfile</strong>, contiene il nome del file che ha
                            generato l'errore, come stringa.
  <info>int     </info>  <strong>$errline      </strong>  Il quarto parametro è opzionale, <strong>$errline</strong>, che contiene il numero di
                            riga relativo al file che ha generato l'errore, come intero.
  <info>array   </info>  <strong>$errcontext   </strong>  Il quinto parametro è opzionale, <strong>$errcontext</strong>, che è un array che punta
                            alla tabella simboli al punto dove l'errore è stato generato. In altre
                            parole, <strong>$errcontext</strong> conterrà un vettore di tutte le variabili che
                            esistono nello scope dove l'errore è avvenuto. La funzione utente che
                            gestisce gli errori non dovrebbe mai modificare il contesto dell'errore.
                            
                            Questo parametro è stato DEPRECATO da PHP 7.2.0. Fare affidamento su di
                            esso è altamente scoraggiato.
  <info>int     </info>  <strong>$error_types  </strong>  Può essere usato per mascherare il triggering della funzione
                            <strong>$error_handler</strong> allo stesso modo dell'impostazione ini error_reporting
                            che controlla quali errori mostrare. Senza questa maschera settata l'
                            <strong>$error_handler</strong> verrà richiamata per ogni errore senza tener conto
                            dell'impostazione di error_reporting.

<comment>Return:</comment>
  <info>mixed</info>  Ritorna una stringa contenente l'eventuale precedente funzione degli errori. Ritorna <info>null</info>
         se la funzione degli errori è quella built-in. Anche in caso di errore (come funzione di
         callback invalida) viene restituito <info>null</info>. Se il gestore precedente era un metodo di classe,
         allora il valore ritornato sarà un array con due elementi: nome della classe e nome del
         metodo.

<comment>See Also:</comment>
   * <class>ErrorException</class>
   * <strong>error_reporting()</strong>
   * <strong>restore_error_handler()</strong>
   * <strong>trigger_error()</strong>
   * error level constants


id: set_exception_handler
type: function
doc:
<comment>Description:</comment>
  Imposta una funzione di gestione delle eccezioni definita dall'utente 
    
  
  Imposta la funzione predefinita per la gestione delle eccezioni se un'eccezione non viene
  individuata all'interno di un blocco try/catch. L'esecuzione sara' terminata dopo la chiamata
  della funzione <strong>$exception_handler</strong>.

<comment>Param:</comment>
  <info>callable</info>  <strong>$exception_handler</strong>  Nome della funzione da invocare in caso di eccezione non
                                individuata. Questa funzione di gestione deve accettare un
                                parametro, che sarà l'oggetto dell'eccezione che è stata lanciata.
                                Questa è la firma del gestore prima di PHP 7:
                                
                                <info>void</info>handler<info>Exception</info><strong>$ex</strong>
                                
                                Da PHP 7, la maggior parte degli errori vengono segnalati lanciando
                                eccezioni <class>Error</class>, che verranno catturate anche dal gestore. Sia <class>Error</class>
                                che <class>Exception</class> implementano l'interfaccia <class>Throwable</class>. Questa è la
                                firma del gestore da PHP 7:
                                
                                <info>void</info>handler<info>Throwable</info><strong>$ex</strong>
                                
                                Può essere invece passato <info>null</info>, per riportare questo gestore al suo
                                stato predefinito.
                                
                                Notare che fornendo un hint di tipo <class>Exception</class> esplicito per il
                                parametro <strong>$ex</strong> nella propria callback causerà problemi con la
                                gerarchia delle eccezioni modificata in PHP 7.

<comment>Return:</comment>
  <info>callable</info>  Restituisce il nome del gestore di eccezioni definito precedentemente, o <info>null</info> in caso di
            errore. Se non è stato definito alcun gestore precedente, viene anche restituito <info>null</info>.

<comment>See Also:</comment>
   * <strong>restore_exception_handler()</strong>
   * <strong>restore_error_handler()</strong>
   * <strong>error_reporting()</strong>
   * Le eccezioni di PHP 5


id: set_time_limit
type: function
doc:
<comment>Description:</comment>
  Limita il tempo massimo di esecuzione
  
  Imposta il limite massimo di durata dello script in secondi. Se si raggiunge questo limite, lo
  script restituisce un errore fatale. Per default questo limite è impostato a 30 secondi o, se
  esiste, al valore di <return>max_execution_time</return> definito nel php.ini.
  
  Quando chiamata, <strong>set_time_limit()</strong> riavvia il contatore del timeout da zero. In altre parole, se il
  timeout è impostato al default di 30 secondi, e dopo 25 secondi di esecuzione dello script viene
  fatta una chiamata tipo <return>set_time_limit(20)</return>, lo script verrà eseguito per un totale di 45 secondi
  prima del timeout.

<comment>Param:</comment>
  <info>int</info>  <strong>$seconds</strong>  Il tempo massimo di esecuzione, in secondi. Se impostato a zero, non viene imposto
                 alcun limite di tempo.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * max_execution_time
   * max_input_time


id: setcookie
type: function
doc:
<comment>Description:</comment>
  Send a cookie
  
  Alternative signature available as of PHP 7.3.0:
  
  <strong>setcookie()</strong> defines a cookie to be sent along with the rest of the HTTP headers. Like other
  headers, cookies must be sent before any output from your script (this is a protocol restriction).
  This requires that you place calls to this function prior to any output, including <return>\<html&gt;</return> and <return>\<head&gt;</return> tags as well as any whitespace.
  
  Once the cookies have been set, they can be accessed on the next page load with the $_COOKIE
  array. Cookie values may also exist in $_REQUEST.

<comment>Param:</comment>
  <info>string</info>  <strong>$name    </strong>  The name of the cookie.
  <info>string</info>  <strong>$value   </strong>  The value of the cookie.  This value is stored on the clients computer; do not
                     store sensitive information.  Assuming the <strong>$name</strong> is <return>'cookiename'</return>, this value is
                     retrieved through $_COOKIE['cookiename']
  <info>int   </info>  <strong>$expires </strong>  The time the cookie expires.  This is a Unix timestamp so is in number of
                     seconds since the epoch.  In other words, you'll most likely set this with the
                     <strong>time()</strong> function plus the number of seconds before you want it to expire.  Or
                     you might use <strong>mktime()</strong>. <return>time()+60*60*24*30</return> will set the cookie to expire in 30
                     days. If set to 0, or omitted, the cookie will expire at the end of the session
                     (when the browser closes).
                     
                      You may notice the <strong>$expires</strong> parameter takes on a Unix timestamp, as opposed to
                     the date format <return>Wdy, DD-Mon-YYYY HH:MM:SS GMT</return>, this is because PHP does this
                     conversion internally.
                     
                     You may notice the <strong>$expires</strong> parameter takes on a Unix timestamp, as opposed to
                     the date format <return>Wdy, DD-Mon-YYYY HH:MM:SS GMT</return>, this is because PHP does this
                     conversion internally.
  <info>string</info>  <strong>$path    </strong>  The path on the server in which the cookie will be available on. If set to <return>'/'</return>,
                     the cookie will be available within the entire <strong>$domain</strong>.  If set to <return>'/foo/'</return>, the
                     cookie will only be available within the <return>/foo/</return> directory and all
                     sub-directories such as <return>/foo/bar/</return> of <strong>$domain</strong>.  The default value is the current
                     directory that the cookie is being set in.
  <info>string</info>  <strong>$domain  </strong>  The (sub)domain that the cookie is available to. Setting this to a subdomain
                     (such as <return>'www.example.com'</return>) will make the cookie available to that subdomain
                     and all other sub-domains of it (i.e. w2.www.example.com). To make the cookie
                     available to the whole domain (including all subdomains of it), simply set the
                     value to the domain name (<return>'example.com'</return>, in this case).
                     
                     Older browsers still implementing the deprecated RFC 2109 may require a leading
                     <return>.</return> to match all subdomains.
  <info>bool  </info>  <strong>$secure  </strong>  Indicates that the cookie should only be transmitted over a secure HTTPS
                     connection from the client. When set to <info>true</info>, the cookie will only be set if a
                     secure connection exists. On the server-side, it's on the programmer to send
                     this kind of cookie only on secure connection (e.g. with respect to
                     $_SERVER["HTTPS"]).
  <info>bool  </info>  <strong>$httponly</strong>  When <info>true</info> the cookie will be made accessible only through the HTTP protocol.
                     This means that the cookie won't be accessible by scripting languages, such as
                     JavaScript. It has been suggested that this setting can effectively help to
                     reduce identity theft through XSS attacks (although it is not supported by all
                     browsers), but that claim is often disputed. <info>true</info> or <info>false</info>
  <info>array </info>  <strong>$options </strong>  An associative <info>array</info> which may have any of the keys <return>expires</return>, <return>path</return>, <return>domain</return>,
                     <return>secure</return>, <return>httponly</return> and <return>samesite</return>. If any other key is present an error of level
                     <info>E_WARNING</info> is generated. The values have the same meaning as described for the
                     parameters with the same name. The value of the <return>samesite</return> element should be
                     either <return>None</return>, <return>Lax</return> or <return>Strict</return>. If any of the allowed options are not given, their
                     default values are the same as the default values of the explicit parameters.
                     If the <return>samesite</return> element is omitted, no SameSite cookie attribute is set.

<comment>Return:</comment>
  <info>bool</info>  If output exists prior to calling this function, <strong>setcookie()</strong> will fail and return <info>false</info>. If
        <strong>setcookie()</strong> successfully runs, it will return <info>true</info>. This does not indicate whether the user
        accepted the cookie.

<comment>See Also:</comment>
   * <strong>header()</strong>
   * <strong>setrawcookie()</strong>
   * cookies section
   * RFC 6265
   * RFC 2109


id: setlocale
type: function
doc:
<comment>Description:</comment>
  Imposta i parametri di localizzazione
  
  Imposta i parametri di localizzazione.

<comment>Param:</comment>
  <info>int   </info>  <strong>$category</strong>  Il parametro <strong>$category</strong> è una costante (o stringa) che indica la categoria di
                     parametri coinvolta nelle impostazioni locali: <info>LC_ALL</info> la somma di tutte le
                     seguenti categorie <info>LC_COLLATE</info> per i confronti di stringhe, vedere <strong>strcoll()</strong>
                     <info>LC_CTYPE</info> per la classificazione dei caratteri e le conversioni, ad esempio
                     <strong>strtoupper()</strong> <info>LC_MONETARY</info> per <strong>localeconv()</strong> <info>LC_NUMERIC</info> per il separatore decimale
                     (vedere anche <strong>localeconv()</strong>) <info>LC_TIME</info> per la formattazione di data e orario con
                     <strong>strftime()</strong> <info>LC_MESSAGES</info> per le risposte del sistema (disponibile se PHP è stato
                     compilato con <return>libintl</return>)
                     
                     <info>LC_ALL</info> la somma di tutte le seguenti categorie
                     
                     <info>LC_COLLATE</info> per i confronti di stringhe, vedere <strong>strcoll()</strong>
                     
                     <info>LC_CTYPE</info> per la classificazione dei caratteri e le conversioni, ad esempio
                     <strong>strtoupper()</strong>
                     
                     <info>LC_MONETARY</info> per <strong>localeconv()</strong>
                     
                     <info>LC_NUMERIC</info> per il separatore decimale (vedere anche <strong>localeconv()</strong>)
                     
                     <info>LC_TIME</info> per la formattazione di data e orario con <strong>strftime()</strong>
                     
                     <info>LC_MESSAGES</info> per le risposte del sistema (disponibile se PHP è stato compilato
                     con <return>libintl</return>)
  <info>string</info>  <strong>$locale  </strong>  Se il parametro <strong>$locale</strong> è <info>null</info> oppure una stringa vuota <return>""</return>, i nomi locali
                     saranno impostati dai valori  delle omonime variabili d'ambiente, oppure da
                     "LANG".
                     
                     Se il parametro <strong>$locale</strong> vale <return>"0"</return>, le impostazioni localizzate non vengono
                     toccate, ma vengono restituiti i valori correnti.
                     
                     Se il parametro <strong>$locale</strong> è una matrice oppure è seguito da parametri
                     addizionali, allora si tenterà di impostare ciascun elemento, o parametro, fino
                     a quando non si ha successo. Questo è utile se l'impostazione locale è nota
                     sotto differenti nomi in sistemi differenti oppure per prevedere più casistiche
                     qualora alcune non fossero disponibili.
  <info>string</info>  <strong>$...     </strong>  (parametri opzionali, di tipo string o array, che contengono parametri di
                     localizzatione da provare in sequenza fino ad ottenere un successo.)

<comment>Return:</comment>
  <info>string</info>  La funzione restituisce le nuove impostazioni locali, oppure <info>false</info> se la funzionalità di
          localizzazione non è implementata sul sistema, se l'impostazione richiesta non esiste,
          oppure se il nome della categoria non è valida.
          
          Un nome di categoria non valido genera anche un warning. I nomi delle categoria possono
          essere trovati nella RFC 1766 e ISO 639. Differenti sistemi hanno differenti schemi di
          denominazione delle impostazioni locali.
          
          Il valore restituito da <strong>setlocale()</strong> dipende dal sistema su cui gira il PHP. La funzione
          restituisce fedelmente quello che la funzione di sistema restituisce.


id: setproctitle
type: function
doc:
<comment>Description:</comment>
  Set the process title
  
  Sets the process title of the current process.

<comment>Param:</comment>
  <info>string</info>  <strong>$title</strong>  The title to use as the process title.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.

<comment>See Also:</comment>
   * <strong>cli_set_process_title()</strong>
   * <strong>pcntl_fork()</strong>
   * <strong>setthreadtitle()</strong>


id: setrawcookie
type: function
doc:
<comment>Description:</comment>
  Send a cookie without urlencoding the cookie value
  
  Alternative signature available as of PHP 7.3.0:
  
  <strong>setrawcookie()</strong> is exactly the same as <strong>setcookie()</strong> except that the cookie value will not be
  automatically urlencoded when sent to the browser.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>setcookie()</strong>


id: setthreadtitle
type: function
doc:
<comment>Description:</comment>
  Set the thread title
  
  Sets the thread title.

<comment>Param:</comment>
  <info>string</info>  <strong>$title</strong>  The title to use as the thread title.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>pcntl_fork()</strong>
   * <strong>setproctitle()</strong>


id: settype
type: function
doc:
<comment>Description:</comment>
  Definisce il tipo di una variabile
  
  Definisce il tipo della variabile <strong>$var</strong> a <strong>$type</strong>.

<comment>Param:</comment>
  <info>mixed </info>  <strong>$var </strong>  La variabile da convertire.
  <info>string</info>  <strong>$type</strong>  I possibili valori di <strong>$type</strong> sono:  "boolean" (o, da PHP 4.2.0, "bool")  "integer"
                 (o, da PHP 4.2.0, "int")  "float" (possibile solo da PHP 4.2.0, per le versioni più
                 vecchie usare la variante deprecata "double")  "string"  "array"  "object"  "null"
                 (da PHP 4.2.0)
                 
                 "boolean" (o, da PHP 4.2.0, "bool")
                 
                 "integer" (o, da PHP 4.2.0, "int")
                 
                 "float" (possibile solo da PHP 4.2.0, per le versioni più vecchie usare la variante
                 deprecata "double")
                 
                 "string"
                 
                 "array"
                 
                 "object"
                 
                 "null" (da PHP 4.2.0)

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>gettype()</strong>
   * cast del tipo
   * manipolazione del tipo


id: sha1_file
type: function
doc:
<comment>Description:</comment>
  Calcola l'hash sha1 di un file
  
  Calcola l'hash sha1 di <strong>$filename</strong> usando il US Secure Hash Algorithm 1, e restituisce l'hash.
  L'hash è un numero esadecimale di 40 caratteri.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename  </strong>  Il nome del file
  <info>bool  </info>  <strong>$raw_output</strong>  Quando è impostato a <info>true</info>, l'hash sha1 è restituito in formato binario con
                       una lunghezza di 20 caratteri. Per default vale <info>false</info>.

<comment>Return:</comment>
  <info>string</info>  Restituisce una stringa se ha successo, <info>false</info> negli altri casi.

<comment>See Also:</comment>
   * <strong>sha1()</strong>
   * <strong>md5_file()</strong>
   * <strong>crc32()</strong>


id: shell_exec
type: function
doc:
<comment>Description:</comment>
  Esegue un comando attraverso la shell e restituisce l'output completo come stringa
  
  Questa funzione è identica all'operatore backtick.
  
  In Windows, la pipe sottostante viene aperta in modalità testo, il che può causare il il
  fallimento della funzione per l'output binario. È da considerare l'uso di <strong>popen()</strong> per questi casi.

<comment>Param:</comment>
  <info>string</info>  <strong>$cmd</strong>  Il comando che verrà eseguito.

<comment>Return:</comment>
  <info>string</info>  L'output del comando eseguito o <info>null</info> se si è verificato un errore o il comando non produce
          alcun output.
          
          Questa funzione può restituire <info>null</info> sia quando si verifica un errore sia quando il
          programma non produce output. Non è possibile rilevare errori di esecuzione utilizzando
          questa funzione. Dovrebbe essere usato <strong>exec()</strong> quando è richiesto l'accesso al codice di
          uscita del programma.

<comment>See Also:</comment>
   * <strong>exec()</strong>
   * <strong>escapeshellcmd()</strong>


id: shm_has_var
type: function
doc:
<comment>Description:</comment>
  Check whether a specific entry exists
  
  Checks whether a specific key exists inside a shared memory segment.

<comment>Param:</comment>
  <info>SysvSharedMemory</info>  <strong>$shm</strong>  A shared memory segment obtained from <strong>shm_attach()</strong>.
  <info>int             </info>  <strong>$key</strong>  The variable key.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the entry exists, otherwise <info>false</info>

<comment>See Also:</comment>
   * <strong>shm_get_var()</strong>
   * <strong>shm_put_var()</strong>


id: show_source
type: function
doc:
<comment>Description:</comment>
  Alias di highlight_file
  
  Questa funzione è sinonimo di:  <strong>highlight_file()</strong>.


id: simplexml_import_dom
type: function
doc:
<comment>Description:</comment>
  Get a SimpleXMLElement object from a DOM node
  
  This function takes a node of a DOM document and makes it into a SimpleXML node. This new object
  can then be used as a native SimpleXML element.

<comment>Param:</comment>
  <info>DOMNode</info>  <strong>$node      </strong>  A DOM Element node
  <info>string </info>  <strong>$class_name</strong>  You may use this optional parameter so that <strong>simplexml_import_dom()</strong> will
                        return an object of  the specified class. That class should extend the
                        <info>SimpleXMLElement</info> class.

<comment>Return:</comment>
  <info>SimpleXMLElementfalse</info>  Returns a <info>SimpleXMLElement</info> o <info>false</info> in caso di fallimento.
                         
                         Questa funzione può
                         restituire il Booleano <info>false</info>, ma può anche restituire un valore
                         non-Booleano valutato
                         come <info>false</info>. Fare riferimento alla sezione Booleans per maggiori 
                         informazioni. Usare l'operatore ===
                          per controllare il valore restituito da questa 
                         funzione.

<comment>See Also:</comment>
   * <strong>dom_import_simplexml()</strong>
   * 


id: simplexml_load_file
type: function
doc:
<comment>Description:</comment>
  Interprets an XML file into an object
    
  
  Convert the well-formed XML document in the given file to an object.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename  </strong>  Path to the XML file
                       
                       Libxml 2 unescapes the URI, so if you want to pass e.g. <return>b&c</return> as the URI
                       parameter <return>a</return>, you have to call
                       <return>simplexml_load_file(rawurlencode('http://example.com/?a=' .
                       urlencode('b&c')))</return>. Since PHP 5.1.0 you don't need to do this because PHP
                       will do it for you.
  <info>string</info>  <strong>$class_name</strong>  You may use this optional parameter so that <strong>simplexml_load_file()</strong> will return
                       an object of  the specified class. That class should extend the
                       <info>SimpleXMLElement</info> class.
  <info>int   </info>  <strong>$options   </strong>  Since PHP 5.1.0 and Libxml 2.6.0, you may also use the <strong>$options</strong> parameter to
                       specify additional Libxml parameters.
  <info>string</info>  <strong>$ns        </strong>  Namespace prefix or URI.
  <info>bool  </info>  <strong>$is_prefix </strong>  <info>true</info> if <strong>$ns</strong> is a prefix, <info>false</info> if it's a URI; defaults to <info>false</info>.

<comment>Return:</comment>
  <info>SimpleXMLElementfalse</info>  Returns an <info>object</info> of class <info>SimpleXMLElement</info> with properties containing the
                         data held within the XML document, o <info>false</info> in caso di fallimento.
                         
                         Questa funzione può
                         restituire il Booleano <info>false</info>, ma può anche restituire un valore
                         non-Booleano valutato
                         come <info>false</info>. Fare riferimento alla sezione Booleans per maggiori 
                         informazioni. Usare l'operatore ===
                          per controllare il valore restituito da questa 
                         funzione.

<comment>See Also:</comment>
   * <strong>simplexml_load_string()</strong>
   * SimpleXMLElement::__construct
   * 
   * <strong>libxml_use_internal_errors()</strong>
   * 


id: simplexml_load_string
type: function
doc:
<comment>Description:</comment>
  Interprets a string of XML into an object
    
  
  Takes a well-formed XML string and returns it as an object.

<comment>Param:</comment>
  <info>string</info>  <strong>$data      </strong>  A well-formed XML string
  <info>string</info>  <strong>$class_name</strong>  You may use this optional parameter so that <strong>simplexml_load_string()</strong> will
                       return an object of  the specified class. That class should extend the
                       <info>SimpleXMLElement</info> class.
  <info>int   </info>  <strong>$options   </strong>  Since PHP 5.1.0 and Libxml 2.6.0, you may also use the <strong>$options</strong> parameter to
                       specify additional Libxml parameters.
  <info>string</info>  <strong>$ns        </strong>  Namespace prefix or URI.
  <info>bool  </info>  <strong>$is_prefix </strong>  <info>true</info> if <strong>$ns</strong> is a prefix, <info>false</info> if it's a URI; defaults to <info>false</info>.

<comment>Return:</comment>
  <info>SimpleXMLElementfalse</info>  Returns an <info>object</info> of class <info>SimpleXMLElement</info> with properties containing the
                         data held within the xml document, o <info>false</info> in caso di fallimento.
                         
                         Questa funzione può
                         restituire il Booleano <info>false</info>, ma può anche restituire un valore
                         non-Booleano valutato
                         come <info>false</info>. Fare riferimento alla sezione Booleans per maggiori 
                         informazioni. Usare l'operatore ===
                          per controllare il valore restituito da questa 
                         funzione.

<comment>See Also:</comment>
   * <strong>simplexml_load_file()</strong>
   * SimpleXMLElement::__construct
   * 
   * <strong>libxml_use_internal_errors()</strong>
   * 


id: sleep
type: function
doc:
<comment>Description:</comment>
  Pausa dell'esecuzione
  
  Mette in pausa l'esecuzione del programma per il numero indicato di  secondi.

<comment>Param:</comment>
  <info>int</info>  <strong>$seconds</strong>  Tempo di pausa in secondi.

<comment>Return:</comment>
  <info>int</info>  Ritorna zero in caso di successo o <info>false</info> in caso di errore.
       
       Se la chiamata viene interrotta da un segnale, <strong>sleep()</strong> ritorna un valore non-zero. Su Windows
       questo valore è sempre <return>192</return> (cioè il valore di <info>WAIT_IO_COMPLETION</info> nelle Windows API). In altre
       piattaforme il valore di ritorno è il numero di secondi rimanenti di pausa.

<comment>See Also:</comment>
   * <strong>usleep()</strong>
   * <strong>time_nanosleep()</strong>
   * <strong>time_sleep_until()</strong>
   * <strong>set_time_limit()</strong>


id: snmp2_get
type: function
doc:
<comment>Description:</comment>
  Fetch an SNMP object
  
  The <strong>snmp2_get()</strong> function is used to read the value of an SNMP object specified by the <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The SNMP agent.
  <info>string     </info>  <strong>$community</strong>  The read community.
  <info>arraystring</info>  <strong>$object_id</strong>  The SNMP object.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>stdClassarraystringbool</info>  Returns SNMP object value on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>snmp2_set()</strong>


id: snmp2_getnext
type: function
doc:
<comment>Description:</comment>
  Fetch the SNMP object which follows the given object id
  
  The <strong>snmp2_get_next()</strong> function is used to read the value of the SNMP object that follows the
  specified <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$community</strong>  The read community.
  <info>arraystring</info>  <strong>$object_id</strong>  The SNMP object id which precedes the wanted one.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>stdClassarraystringbool</info>  Returns SNMP object value on success or <info>false</info> on error. In case of an
                           error, an E_WARNING message is shown.

<comment>See Also:</comment>
   * <strong>snmp2_get()</strong>
   * <strong>snmp2_walk()</strong>


id: snmp2_real_walk
type: function
doc:
<comment>Description:</comment>
  Return all objects including their respective object ID within the specified one
  
  The <strong>snmp2_real_walk()</strong> function is used to traverse over a number of SNMP objects starting from
  <strong>$object_id</strong> and return not only their values but also their object ids.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$community</strong>  The read community.
  <info>arraystring</info>  <strong>$object_id</strong>  The SNMP object id which precedes the wanted one.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Returns an associative array of the SNMP object ids and their values on success or
             <info>false</info> on error. In case of an error, an E_WARNING message is shown.

<comment>See Also:</comment>
   * <strong>snmp2_walk()</strong>


id: snmp2_set
type: function
doc:
<comment>Description:</comment>
  Set the value of an SNMP object
  
  <strong>snmp2_set()</strong> is used to set the value of an SNMP object specified by the <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$community</strong>  The write community.
  <info>arraystring</info>  <strong>$object_id</strong>  The SNMP object id.
  <info>arraystring</info>  <strong>$type     </strong>  The MIB defines the type of each object id. It has to be specified as a
                           single character from the below list.
                           
                           If <info>OPAQUE_SPECIAL_TYPES</info> was defined while compiling the SNMP library, the
                           following are also valid:
                           
                           Most of these will use the obvious corresponding ASN.1 type.  's', 'x',
                           'd' and 'b' are all different ways of specifying an OCTET STRING value,
                           and the 'u' unsigned type is also used for handling Gauge32 values.
                           
                           If the MIB-Files are loaded by into the MIB Tree with "snmp_read_mib" or
                           by specifying it in the libsnmp config, '=' may be used as the <strong>$type</strong>
                           parameter for all object ids as the type can then be automatically read
                           from the MIB.
                           
                           Note that there are two ways to set a variable of the type BITS like e.g.
                           "SYNTAX    BITS {telnet(0), ftp(1), http(2), icmp(3), snmp(4), ssh(5),
                           https(6)}":
                           
                           Using type "b" and a list of bit numbers. This method is not recommended
                           since GET query for the same OID would return e.g. 0xF8.
                           
                           Using type "x" and a hex number but without(!) the usual "0x" prefix.
                           
                           See examples section for more details.
  <info>arraystring</info>  <strong>$value    </strong>  The new value.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.
             
             If the SNMP host rejects the data type, an E_WARNING message like "Warning: Error in
             packet. Reason: (badValue) The value given has the wrong type or length." is shown. If
             an unknown or invalid OID is specified the warning probably reads "Could not add
             variable".

<comment>See Also:</comment>
   * <strong>snmp2_get()</strong>


id: snmp2_walk
type: function
doc:
<comment>Description:</comment>
  Fetch all the SNMP objects from an agent
  
  <strong>snmp2_walk()</strong> function is used to read all the values from an SNMP agent specified by the
  <strong>$hostname</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The SNMP agent (server).
  <info>string     </info>  <strong>$community</strong>  The read community.
  <info>arraystring</info>  <strong>$object_id</strong>  If <info>null</info>, <strong>$object_id</strong> is taken as the root of the SNMP objects tree and all
                           objects under that tree are returned as an array.
                           
                           If <strong>$object_id</strong> is specified, all the SNMP objects below that <strong>$object_id</strong>
                           are returned.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Returns an array of SNMP object values starting from the <strong>$object_id</strong> as root or <info>false</info> on
             error.

<comment>See Also:</comment>
   * <strong>snmp2_real_walk()</strong>


id: snmp3_get
type: function
doc:
<comment>Description:</comment>
  Fetch an SNMP object
  
  The <strong>snmp3_get()</strong> function is used to read the value of an SNMP object specified by the <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname          </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$security_name     </strong>  the security name, usually some kind of username
  <info>string     </info>  <strong>$security_level    </strong>  the security level (noAuthNoPriv|authNoPriv|authPriv)
  <info>string     </info>  <strong>$auth_protocol     </strong>  the authentication protocol (MD5 or SHA)
  <info>string     </info>  <strong>$auth_passphrase   </strong>  the authentication pass phrase
  <info>string     </info>  <strong>$privacy_protocol  </strong>  the privacy protocol (DES or AES)
  <info>string     </info>  <strong>$privacy_passphrase</strong>  the privacy pass phrase
  <info>arraystring</info>  <strong>$object_id         </strong>  The SNMP object id.
  <info>int        </info>  <strong>$timeout           </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries           </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>stdClassarraystringbool</info>  Returns SNMP object value on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>snmp3_set()</strong>


id: snmp3_getnext
type: function
doc:
<comment>Description:</comment>
  Fetch the SNMP object which follows the given object id
  
  The <strong>snmp3_getnext()</strong> function is used to read the value of the SNMP object that follows the
  specified <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname          </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$security_name     </strong>  the security name, usually some kind of username
  <info>string     </info>  <strong>$security_level    </strong>  the security level (noAuthNoPriv|authNoPriv|authPriv)
  <info>string     </info>  <strong>$auth_protocol     </strong>  the authentication protocol (MD5 or SHA)
  <info>string     </info>  <strong>$auth_passphrase   </strong>  the authentication pass phrase
  <info>string     </info>  <strong>$privacy_protocol  </strong>  the privacy protocol (DES or AES)
  <info>string     </info>  <strong>$privacy_passphrase</strong>  the privacy pass phrase
  <info>arraystring</info>  <strong>$object_id         </strong>  The SNMP object id.
  <info>int        </info>  <strong>$timeout           </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries           </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>stdClassarraystringbool</info>  Returns SNMP object value on success or <info>false</info> on error. In case of an
                           error, an E_WARNING message is shown.

<comment>See Also:</comment>
   * <strong>snmp3_get()</strong>
   * <strong>snmp3_walk()</strong>


id: snmp3_real_walk
type: function
doc:
<comment>Description:</comment>
  Return all objects including their respective object ID within the specified one
  
  The <strong>snmp3_real_walk()</strong> function is used to traverse over a number of SNMP objects starting from
  <strong>$object_id</strong> and return not only their values but also their object ids.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname          </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$security_name     </strong>  the security name, usually some kind of username
  <info>string     </info>  <strong>$security_level    </strong>  the security level (noAuthNoPriv|authNoPriv|authPriv)
  <info>string     </info>  <strong>$auth_protocol     </strong>  the authentication protocol (MD5 or SHA)
  <info>string     </info>  <strong>$auth_passphrase   </strong>  the authentication pass phrase
  <info>string     </info>  <strong>$privacy_protocol  </strong>  the privacy protocol (DES or AES)
  <info>string     </info>  <strong>$privacy_passphrase</strong>  the privacy pass phrase
  <info>arraystring</info>  <strong>$object_id         </strong>  The SNMP object id.
  <info>int        </info>  <strong>$timeout           </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries           </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Returns an associative array of the SNMP object ids and their values on success or
             <info>false</info> on error. In case of an error, an E_WARNING message is shown.

<comment>See Also:</comment>
   * <strong>snmpwalk()</strong>


id: snmp3_set
type: function
doc:
<comment>Description:</comment>
  Set the value of an SNMP object
  
  <strong>snmp3_set()</strong> is used to set the value of an SNMP object specified by the <strong>$object_id</strong>.
  
  Even if the security level does not use an auth or priv protocol/password valid values have to be
  specified.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname          </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$security_name     </strong>  the security name, usually some kind of username
  <info>string     </info>  <strong>$security_level    </strong>  the security level (noAuthNoPriv|authNoPriv|authPriv)
  <info>string     </info>  <strong>$auth_protocol     </strong>  the authentication protocol (MD5 or SHA)
  <info>string     </info>  <strong>$auth_passphrase   </strong>  the authentication pass phrase
  <info>string     </info>  <strong>$privacy_protocol  </strong>  the privacy protocol (DES or AES)
  <info>string     </info>  <strong>$privacy_passphrase</strong>  the privacy pass phrase
  <info>arraystring</info>  <strong>$object_id         </strong>  The SNMP object id.
  <info>arraystring</info>  <strong>$type              </strong>  The MIB defines the type of each object id. It has to be
                                    specified as a single character from the below list.
                                    
                                    If <info>OPAQUE_SPECIAL_TYPES</info> was defined while compiling the SNMP
                                    library, the following are also valid:
                                    
                                    Most of these will use the obvious corresponding ASN.1 type.
                                    's', 'x', 'd' and 'b' are all different ways of specifying an
                                    OCTET STRING value, and the 'u' unsigned type is also used for
                                    handling Gauge32 values.
                                    
                                    If the MIB-Files are loaded by into the MIB Tree with
                                    "snmp_read_mib" or by specifying it in the libsnmp config, '='
                                    may be used as the <strong>$type</strong> parameter for all object ids as the
                                    type can then be automatically read from the MIB.
                                    
                                    Note that there are two ways to set a variable of the type BITS
                                    like e.g. "SYNTAX    BITS {telnet(0), ftp(1), http(2), icmp(3),
                                    snmp(4), ssh(5), https(6)}":
                                    
                                    Using type "b" and a list of bit numbers. This method is not
                                    recommended since GET query for the same OID would return e.g.
                                    0xF8.
                                    
                                    Using type "x" and a hex number but without(!) the usual "0x"
                                    prefix.
                                    
                                    See examples section for more details.
  <info>arraystring</info>  <strong>$value             </strong>  The new value
  <info>int        </info>  <strong>$timeout           </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries           </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.
             
             If the SNMP host rejects the data type, an E_WARNING message like "Warning: Error in
             packet. Reason: (badValue) The value given has the wrong type or length." is shown. If
             an unknown or invalid OID is specified the warning probably reads "Could not add
             variable".


id: snmp3_walk
type: function
doc:
<comment>Description:</comment>
  Fetch all the SNMP objects from an agent
  
  <strong>snmp3_walk()</strong> function is used to read all the values from an SNMP agent specified by the
  <strong>$hostname</strong>.
  
  Even if the security level does not use an auth or priv protocol/password valid values have to be
  specified.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname          </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$security_name     </strong>  the security name, usually some kind of username
  <info>string     </info>  <strong>$security_level    </strong>  the security level (noAuthNoPriv|authNoPriv|authPriv)
  <info>string     </info>  <strong>$auth_protocol     </strong>  the authentication protocol (MD5 or SHA)
  <info>string     </info>  <strong>$auth_passphrase   </strong>  the authentication pass phrase
  <info>string     </info>  <strong>$privacy_protocol  </strong>  the privacy protocol (DES or AES)
  <info>string     </info>  <strong>$privacy_passphrase</strong>  the privacy pass phrase
  <info>arraystring</info>  <strong>$object_id         </strong>  If <info>null</info>, <strong>$object_id</strong> is taken as the root of the SNMP objects
                                    tree and all objects under that tree are returned as an array.
                                    
                                    If <strong>$object_id</strong> is specified, all the SNMP objects below that
                                    <strong>$object_id</strong> are returned.
  <info>int        </info>  <strong>$timeout           </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries           </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>arraybool</info>  Returns an array of SNMP object values starting from the <strong>$object_id</strong> as root or <info>false</info> on
             error.

<comment>See Also:</comment>
   * <strong>snmp3_real_walk()</strong>


id: snmp_get_quick_print
type: function
doc:
<comment>Description:</comment>
  Restituisce il valore corrente per il parametro quick_print della libreria UCD


id: snmp_get_valueretrieval
type: function
doc:
<comment>Description:</comment>
  Return the method how the SNMP values will be returned

<comment>Return:</comment>
  <info>int</info>  OR-ed combitantion of constants ( <info>SNMP_VALUE_LIBRARY</info> or <info>SNMP_VALUE_PLAIN</info> ) with possible
       SNMP_VALUE_OBJECT set.

<comment>See Also:</comment>
   * <strong>snmp_set_valueretrieval()</strong>
   * 


id: snmp_read_mib
type: function
doc:
<comment>Description:</comment>
  Reads and parses a MIB file into the active MIB tree
    
  
  This function is used to load additional, e.g. vendor specific, MIBs so that human readable OIDs
  like VENDOR-MIB::foo.1 instead of error prone numeric OIDs can be used.
  
  The order in which the MIBs are loaded does matter as the underlying Net-SNMP libary will print
  warnings if referenced objects cannot be resolved.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The filename of the MIB.

<comment>Return:</comment>
  <info>bool</info>  


id: snmp_set_enum_print
type: function
doc:
<comment>Description:</comment>
  Return all values that are enums with their enum value instead of the raw integer
    
  
  This function toggles if snmpwalk/snmpget etc. should automatically lookup enum values in the MIB
  and return them together with their human readable string.

<comment>Param:</comment>
  <info>bool</info>  <strong>$enable</strong>  As the value is interpreted as boolean by the Net-SNMP library, it can only be "0"
                 or "1".

<comment>Return:</comment>
  <info>bool</info>  


id: snmp_set_oid_numeric_print
type: function
doc:
<comment>Description:</comment>
  Set the OID output format
    
  
  Questa funzione è sinonimo di:  <strong>snmp_set_oid_output_format()</strong>.

<comment>Return:</comment>
  <info>bool</info>  

<comment>See Also:</comment>
   * <strong>snmp_set_oid_output_format()</strong>


id: snmp_set_oid_output_format
type: function
doc:
<comment>Description:</comment>
  Set the OID output format
    
  
  <strong>snmp_set_oid_output_format()</strong> sets the output format to be full or numeric.

<comment>Param:</comment>
  <info>int</info>  <strong>$format</strong>  Begining from PHP 5.4.0 four additional constants available:
                <info>SNMP_OID_OUTPUT_MODULE</info>DISMAN-EVENT-MIB::sysUpTimeInstance<info>SNMP_OID_OUTPUT_SUFFIX</info>sysUpTimeInstance<info>SNMP_OID_OUTPUT_UCD</info>system.sysUpTime.sysUpTimeInstance<info>SNMP_OID_OUTPUT_NONE</info>Undefined

<comment>Return:</comment>
  <info>bool</info>  Nessun valore viene restituito.


id: snmp_set_valueretrieval
type: function
doc:
<comment>Description:</comment>
  Specify the method how the SNMP values will be returned

<comment>Param:</comment>
  <info>int</info>  <strong>$method</strong>  

<comment>Return:</comment>
  <info>bool</info>  

<comment>See Also:</comment>
   * <strong>snmp_get_valueretrieval()</strong>
   * 


id: snmpgetnext
type: function
doc:
<comment>Description:</comment>
  Fetch the SNMP object which follows the given object id
    
  
  The <strong>snmpgetnext()</strong> function is used to read the value of the SNMP object that follows the specified
  <strong>$object_id</strong>.

<comment>Param:</comment>
  <info>string     </info>  <strong>$hostname </strong>  The hostname of the SNMP agent (server).
  <info>string     </info>  <strong>$community</strong>  The read community.
  <info>arraystring</info>  <strong>$object_id</strong>  The SNMP object id which precedes the wanted one.
  <info>int        </info>  <strong>$timeout  </strong>  The number of microseconds until the first timeout.
  <info>int        </info>  <strong>$retries  </strong>  The number of times to retry if timeouts occur.

<comment>Return:</comment>
  <info>stdClassarraystringbool</info>  Returns SNMP object value on success or <info>false</info> on error. In case of an
                           error, an E_WARNING message is shown.

<comment>See Also:</comment>
   * <strong>snmpget()</strong>
   * <strong>snmpwalk()</strong>


id: snmprealwalk
type: function
doc:
<comment>Description:</comment>
  Restituisce tutti gli oggetti compresi i rispettivi ID di oggetto


id: socket_addrinfo_bind
type: function
doc:
<comment>Description:</comment>
  Create and bind to a socket from a given addrinfo
  
  Create a Socket resource, and bind it to the provided AddrInfo resource.  The return value of this
  function may be used with <strong>socket_listen()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$addr</strong>  Resource created from <strong>socket_addrinfo_lookup()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a Socket resource on success or <info>null</info> on failure.

<comment>See Also:</comment>
   * <strong>socket_addrinfo_connect()</strong>
   * <strong>socket_addrinfo_explain()</strong>
   * <strong>socket_addrinfo_lookup()</strong>
   * <strong>socket_listen()</strong>


id: socket_addrinfo_connect
type: function
doc:
<comment>Description:</comment>
  Create and connect to a socket from a given addrinfo
  
  Create a Socket resource, and connect it to the provided AddrInfo resource.  The return value of
  this function may be used with the rest of the socket functions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$addr</strong>  Resource created from <strong>socket_addrinfo_lookup()</strong>

<comment>Return:</comment>
  <info>resource</info>  Returns a Socket resource on success or <info>null</info> on failure.

<comment>See Also:</comment>
   * <strong>socket_addrinfo_bind()</strong>
   * <strong>socket_addrinfo_explain()</strong>
   * <strong>socket_addrinfo_lookup()</strong>


id: socket_addrinfo_explain
type: function
doc:
<comment>Description:</comment>
  Get information about addrinfo
  
  <strong>socket_addrinfo_explain()</strong> exposed the underlying <return>addrinfo</return> structure.

<comment>Param:</comment>
  <info>resource</info>  <strong>$addr</strong>  Resource created from <strong>socket_addrinfo_lookup()</strong>

<comment>Return:</comment>
  <info>array</info>  Returns an array containing the fields in the <return>addrinfo</return> structure.

<comment>See Also:</comment>
   * <strong>socket_addrinfo_bind()</strong>
   * <strong>socket_addrinfo_connect()</strong>
   * <strong>socket_addrinfo_lookup()</strong>


id: socket_addrinfo_lookup
type: function
doc:
<comment>Description:</comment>
  Get array with contents of getaddrinfo about the given hostname
  
  Lookup different ways we can connect to <strong>$host</strong>.  The returned array contains a set of resources
  that we can bind to using <strong>socket_addrinfo_bind()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$host   </strong>  Hostname to search.
  <info>string</info>  <strong>$service</strong>  The service to connect to.  If service is a name, it is translated to the
                    corresponding port number.
  <info>array </info>  <strong>$hints  </strong>  Hints provide criteria for selecting addresses returned.  You may specify the
                    hints as defined by getadrinfo.

<comment>Return:</comment>
  <info>array</info>  Returns an array of AddrInfo resource handles that can be used with the other
         socket_addrinfo functions.

<comment>See Also:</comment>
   * <strong>socket_addrinfo_bind()</strong>
   * <strong>socket_addrinfo_connect()</strong>
   * <strong>socket_addrinfo_explain()</strong>


id: socket_bind
type: function
doc:
<comment>Description:</comment>
  Bind di un nome ad un socket
  
  La funzione <strong>socket_bind()</strong> esegue il bind del nome passato in <strong>$indirizzo</strong> sul socket indicato da
  <strong>$socket</strong>,

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket </strong>  Una valida risorsa di tipo socket creata da <strong>socket_create()</strong>.
  <info>string  </info>  <strong>$address</strong>  Se il socket appartiene alla famiglia <info>AF_INET</info>, il parametro <strong>$address</strong> è un
                      classico indirizzo IP (ad esempio  <return>127.0.0.1</return>)
                      
                      Se il socket appartiene alla famiglia <info>AF_UNIX</info>, il parametro <strong>$address</strong> indica il
                      percorso di un socket nel dominio Unix (ad esempio /tmp/my.sock).
  <info>int     </info>  <strong>$port   </strong>  Il parametro <strong>$port</strong>, si utilizza soltanto con le connessioni tramite un socket
                      di tipo <info>AF_INET</info>,  ed indica quale porta sul server remoto si debba utilizzare
                      per eseguire la connessione.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.
        
        Il codice di errore può essere recuperato con <strong>socket_last_error()</strong>. Questo codice può essere
        passato alla funzione <strong>socket_strerror()</strong> per ottenere una descrizione dell'errore.

<comment>See Also:</comment>
   * <strong>socket_connect()</strong>
   * <strong>socket_listen()</strong>
   * <strong>socket_create()</strong>
   * <strong>socket_last_error()</strong>
   * <strong>socket_strerror()</strong>


id: socket_cmsg_space
type: function
doc:
<comment>Description:</comment>
  Calculate message buffer size
  
  Calculates the size of the buffer that should be allocated for receiving the ancillary data.
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>int</info>  <strong>$level</strong>  
  <info>int</info>  <strong>$type </strong>  

<comment>Return:</comment>
  <info>int</info>  

<comment>See Also:</comment>
   * <strong>socket_recvmsg()</strong>
   * <strong>socket_sendmsg()</strong>


id: socket_create_pair
type: function
doc:
<comment>Description:</comment>
  Crea una coppia di socket non distinguibili e li memorizza in una matrice


id: socket_export_stream
type: function
doc:
<comment>Description:</comment>
  Export a socket extension resource into a stream that encapsulates a socket
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket</strong>  

<comment>Return:</comment>
  <info>resourcefalse</info>  Return resource o <info>false</info> in caso di fallimento.


id: socket_get_status
type: function
doc:
<comment>Description:</comment>
  Alias di stream_get_meta_data
  
  Questa funzione è sinonimo di:  <strong>stream_get_meta_data()</strong>.


id: socket_getopt
type: function
doc:
<comment>Description:</comment>
  Alias di socket_get_option
  
  Questa funzione è sinonimo di:  <strong>socket_get_option()</strong>.


id: socket_getpeername
type: function
doc:
<comment>Description:</comment>
  Interroga il lato remoto di un dato socket per ottenere o la combinazione host/porta
       od un percorso Unix, in base al tipo di socket


id: socket_getsockname
type: function
doc:
<comment>Description:</comment>
  Interroga il lato locale di un dato socket e restituisce o la combinazione host/porta
       oppure un percorso Unix in base al tipo di socket


id: socket_import_stream
type: function
doc:
<comment>Description:</comment>
  Import a stream
  
  Imports a stream that encapsulates a socket into a socket extension resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The stream resource to import.

<comment>Return:</comment>
  <info>resource</info>  Returns <info>false</info> or <info>null</info> on failure.

<comment>See Also:</comment>
   * <strong>stream_socket_server()</strong>


id: socket_recvmsg
type: function
doc:
<comment>Description:</comment>
  Legge un messaggio
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket </strong>  
  <info>array   </info>  <strong>$message</strong>  
  <info>int     </info>  <strong>$flags  </strong>  

<comment>Return:</comment>
  <info>int</info>  

<comment>See Also:</comment>
   * <strong>socket_sendmsg()</strong>
   * <strong>socket_cmsg_space()</strong>


id: socket_select
type: function
doc:
<comment>Description:</comment>
  Esegue la system call select() su un set di socket con un dato timeout


id: socket_sendmsg
type: function
doc:
<comment>Description:</comment>
  Manda un messaggio
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket </strong>  
  <info>array   </info>  <strong>$message</strong>  
  <info>int     </info>  <strong>$flags  </strong>  

<comment>Return:</comment>
  <info>intfalse</info>  Restituisce il numero di byte inviati,  o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>socket_recvmsg()</strong>
   * <strong>socket_cmsg_space()</strong>


id: socket_sendto
type: function
doc:
<comment>Description:</comment>
  Invia un messaggio ad un socket, a prescindere che sia connesso o meno


id: socket_set_block
type: function
doc:
<comment>Description:</comment>
  Sets blocking mode on a socket resource
  
  The <strong>socket_set_block()</strong> function removes the  <info>O_NONBLOCK</info> flag on the socket specified by the
  <strong>$socket</strong> parameter.
  
  When an operation (e.g. receive, send, connect, accept, ...) is performed on  a blocking socket,
  the script will pause its execution until it receives a signal or it can perform the operation.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket</strong>  A valid socket resource created with <strong>socket_create()</strong> or <strong>socket_accept()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>socket_set_nonblock()</strong>
   * <strong>socket_set_option()</strong>


id: socket_set_blocking
type: function
doc:
<comment>Description:</comment>
  Alias di stream_set_blocking
  
  Questa funzione è sinonimo di:   <strong>stream_set_blocking()</strong>.


id: socket_set_timeout
type: function
doc:
<comment>Description:</comment>
  Alias di stream_set_timeout
  
  Questa funzione è sinonimo di:  <strong>stream_set_timeout()</strong>.


id: socket_setopt
type: function
doc:
<comment>Description:</comment>
  Alias di socket_set_option
  
  Questa funzione è sinonimo di:  <strong>socket_set_option()</strong>.


id: socket_wsaprotocol_info_export
type: function
doc:
<comment>Description:</comment>
  Exports the WSAPROTOCOL_INFO Structure
  
  Exports the <return>WSAPROTOCOL_INFO</return> structure into shared memory and returns an identifier to be used
  with <strong>socket_wsaprotocol_info_import()</strong>. The exported ID is only valid for the given <strong>$target_pid</strong>.
  
  This function is available only on Windows.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket    </strong>  A valid socket resource.
  <info>int     </info>  <strong>$target_pid</strong>  The ID of the process which will import the socket.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns an identifier to be used for the import,  o <info>false</info> in caso di fallimento

<comment>See Also:</comment>
   * <strong>socket_wsaprotocol_info_import()</strong>
   * <strong>socket_wsaprotocol_info_release()</strong>


id: socket_wsaprotocol_info_import
type: function
doc:
<comment>Description:</comment>
  Imports a Socket from another Process
  
  Imports a socket which has formerly been exported from another process.
  
  This function is available only on Windows.

<comment>Param:</comment>
  <info>string</info>  <strong>$info_id</strong>  The ID which has been returned by a former call to
                    <strong>socket_wsaprotocol_info_export()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns the socket resource,  o <info>false</info> in caso di fallimento

<comment>See Also:</comment>
   * <strong>socket_wsaprotocol_info_export()</strong>


id: socket_wsaprotocol_info_release
type: function
doc:
<comment>Description:</comment>
  Releases an exported WSAPROTOCOL_INFO Structure
  
  Releases the shared memory corresponding to the given <strong>$info_id</strong>.
  
  This function is available only on Windows.

<comment>Param:</comment>
  <info>string</info>  <strong>$info_id</strong>  The ID which has been returned by a former call to
                    <strong>socket_wsaprotocol_info_export()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>socket_wsaprotocol_info_export()</strong>


id: sodium_add
type: function
doc:
<comment>Description:</comment>
  Add large numbers
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string1</strong>  
  <info>string</info>  <strong>$string2</strong>  

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: sodium_base642bin
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  
  <info>int   </info>  <strong>$id    </strong>  
  <info>string</info>  <strong>$ignore</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_bin2base64
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  
  <info>int   </info>  <strong>$id    </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_bin2hex
type: function
doc:
<comment>Description:</comment>
  Encode to hexadecimal
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_compare
type: function
doc:
<comment>Description:</comment>
  Compare large numbers
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string1</strong>  
  <info>string</info>  <strong>$string2</strong>  

<comment>Return:</comment>
  <info>int</info>  


id: sodium_crypto_aead_aes256gcm_decrypt
type: function
doc:
<comment>Description:</comment>
  Decrypt in combined mode with precalculation
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext     </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_aead_aes256gcm_encrypt
type: function
doc:
<comment>Description:</comment>
  Encrypt in combined mode with precalculation
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message        </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_aead_aes256gcm_is_available
type: function
doc:
<comment>Description:</comment>
  Check if hardware supports AES256-GCM
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_aead_aes256gcm_keygen
type: function
doc:
<comment>Description:</comment>
  Get random bytes for key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_aead_chacha20poly1305_decrypt
type: function
doc:
<comment>Description:</comment>
  Verify that the ciphertext includes a valid tag
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext     </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_aead_chacha20poly1305_encrypt
type: function
doc:
<comment>Description:</comment>
  Encrypt a message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message        </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_aead_xchacha20poly1305_ietf_decrypt
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext     </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_aead_xchacha20poly1305_ietf_encrypt
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message        </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>string</info>  <strong>$nonce          </strong>  
  <info>string</info>  <strong>$key            </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_aead_xchacha20poly1305_ietf_keygen
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_auth
type: function
doc:
<comment>Description:</comment>
  Compute a tag for the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message</strong>  
  <info>string</info>  <strong>$key    </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_auth_verify
type: function
doc:
<comment>Description:</comment>
  Verifies that the tag is valid for the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$mac    </strong>  
  <info>string</info>  <strong>$message</strong>  
  <info>string</info>  <strong>$key    </strong>  

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_box
type: function
doc:
<comment>Description:</comment>
  Encrypt a message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message </strong>  
  <info>string</info>  <strong>$nonce   </strong>  
  <info>string</info>  <strong>$key_pair</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_keypair
type: function
doc:
<comment>Description:</comment>
  Randomly generate a secret key and a corresponding public key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_keypair_from_secretkey_and_publickey
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$secret_key</strong>  
  <info>string</info>  <strong>$public_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_open
type: function
doc:
<comment>Description:</comment>
  Verify and decrypt a ciphertext
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext</strong>  
  <info>string</info>  <strong>$nonce     </strong>  
  <info>string</info>  <strong>$key_pair  </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_box_publickey
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$key_pair</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_publickey_from_secretkey
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$secret_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_seal
type: function
doc:
<comment>Description:</comment>
  Encrypt a message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message </strong>  
  <info>string</info>  <strong>$key_pair</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_box_seal_open
type: function
doc:
<comment>Description:</comment>
  Decrypt the ciphertext
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext</strong>  
  <info>string</info>  <strong>$key_pair  </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_box_seed_keypair
type: function
doc:
<comment>Description:</comment>
  Deterministically derive the key pair from a single key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$seed</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_generichash
type: function
doc:
<comment>Description:</comment>
  Get a hash of the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message</strong>  
  <info>string</info>  <strong>$key    </strong>  
  <info>int   </info>  <strong>$length </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_generichash_final
type: function
doc:
<comment>Description:</comment>
  Complete the hash
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$state </strong>  
  <info>int   </info>  <strong>$length</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_generichash_init
type: function
doc:
<comment>Description:</comment>
  Initialize a hash
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$key   </strong>  
  <info>int   </info>  <strong>$length</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_generichash_update
type: function
doc:
<comment>Description:</comment>
  Add message to a hash
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$state  </strong>  
  <info>string</info>  <strong>$message</strong>  

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_kdf_derive_from_key
type: function
doc:
<comment>Description:</comment>
  Derive a subkey
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>int   </info>  <strong>$subkey_length</strong>  
  <info>int   </info>  <strong>$subkey_id    </strong>  
  <info>string</info>  <strong>$context      </strong>  
  <info>string</info>  <strong>$key          </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_kx_client_session_keys
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$client_key_pair</strong>  
  <info>string</info>  <strong>$server_key     </strong>  

<comment>Return:</comment>
  <info>array</info>  


id: sodium_crypto_kx_keypair
type: function
doc:
<comment>Description:</comment>
  Creates a new sodium keypair
  
  Create a new sodium keypair consisting of the secret key (32 bytes) followed by the public key (32
  bytes). The keys can be retrieved by calling <strong>sodium_crypto_kx_secretkey()</strong> and
  <strong>sodium_crypto_kx_publickey()</strong>, respectively.

<comment>Return:</comment>
  <info>string</info>  Returns the new keypair on success; throws an exception otherwise.


id: sodium_crypto_kx_seed_keypair
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$seed</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_kx_server_session_keys
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$server_key_pair</strong>  
  <info>string</info>  <strong>$client_key     </strong>  

<comment>Return:</comment>
  <info>array</info>  


id: sodium_crypto_pwhash
type: function
doc:
<comment>Description:</comment>
  Derive a key from a password
  
  This function provides low-level access to libsodium's crypto_pwhash key derivation function.
  Unless you have specific reason to use this function, you should use <strong>sodium_crypto_pwhash_str()</strong> or
  <strong>password_hash()</strong> functions instead.

<comment>Param:</comment>
  <info>int   </info>  <strong>$length  </strong>  <info>int</info>; The length of the password hash to generate, in bytes.
  <info>string</info>  <strong>$password</strong>  <info>string</info>; The password to generate a hash for.
  <info>string</info>  <strong>$salt    </strong>  <info>string</info> A salt to add to the password before hashing. The salt should be
                     unpredictable, ideally generated from a good random mumber source such as
                     <strong>random_bytes()</strong>, and have a length of at least <info>SODIUM_CRYPTO_PWHASH_SALTBYTES</info>
                     bytes.
  <info>int   </info>  <strong>$opslimit</strong>  Represents a maximum amount of computations to perform. Raising this number
                     will make the function require more CPU cycles to compute a key. There are some
                     constants available to set the operations limit to appropriate values depending
                     on intended use, in order of strength:
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE</info>,
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE</info> and
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE</info>.
  <info>int   </info>  <strong>$memlimit</strong>  The maximum amount of RAM that the function will use, in bytes. There are
                     constants to help you choose an appropriate value, in order of size:
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE</info>,
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE</info>, and
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE</info>. Typically these should be paired with
                     the matching <strong>$opslimit</strong> values.
  <info>int   </info>  <strong>$algo    </strong>  <info>int</info> A number indicating the hash algorithm to use. By default
                     <info>SODIUM_CRYPTO_PWHASH_ALG_DEFAULT</info> (the currently recommended algorithm, which
                     can change from one version of libsodium to another), or explicitly using
                     <info>SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13</info>, representing the Argon2id algorithm
                     version 1.3.

<comment>Return:</comment>
  <info>string</info>  Returns the derived key. The return value is a binary string of the hash, not an
          ASCII-encoded representation, and does not contain additional information about the
          parameters used to create the hash, so you will need to keep that information if you are
          ever going to verify the password in future. Use <strong>sodium_crypto_pwhash_str()</strong> to avoid
          needing to do all that.


id: sodium_crypto_pwhash_scryptsalsa208sha256
type: function
doc:
<comment>Description:</comment>
  Derives a key from a password
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>int   </info>  <strong>$length  </strong>  
  <info>string</info>  <strong>$password</strong>  
  <info>string</info>  <strong>$salt    </strong>  
  <info>int   </info>  <strong>$opslimit</strong>  
  <info>int   </info>  <strong>$memlimit</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_pwhash_scryptsalsa208sha256_str
type: function
doc:
<comment>Description:</comment>
  Get an ASCII encoded hash
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$password</strong>  
  <info>int   </info>  <strong>$opslimit</strong>  
  <info>int   </info>  <strong>$memlimit</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_pwhash_scryptsalsa208sha256_str_verify
type: function
doc:
<comment>Description:</comment>
  Verify that the password is a valid password verification string
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$hash    </strong>  
  <info>string</info>  <strong>$password</strong>  

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_pwhash_str
type: function
doc:
<comment>Description:</comment>
  Get an ASCII-encoded hash
  
  Uses a CPU- and memory-hard hash algorithm along with a randomly-generated salt, and memory and
  CPU limits to generate an ASCII-encoded hash suitable for password storage.

<comment>Param:</comment>
  <info>string</info>  <strong>$password</strong>  <info>string</info>; The password to generate a hash for.
  <info>int   </info>  <strong>$opslimit</strong>  Represents a maximum amount of computations to perform. Raising this number
                     will make the function require more CPU cycles to compute a key. There are
                     constants available to set the operations limit to appropriate values depending
                     on intended use, in order of strength:
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE</info>,
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_MODERATE</info> and
                     <info>SODIUM_CRYPTO_PWHASH_OPSLIMIT_SENSITIVE</info>.
  <info>int   </info>  <strong>$memlimit</strong>  The maximum amount of RAM that the function will use, in bytes. There are
                     constants to help you choose an appropriate value, in order of size:
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE</info>,
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_MODERATE</info>, and
                     <info>SODIUM_CRYPTO_PWHASH_MEMLIMIT_SENSITIVE</info>. Typically these should be paired with
                     the matching opslimit values.

<comment>Return:</comment>
  <info>string</info>  Returns the hashed password.
          
          In order to produce the same password hash from the same password, the same values for
          <strong>$opslimit</strong> and <strong>$memlimit</strong> must be used. These are embedded within the generated hash, so
          everything that's needed to verify the hash is included. This allows the
          <strong>sodium_crypto_pwhash_str_verify()</strong> function to verify the hash without needing separate
          storage for the other parameters.

<comment>See Also:</comment>
   * <strong>sodium_crypto_pwhash_str_verify()</strong>
   * <strong>sodium_crypto_pwhash()</strong>
   * <strong>password_hash()</strong>
   * <strong>password_verify()</strong>
   * Libsodium Argon2 docs


id: sodium_crypto_pwhash_str_needs_rehash
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$password</strong>  
  <info>int   </info>  <strong>$opslimit</strong>  
  <info>int   </info>  <strong>$memlimit</strong>  

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_pwhash_str_verify
type: function
doc:
<comment>Description:</comment>
  Verifies that a password matches a hash
  
  Checks that a password hash created using <strong>sodium_crypto_pwhash_str()</strong> matches a given plain-text
  password. Note that the parameters are in the opposite order to the same parameters in the similar
  <strong>password_hash()</strong> function.

<comment>Param:</comment>
  <info>string</info>  <strong>$hash    </strong>  Un hash creato da <strong>password_hash()</strong>.
  <info>string</info>  <strong>$password</strong>  La password dell'utente.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the password and hash match, or <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>sodium_crypto_pwhash_str()</strong>
   * <strong>password_hash()</strong>
   * <strong>password_verify()</strong>


id: sodium_crypto_scalarmult
type: function
doc:
<comment>Description:</comment>
  Compute a shared secret given a user's secret key and another user's public key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$n</strong>  
  <info>string</info>  <strong>$p</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_scalarmult_base
type: function
doc:
<comment>Description:</comment>
  Alias di sodium_crypto_box_publickey_from_secretkey
  
  Questa funzione è sinonimo di:  <strong>sodium_crypto_box_publickey_from_secretkey()</strong>.


id: sodium_crypto_secretbox
type: function
doc:
<comment>Description:</comment>
  Encrypt a message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message</strong>  
  <info>string</info>  <strong>$nonce  </strong>  
  <info>string</info>  <strong>$key    </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_secretbox_open
type: function
doc:
<comment>Description:</comment>
  Verify and decrypt a ciphertext
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext</strong>  
  <info>string</info>  <strong>$nonce     </strong>  
  <info>string</info>  <strong>$key       </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_secretstream_xchacha20poly1305_init_pull
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$header</strong>  
  <info>string</info>  <strong>$key   </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_secretstream_xchacha20poly1305_init_push
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$key</strong>  

<comment>Return:</comment>
  <info>array</info>  


id: sodium_crypto_secretstream_xchacha20poly1305_pull
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$state          </strong>  
  <info>string</info>  <strong>$ciphertext     </strong>  
  <info>string</info>  <strong>$additional_data</strong>  

<comment>Return:</comment>
  <info>arrayfalse</info>  


id: sodium_crypto_secretstream_xchacha20poly1305_push
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$state          </strong>  
  <info>string</info>  <strong>$message        </strong>  
  <info>string</info>  <strong>$additional_data</strong>  
  <info>int   </info>  <strong>$tag            </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_secretstream_xchacha20poly1305_rekey
type: function
doc:
<comment>Description:</comment>
  Description
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$state</strong>  

<comment>Return:</comment>
  <info>void</info>  


id: sodium_crypto_shorthash
type: function
doc:
<comment>Description:</comment>
  Compute a fixed-size fingerprint for the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message</strong>  
  <info>string</info>  <strong>$key    </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign
type: function
doc:
<comment>Description:</comment>
  Sign a message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message   </strong>  
  <info>string</info>  <strong>$secret_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign_detached
type: function
doc:
<comment>Description:</comment>
  Sign the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$message   </strong>  
  <info>string</info>  <strong>$secret_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign_ed25519_pk_to_curve25519
type: function
doc:
<comment>Description:</comment>
  Convert an Ed25519 public key to a Curve25519 public key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$public_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign_ed25519_sk_to_curve25519
type: function
doc:
<comment>Description:</comment>
  Convert an Ed25519 secret key to a Curve25519 secret key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$secret_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign_open
type: function
doc:
<comment>Description:</comment>
  Check that the signed message has a valid signature
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$ciphertext</strong>  
  <info>string</info>  <strong>$public_key</strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  


id: sodium_crypto_sign_publickey_from_secretkey
type: function
doc:
<comment>Description:</comment>
  Extract the public key from the secret key
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$secret_key</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_crypto_sign_verify_detached
type: function
doc:
<comment>Description:</comment>
  Verify signature for the message
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$signature </strong>  
  <info>string</info>  <strong>$message   </strong>  
  <info>string</info>  <strong>$public_key</strong>  

<comment>Return:</comment>
  <info>bool</info>  


id: sodium_crypto_stream
type: function
doc:
<comment>Description:</comment>
  Generate a deterministic sequence of bytes from a seed
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>int   </info>  <strong>$length</strong>  
  <info>string</info>  <strong>$nonce </strong>  
  <info>string</info>  <strong>$key   </strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_hex2bin
type: function
doc:
<comment>Description:</comment>
  Decodes a hexadecimally encoded binary string
  
  Decodes a hexadecimally encoded binary string.
  
  Like <strong>sodium_bin2hex()</strong>, <strong>sodium_hex2bin()</strong> is resistant to side-channel attacks while <strong>hex2bin()</strong> is
  not.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  Hexadecimal representation of data.
  <info>string</info>  <strong>$ignore</strong>  Optional string argument for characters to ignore.

<comment>Return:</comment>
  <info>string</info>  Returns the binary representation of the given <strong>$string</strong> data.


id: sodium_increment
type: function
doc:
<comment>Description:</comment>
  Increment large number
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  

<comment>Return:</comment>
  <info>void</info>  


id: sodium_memcmp
type: function
doc:
<comment>Description:</comment>
  Test for equality in constant-time
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string1</strong>  
  <info>string</info>  <strong>$string2</strong>  

<comment>Return:</comment>
  <info>int</info>  


id: sodium_memzero
type: function
doc:
<comment>Description:</comment>
  Overwrite buf with zeros
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  

<comment>Return:</comment>
  <info>void</info>  


id: sodium_pad
type: function
doc:
<comment>Description:</comment>
  Add padding data
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  
  <info>int   </info>  <strong>$length</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: sodium_unpad
type: function
doc:
<comment>Description:</comment>
  Remove padding data
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>string</info>  <strong>$string    </strong>  
  <info>int   </info>  <strong>$block_size</strong>  

<comment>Return:</comment>
  <info>string</info>  


id: solr_get_version
type: function
doc:
<comment>Description:</comment>
  Returns the current version of the Apache Solr extension
  
  This function returns the current version of the extension as a string.

<comment>Return:</comment>
  <info>string</info>  It returns a string on success and <info>false</info> on failure.

<comment>See Also:</comment>
   * <strong>SolrUtils::getSolrVersion()</strong>


id: spl_autoload
type: function
doc:
<comment>Description:</comment>
  Default implementation for __autoload()
  
  This function is intended to be used as a default implementation for <strong>__autoload()</strong>. If nothing else
  is specified and <strong>spl_autoload_register()</strong> is called without any parameters then this function will
  be used for any later call to <strong>__autoload()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$class_name     </strong>  The lowercased name of the class (and namespace) being instantiated.
  <info>string</info>  <strong>$file_extensions</strong>  By default it checks all include paths to contain filenames built up by
                            the lowercase class name appended by the filename extensions .inc and
                            .php.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: spl_autoload_call
type: function
doc:
<comment>Description:</comment>
  Try all registered __autoload() functions to load the requested class
  
  This function can be used to manually search for a class or interface using the registered
  __autoload functions.

<comment>Param:</comment>
  <info>string</info>  <strong>$class_name</strong>  The class name being searched.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: spl_autoload_extensions
type: function
doc:
<comment>Description:</comment>
  Register and return default file extensions for spl_autoload
  
  This function can modify and check the file extensions that the built in <strong>__autoload()</strong> fallback
  function <strong>spl_autoload()</strong>  will be using.
  
  There should not be a space between the defined file extensions.

<comment>Param:</comment>
  <info>string</info>  <strong>$file_extensions</strong>  When calling without an argument, it simply returns the current list of
                            extensions each separated by comma. To modify the list of file
                            extensions, simply invoke the functions with the new list of file
                            extensions to use in a single string with each extensions separated by
                            comma.

<comment>Return:</comment>
  <info>string</info>  A comma delimited list of default file extensions for <strong>spl_autoload()</strong>.


id: spl_autoload_functions
type: function
doc:
<comment>Description:</comment>
  Return all registered __autoload() functions
  
  Get all registered __autoload() functions.

<comment>Return:</comment>
  <info>array</info>  An <info>array</info> of all registered __autoload functions. If the autoload queue is not activated
         then the return value is <info>false</info>. If no function is registered the return value will be an
         empty array.


id: spl_autoload_register
type: function
doc:
<comment>Description:</comment>
  Register given function as __autoload() implementation
  
  Register a function with the spl provided __autoload queue. If the queue is not yet activated it
  will be activated.
  
  If your code has an existing <strong>__autoload()</strong> function then this function must be explicitly
  registered on the __autoload queue. This is because <strong>spl_autoload_register()</strong> will effectively
  replace the engine cache for the <strong>__autoload()</strong> function by either <strong>spl_autoload()</strong> or
  <strong>spl_autoload_call()</strong>.
  
  If there must be multiple autoload functions, <strong>spl_autoload_register()</strong>  allows for this. It
  effectively creates a queue of autoload functions, and runs through each of them in the order they
  are defined. By contrast,  <strong>__autoload()</strong> may only be defined once.

<comment>Param:</comment>
  <info>callable</info>  <strong>$autoload_function</strong>  The autoload function being registered. If no parameter is provided,
                                then the default implementation of <strong>spl_autoload()</strong> will be
                                registered.
  <info>bool    </info>  <strong>$throw            </strong>  This parameter specifies whether <strong>spl_autoload_register()</strong> should
                                throw  exceptions when the <strong>$autoload_function</strong> cannot be registered.
  <info>bool    </info>  <strong>$prepend          </strong>  If true, <strong>spl_autoload_register()</strong> will prepend the autoloader on the
                                autoload queue instead of appending it.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>__autoload()</strong>


id: spl_autoload_unregister
type: function
doc:
<comment>Description:</comment>
  Unregister given function as __autoload() implementation
  
  Removes a function from the autoload queue. If the queue is activated and empty after removing the
  given function then it will be deactivated.
  
  When this function results in the queue being deactivated, any __autoload function that previously
  existed will not be reactivated.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$autoload_function</strong>  The autoload function being unregistered.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: spl_classes
type: function
doc:
<comment>Description:</comment>
  Return available SPL classes
  
  This function returns an array with the current available SPL classes.

<comment>Return:</comment>
  <info>array</info>  Returns an <info>array</info> containing the currently available SPL classes.


id: spl_object_hash
type: function
doc:
<comment>Description:</comment>
  Return hash id for given object
    
  
  This function returns a unique identifier for the object. This id can be used as a hash key for
  storing objects, or for identifying an object, as long as the object is not destroyed. Once the
  object is destroyed, its hash may  be reused for other objects.

<comment>Param:</comment>
  <info></info>  <strong>$object</strong>  Any object.

<comment>Return:</comment>
  <info>string</info>  A string that is unique for each currently existing object and is always the same for each
          object.


id: spl_object_id
type: function
doc:
<comment>Description:</comment>
  Return the integer object handle for given object
    
  
  This function returns a unique identifier for the object. The object id is unique for the lifetime
  of the object. Once the object is destroyed, its id may be reused for other objects. This behavior
  is similar to <strong>spl_object_hash()</strong>.

<comment>Param:</comment>
  <info></info>  <strong>$object</strong>  Any object.

<comment>Return:</comment>
  <info>int</info>  An integer identifier that is unique for each currently existing object and is always the
       same for each object.


id: split
type: function
doc:
<comment>Description:</comment>
  Suddivide una stringa in una matrice utilizzando le espressioni regolari


id: spliti
type: function
doc:
<comment>Description:</comment>
  Suddivide una stringa in una matrice usando le espressioni regolari senza distinguere tra
      maiuscole e minuscole


id: sql_regcase
type: function
doc:
<comment>Description:</comment>
  Genera una espressione regolare per riconoscimenti senza distinguere tra maiuscole e minuscole


id: sqlsrv_begin_transaction
type: function
doc:
<comment>Description:</comment>
  Begins a database transaction
  
  The transaction begun by <strong>sqlsrv_begin_transaction()</strong> includes  all statements that were executed
  after the call to  <strong>sqlsrv_begin_transaction()</strong> and before calls to  <strong>sqlsrv_rollback()</strong> or
  <strong>sqlsrv_commit()</strong>.  Explicit transactions should be started and committed or rolled back using
  these functions instead of executing SQL statements that begin and commit/roll  back transactions.
  For more information, see  SQLSRV Transactions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection resource returned by a call to <strong>sqlsrv_connect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_commit()</strong>
   * <strong>sqlsrv_rollback()</strong>


id: sqlsrv_cancel
type: function
doc:
<comment>Description:</comment>
  Cancels a statement
  
  Cancels a statement. Any results associated with the statement that have not  been consumed are
  deleted. After <strong>sqlsrv_cancel()</strong> has been  called, the specified statement can be re-executed if it
  was created with  <strong>sqlsrv_prepare()</strong>. Calling <strong>sqlsrv_cancel()</strong>  is not necessary if all the results
  associated with the statement have been  consumed.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement resource to be cancelled.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_free_stmt()</strong>
   * <strong>sqlsrv_prepare()</strong>


id: sqlsrv_client_info
type: function
doc:
<comment>Description:</comment>
  Returns information about the client and specified connection
  
  Returns information about the client and specified connection

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection about which information is returned.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array with keys described in the table below.  Returns <info>false</info>
         otherwise.  Array returned by
         sqlsrv_client_infoKeyDescriptionDriverDllNameSQLNCLI10.DLLDriverODBCVerODBC version
         (xx.yy)DriverVerSQL Server Native Client DLL version (10.5.xxx)ExtensionVerphp_sqlsrv.dll
         version (2.0.xxx.x)

<comment>See Also:</comment>
   * <strong>sqlsrv_server_info()</strong>


id: sqlsrv_close
type: function
doc:
<comment>Description:</comment>
  Closes an open connection and releases resourses associated with the connection
  
  Closes an open connection and releases resourses associated with the connection.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection to be closed.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_connect()</strong>


id: sqlsrv_commit
type: function
doc:
<comment>Description:</comment>
  Commits a transaction that was begun with sqlsrv_begin_transaction
  
  Commits a transaction that was begun with <strong>sqlsrv_begin_transaction()</strong>.  The connection is returned
  to auto-commit mode after <strong>sqlsrv_commit()</strong>  is called. The transaction that is committed includes
  all statements that were  executed after the call to <strong>sqlsrv_begin_transaction()</strong>.  Explicit
  transactions should be started and committed or rolled back using these  functions instead of
  executing SQL statements that begin and commit/roll back  transactions. For more information, see
  SQLSRV Transactions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection on which the transaction is to be committed.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_begin_transaction()</strong>
   * <strong>sqlsrv_rollback()</strong>


id: sqlsrv_configure
type: function
doc:
<comment>Description:</comment>
  Changes the driver error handling and logging configurations
  
  Changes the driver error handling and logging configurations.

<comment>Param:</comment>
  <info>string</info>  <strong>$setting</strong>  The name of the setting to set. The possible values are
                    "WarningsReturnAsErrors", "LogSubsystems", and "LogSeverity".
  <info>mixed </info>  <strong>$value  </strong>  The value of the specified setting. The following table shows possible values:
                    Error and Logging Setting OptionsSettingOptionsWarningsReturnAsErrors1 (<info>true</info>) or
                    0 (<info>false</info>)LogSubsystemsSQLSRV_LOG_SYSTEM_ALL (-1)  SQLSRV_LOG_SYSTEM_CONN (2)
                    SQLSRV_LOG_SYSTEM_INIT (1)  SQLSRV_LOG_SYSTEM_OFF (0)  SQLSRV_LOG_SYSTEM_STMT
                    (4)  SQLSRV_LOG_SYSTEM_UTIL (8)LogSeveritySQLSRV_LOG_SEVERITY_ALL (-1)
                    SQLSRV_LOG_SEVERITY_ERROR (1)  SQLSRV_LOG_SEVERITY_NOTICE (4)
                    SQLSRV_LOG_SEVERITY_WARNING (2)

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * SQLSRV Error Handling.
   * Logging SQLSRV Activity.


id: sqlsrv_connect
type: function
doc:
<comment>Description:</comment>
  Opens a connection to a Microsoft SQL Server database
  
  Opens a connection to a Microsoft SQL Server database. By default, the connection  is attempted
  using Windows Authentication. To connect using SQL Server  Authentication, include "UID" and "PWD"
  in the connection options array.

<comment>Param:</comment>
  <info>string</info>  <strong>$serverName    </strong>  The name of the server to which a connection is established. To connect
                           to a specific instance, follow the server name with a backward slash  and
                           the instance name (e.g. serverName\sqlexpress).
  <info>array </info>  <strong>$connectionInfo</strong>  An associative array that specifies options for connecting to the server.
                           If values for the UID and PWD keys are not specified, the connection
                           will be attempted using Windows Authentication. For a complete list of
                           supported  keys, see SQLSRV Connection Options.

<comment>Return:</comment>
  <info>resource</info>  A connection resource. If a connection cannot be successfully opened, <info>false</info> is returned.

<comment>See Also:</comment>
   * <strong>sqlsrv_close()</strong>
   * <strong>sqlsrv_errors()</strong>
   * <strong>sqlsrv_query()</strong>


id: sqlsrv_errors
type: function
doc:
<comment>Description:</comment>
  Returns error and warning information about the last SQLSRV operation performed
  
  Returns error and warning information about the last SQLSRV operation performed.

<comment>Param:</comment>
  <info>int</info>  <strong>$errorsOrWarnings</strong>  Determines whether error information, warning information, or both are
                          returned. If this parameter is not supplied, both error information and
                          warning information are returned. The following are the supported values
                          for this parameter: SQLSRV_ERR_ALL, SQLSRV_ERR_ERRORS,
                          SQLSRV_ERR_WARNINGS.

<comment>Return:</comment>
  <info>mixed</info>  If errors and/or warnings occurred on the last sqlsrv operation, an array of  arrays
         containing error information is returned. If no errors and/or warnings  occurred on the
         last sqlsrv operation, <info>null</info> is returned. The following table  describes the structure of
         the returned arrays: Array returned by sqlsrv_errorsKeyDescriptionSQLSTATEFor errors that
         originate from the ODBC driver, the SQLSTATE returned  by ODBC. For errors that originate
         from the Microsoft Drivers for PHP for  SQL Server, a SQLSTATE of IMSSP. For warnings that
         originate from the  Microsoft Drivers for PHP for SQL Server, a SQLSTATE of 01SSP. codeFor
         errors that originate from SQL Server, the native SQL Server  error code. For errors that
         originate from the ODBC driver, the error  code returned by ODBC. For errors that originate
         from the Microsoft Drivers  for PHP for SQL Server, the Microsoft Drivers for PHP for SQL
         Server error code. messageA description of the error.

<comment>See Also:</comment>
   * <strong>sqlsrv_configure()</strong>


id: sqlsrv_execute
type: function
doc:
<comment>Description:</comment>
  Executes a statement prepared with sqlsrv_prepare
  
  Executes a statement prepared with <strong>sqlsrv_prepare()</strong>. This  function is ideal for executing a
  prepared statement multiple times with  different parameter values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A statement resource returned by <strong>sqlsrv_prepare()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_prepare()</strong>
   * <strong>sqlsrv_query()</strong>


id: sqlsrv_fetch
type: function
doc:
<comment>Description:</comment>
  Makes the next row in a result set available for reading
  
  Makes the next row in a result set available for reading. Use  <strong>sqlsrv_get_field()</strong> to read the
  fields of the row.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt  </strong>  A statement resource created by executing <strong>sqlsrv_query()</strong>  or <strong>sqlsrv_execute()</strong>.
  <info>int     </info>  <strong>$row   </strong>  The row to be accessed. This parameter can only be used if the specified
                     statement was prepared with a scrollable cursor. In that case, this parameter
                     can take on one of the following values:
                     SQLSRV_SCROLL_NEXTSQLSRV_SCROLL_PRIORSQLSRV_SCROLL_FIRSTSQLSRV_SCROLL_LASTSQLSRV_SCROLL_ABSOLUTESQLSRV_SCROLL_RELATIVE
  <info>int     </info>  <strong>$offset</strong>  Specifies the row to be accessed if the row parameter is set to
                     <info>SQLSRV_SCROLL_ABSOLUTE</info> or <info>SQLSRV_SCROLL_RELATIVE</info>. Note that the first row in a
                     result set has index 0.

<comment>Return:</comment>
  <info>mixed</info>  Returns <info>true</info> if the next row of a result set was successfully retrieved,  <info>false</info> if an error
         occurs, and <info>null</info> if there are no more rows in the result set.

<comment>See Also:</comment>
   * <strong>sqlsrv_get_field()</strong>
   * <strong>sqlsrv_fetch_array()</strong>
   * <strong>sqlsrv_fetch_object()</strong>


id: sqlsrv_fetch_array
type: function
doc:
<comment>Description:</comment>
  Returns a row as an array
  
  Returns the next available row of data as an associative array, a numeric  array, or both (the
  default).

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt     </strong>  A statement resource returned by sqlsrv_query or sqlsrv_prepare.
  <info>int     </info>  <strong>$fetchType</strong>  A predefined constant specifying the type of array to return. Possible
                        values are <info>SQLSRV_FETCH_ASSOC</info>,  <info>SQLSRV_FETCH_NUMERIC</info>, and  <info>SQLSRV_FETCH_BOTH</info>
                        (the default).
                        
                        A fetch type of SQLSRV_FETCH_ASSOC should not be used when consuming a
                        result set with multiple columns of the same name.
  <info>int     </info>  <strong>$row      </strong>  Specifies the row to access in a result set that uses a scrollable cursor.
                        Possible values are <info>SQLSRV_SCROLL_NEXT</info>,  <info>SQLSRV_SCROLL_PRIOR</info>,
                        <info>SQLSRV_SCROLL_FIRST</info>,  <info>SQLSRV_SCROLL_LAST</info>, <info>SQLSRV_SCROLL_ABSOLUTE</info> and,
                        <info>SQLSRV_SCROLL_RELATIVE</info> (the default). When this parameter  is specified, the
                        <strong>$fetchType</strong> must be explicitly defined.
  <info>int     </info>  <strong>$offset   </strong>  Specifies the row to be accessed if the row parameter is set to
                        <info>SQLSRV_SCROLL_ABSOLUTE</info> or <info>SQLSRV_SCROLL_RELATIVE</info>. Note that the first row in
                        a result set has index 0.

<comment>Return:</comment>
  <info>array</info>  Returns an array on success, <info>null</info> if there are no more rows to return, and  <info>false</info> if an
         error occurs.

<comment>See Also:</comment>
   * <strong>sqlsrv_connect()</strong>
   * <strong>sqlsrv_query()</strong>
   * <strong>sqlsrv_errors()</strong>
   * <strong>sqlsrv_fetch()</strong>


id: sqlsrv_fetch_object
type: function
doc:
<comment>Description:</comment>
  Retrieves the next row of data in a result set as an object
  
  Retrieves the next row of data in a result set as an instance of the specified  class with
  properties that match the row field names and values that correspond  to the row field values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt      </strong>  A statement resource created by <strong>sqlsrv_query()</strong> or  <strong>sqlsrv_execute()</strong>.
  <info>string  </info>  <strong>$className </strong>  The name of the class to instantiate. If no class name is specified,
                         stdClass is instantiated.
  <info>array   </info>  <strong>$ctorParams</strong>  Values passed to the constructor of the specified class. If the constructor
                         of the specified class takes parameters, the ctorParams array must be
                         supplied.
  <info>int     </info>  <strong>$row       </strong>  The row to be accessed. This parameter can only be used if the specified
                         statement was prepared with a scrollable cursor. In that case, this
                         parameter  can take on one of the following values:
                         SQLSRV_SCROLL_NEXTSQLSRV_SCROLL_PRIORSQLSRV_SCROLL_FIRSTSQLSRV_SCROLL_LASTSQLSRV_SCROLL_ABSOLUTESQLSRV_SCROLL_RELATIVE
  <info>int     </info>  <strong>$offset    </strong>  Specifies the row to be accessed if the row parameter is set to
                         <info>SQLSRV_SCROLL_ABSOLUTE</info> or <info>SQLSRV_SCROLL_RELATIVE</info>. Note that the first row
                         in a result set has index 0.

<comment>Return:</comment>
  <info>mixed</info>  Returns an object on success, <info>null</info> if there are no more rows to return,  and <info>false</info> if an
         error occurs or if the specified class does not exist.

<comment>See Also:</comment>
   * <strong>sqlsrv_fetch()</strong>
   * <strong>sqlsrv_fetch_array()</strong>


id: sqlsrv_field_metadata
type: function
doc:
<comment>Description:</comment>
  Retrieves metadata for the fields of a statement prepared by 
    sqlsrv_prepare or sqlsrv_query
    
  
  Retrieves metadata for the fields of a statement prepared by  <strong>sqlsrv_prepare()</strong> or <strong>sqlsrv_query()</strong>.
  <strong>sqlsrv_field_metadata()</strong> can be called on a statement before  or after statement execution.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement resource for which metadata is returned.

<comment>Return:</comment>
  <info>mixed</info>  Returns an array of arrays on success. Otherwise, <info>false</info> is returned.  Each returned array
         is described by the following table: Array returned by
         sqlsrv_field_metadataKeyDescriptionNameThe name of the field.TypeThe numeric value for the
         SQL type.SizeThe number of characters for fields of character type, the number of  bytes
         for fields of binary type, or <info>null</info> for other types.PrecisionThe precision for types of
         variable precision, <info>null</info> for other types.ScaleThe scale for types of variable scale, <info>null</info>
         for other types.NullableAn enumeration indicating whether the column is nullable, not
         nullable,  or if it is not known. For more information, see sqlsrv_field_metadata  in the
         Microsoft SQLSRV documentation.

<comment>See Also:</comment>
   * <strong>sqlsrv_client_info()</strong>


id: sqlsrv_free_stmt
type: function
doc:
<comment>Description:</comment>
  Frees all resources for the specified statement
  
  Frees all resources for the specified statement. The statement cannot be used  after
  <strong>sqlsrv_free_stmt()</strong> has been called on it. If  <strong>sqlsrv_free_stmt()</strong> is called on an in-progress
  statement  that alters server state, statement execution is terminated and the statement  is
  rolled back.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement for which resources are freed.  Note that <info>null</info> is a valid parameter
                   value. This allows the function to be  called multiple times in a script.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_cancel()</strong>


id: sqlsrv_get_config
type: function
doc:
<comment>Description:</comment>
  Returns the value of the specified configuration setting
  
  Returns the value of the specified configuration setting.

<comment>Param:</comment>
  <info>string</info>  <strong>$setting</strong>  The name of the setting for which the value is returned. For a list of
                    configurable settings, see <strong>sqlsrv_configure()</strong>.

<comment>Return:</comment>
  <info>mixed</info>  Returns the value of the specified setting. If an invalid setting is specified,  <info>false</info> is
         returned.

<comment>See Also:</comment>
   * <strong>sqlsrv_configure()</strong>


id: sqlsrv_get_field
type: function
doc:
<comment>Description:</comment>
  Gets field data from the currently selected row
  
  Gets field data from the currently selected row. Fields must be accessed in  order. Field indices
  start at 0.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt      </strong>  A statement resource returned by <strong>sqlsrv_query()</strong> or  <strong>sqlsrv_execute()</strong>.
  <info>int     </info>  <strong>$fieldIndex</strong>  The index of the field to be retrieved. Field indices start at 0. Fields
                         must be accessed in order. i.e. If you access field index 1, then field
                         index 0 will not be available.
  <info>int     </info>  <strong>$getAsType </strong>  The PHP data type for the returned field data. If this parameter is not
                         set, the field data will be returned as its default PHP data type. For
                         information about default PHP data types, see  Default PHP Data Types  in
                         the Microsoft SQLSRV documentation.

<comment>Return:</comment>
  <info>mixed</info>  Returns data from the specified field on success. Returns <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>sqlsrv_fetch()</strong>
   * <strong>sqlsrv_fetch_array()</strong>
   * <strong>sqlsrv_fetch_object()</strong>


id: sqlsrv_has_rows
type: function
doc:
<comment>Description:</comment>
  Indicates whether the specified statement has rows
  
  Indicates whether the specified statement has rows.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A statement resource returned by <strong>sqlsrv_query()</strong> or  <strong>sqlsrv_execute()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the specified statement has rows and <info>false</info> if the statement  does not have
        rows or if an error occurred.

<comment>See Also:</comment>
   * <strong>sqlsrv_num_rows()</strong>
   * <strong>sqlsrv_query()</strong>


id: sqlsrv_next_result
type: function
doc:
<comment>Description:</comment>
  Makes the next result of the specified statement active
  
  Makes the next result of the specified statement active. Results include result  sets, row counts,
  and output parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement on which the next result is being called.

<comment>Return:</comment>
  <info>mixed</info>  Returns <info>true</info> if the next result was successfully retrieved, <info>false</info> if an error  occurred,
         and <info>null</info> if there are no more results to retrieve.

<comment>See Also:</comment>
   * <strong>sqlsrv_query()</strong>
   * <strong>sqlsrv_fetch_array()</strong>
   * <strong>sqlsrv_rows_affected()</strong>


id: sqlsrv_num_fields
type: function
doc:
<comment>Description:</comment>
  Retrieves the number of fields (columns) on a statement
  
  Retrieves the number of fields (columns) on a statement.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement for which the number of fields is returned.  <strong>sqlsrv_num_fields()</strong>
                   can be called on a statement before  or after statement execution.

<comment>Return:</comment>
  <info>mixed</info>  Returns the number of fields on success. Returns <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>sqlsrv_field_metadata()</strong>
   * <strong>sqlsrv_fetch()</strong>
   * <strong>sqlsrv_get_field()</strong>


id: sqlsrv_num_rows
type: function
doc:
<comment>Description:</comment>
  Retrieves the number of rows in a result set
  
  Retrieves the number of rows in a result set. This function requires that the  statement resource
  be created with a static or keyset cursor. For more information,  see <strong>sqlsrv_query()</strong>,
  <strong>sqlsrv_prepare()</strong>,  or Specifying a Cursor Type and Selecting Rows  in the Microsoft SQLSRV
  documentation.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The statement for which the row count is returned. The statement resource  must
                   be created with a static or keyset cursor. For more information, see
                   <strong>sqlsrv_query()</strong>, <strong>sqlsrv_prepare()</strong>, or  Specifying a Cursor Type and Selecting Rows
                   in the Microsoft SQLSRV documentation.

<comment>Return:</comment>
  <info>mixed</info>  Returns the number of rows retrieved on success and <info>false</info> if an error occurred.  If a
         forward cursor (the default) or dynamic cursor is used, <info>false</info> is returned.

<comment>See Also:</comment>
   * <strong>sqlsrv_has_rows()</strong>
   * <strong>sqlsrv_rows_affected()</strong>


id: sqlsrv_prepare
type: function
doc:
<comment>Description:</comment>
  Prepares a query for execution
  
  Prepares a query for execution. This function is ideal for preparing a query  that will be
  executed multiple times with different parameter values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn   </strong>  A connection resource returned by <strong>sqlsrv_connect()</strong>.
  <info>string  </info>  <strong>$sql    </strong>  The string that defines the query to be prepared and executed.
  <info>array   </info>  <strong>$params </strong>  An array specifying parameter information when executing a parameterized
                      query. Array elements can be any of the following: A literal valueA PHP
                      variableAn array with this structure:  array($value [, $direction [, $phpType
                      [, $sqlType]]]) The following table describes the elements in the array
                      structure above:
  <info>array   </info>  <strong>$options</strong>  An array specifying query property options. The supported keys are described
                      in the following table:

<comment>Return:</comment>
  <info>mixed</info>  Returns a statement resource on success and <info>false</info> if an error occurred.

<comment>See Also:</comment>
   * <strong>sqlsrv_execute()</strong>
   * <strong>sqlsrv_query()</strong>


id: sqlsrv_query
type: function
doc:
<comment>Description:</comment>
  Prepares and executes a query
  
  Prepares and executes a query.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn   </strong>  A connection resource returned by <strong>sqlsrv_connect()</strong>.
  <info>string  </info>  <strong>$sql    </strong>  The string that defines the query to be prepared and executed.
  <info>array   </info>  <strong>$params </strong>  An array specifying parameter information when executing a parameterized
                      query.  Array elements can be any of the following: A literal valueA PHP
                      variableAn array with this structure:  array($value [, $direction [, $phpType
                      [, $sqlType]]]) The following table describes the elements in the array
                      structure above:
  <info>array   </info>  <strong>$options</strong>  An array specifying query property options. The supported keys are described
                      in the following table:

<comment>Return:</comment>
  <info>mixed</info>  Returns a statement resource on success and <info>false</info> if an error occurred.

<comment>See Also:</comment>
   * <strong>sqlsrv_prepare()</strong>
   * <strong>sqlsrv_execute()</strong>


id: sqlsrv_rollback
type: function
doc:
<comment>Description:</comment>
  Rolls back a transaction that was begun with 
    sqlsrv_begin_transaction
  
  Rolls back a transaction that was begun with <strong>sqlsrv_begin_transaction()</strong>  and returns the
  connection to auto-commit mode.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection resource returned by a call to <strong>sqlsrv_connect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>sqlsrv_begin_transaction()</strong>
   * <strong>sqlsrv_commit()</strong>


id: sqlsrv_rows_affected
type: function
doc:
<comment>Description:</comment>
  Returns the number of rows modified by the last INSERT, UPDATE, or 
    DELETE query executed
  
  Returns the number of rows modified by the last INSERT, UPDATE, or DELETE  query executed. For
  information about the number of rows returned by a SELECT  query, see <strong>sqlsrv_num_rows()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  The executed statement resource for which the number of affected rows is
                   returned.

<comment>Return:</comment>
  <info>int</info>  Returns the number of rows affected by the last INSERT, UPDATE, or DELETE query.  If no rows
       were affected, 0 is returned. If the number of affected rows cannot  be determined, -1 is
       returned. If an error occurred, <info>false</info> is returned.

<comment>See Also:</comment>
   * <strong>sqlsrv_num_rows()</strong>


id: sqlsrv_send_stream_data
type: function
doc:
<comment>Description:</comment>
  Sends data from parameter streams to the server
  
  Send data from parameter streams to the server. Up to 8 KB of data is sent  with each call.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A statement resource returned by <strong>sqlsrv_query()</strong> or  <strong>sqlsrv_execute()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if there is more data to send and <info>false</info> if there is not.

<comment>See Also:</comment>
   * <strong>sqlsrv_prepare()</strong>
   * <strong>sqlsrv_query()</strong>


id: sqlsrv_server_info
type: function
doc:
<comment>Description:</comment>
  Returns information about the server
  
  Returns information about the server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$conn</strong>  The connection resource that connects the client and the server.

<comment>Return:</comment>
  <info>array</info>  Returns an array as described in the following table: Returned ArrayCurrentDatabaseThe
         connected-to database.SQLServerVersionThe SQL Server version.SQLServerNameThe name of the
         server.

<comment>See Also:</comment>
   * <strong>sqlsrv_client_info()</strong>


id: ssdeep_fuzzy_compare
type: function
doc:
<comment>Description:</comment>
  Calculates the match score between two fuzzy hash signatures
  
  Calculates the match score between <strong>$signature1</strong> and <strong>$signature2</strong> using  context-triggered piecewise
  hashing, and returns the match score.

<comment>Param:</comment>
  <info>string</info>  <strong>$signature1</strong>  The first fuzzy hash signature string.
  <info>string</info>  <strong>$signature2</strong>  The second fuzzy hash signature string.

<comment>Return:</comment>
  <info>int</info>  Returns an integer from 0 to 100 on success, <info>false</info> otherwise.


id: ssdeep_fuzzy_hash
type: function
doc:
<comment>Description:</comment>
  Create a fuzzy hash from a string
  
  <strong>ssdeep_fuzzy_hash()</strong> calculates the hash of  <strong>$to_hash</strong> using  context-triggered piecewise hashing,
  and returns that hash.

<comment>Param:</comment>
  <info>string</info>  <strong>$to_hash</strong>  The input string.

<comment>Return:</comment>
  <info>string</info>  Returns a string on success, <info>false</info> otherwise.


id: ssdeep_fuzzy_hash_filename
type: function
doc:
<comment>Description:</comment>
  Create a fuzzy hash from a file
  
  <strong>ssdeep_fuzzy_hash_filename()</strong> calculates the hash  of the file specified by <strong>$file_name</strong> using
  context-triggered piecewise  hashing, and returns that hash.

<comment>Param:</comment>
  <info>string</info>  <strong>$file_name</strong>  The filename of the file to hash.

<comment>Return:</comment>
  <info>string</info>  Returns a string on success, <info>false</info> otherwise.


id: ssh2_auth_agent
type: function
doc:
<comment>Description:</comment>
  Authenticate over SSH using the ssh agent
  
  Authenticate over SSH using the ssh agent
  
  The <strong>ssh2_auth_agent()</strong> function will only be available  when the ssh2 extension is compiled with
  libssh &gt;= 1.2.3.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$username</strong>  Remote user name.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: ssh2_auth_hostbased_file
type: function
doc:
<comment>Description:</comment>
  Authenticate using a public hostkey
  
  Authenticate using a public hostkey read from a file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session       </strong>  An SSH connection link identifier, obtained from a call to
                             <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$username      </strong>  
  <info>string  </info>  <strong>$hostname      </strong>  
  <info>string  </info>  <strong>$pubkeyfile    </strong>  
  <info>string  </info>  <strong>$privkeyfile   </strong>  
  <info>string  </info>  <strong>$passphrase    </strong>  If <strong>$privkeyfile</strong> is encrypted (which it should be), the passphrase must
                             be provided.
  <info>string  </info>  <strong>$local_username</strong>  If <strong>$local_username</strong> is omitted, then the value for <strong>$username</strong> will be
                             used for it.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: ssh2_auth_none
type: function
doc:
<comment>Description:</comment>
  Authenticate as "none"
  
  Attempt "none" authentication which usually will (and should) fail. As part of the failure, this
  function will return an array of accepted authentication methods.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$username</strong>  Remote user name.

<comment>Return:</comment>
  <info>mixed</info>  Returns <info>true</info> if the server does accept "none" as an authentication method, or an array of
         accepted authentication methods on failure.


id: ssh2_auth_password
type: function
doc:
<comment>Description:</comment>
  Authenticate over SSH using a plain password
  
  Authenticate over SSH using a plain password. Since version 0.12 this function also supports
  keyboard_interactive method.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$username</strong>  Remote user name.
  <info>string  </info>  <strong>$password</strong>  Password for <strong>$username</strong>

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: ssh2_auth_pubkey_file
type: function
doc:
<comment>Description:</comment>
  Authenticate using a public key
  
  Authenticate using a public key read from a file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session    </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$username   </strong>  
  <info>string  </info>  <strong>$pubkeyfile </strong>  The public key file needs to be in OpenSSH's format. It should look
                          something like:
                          
                          ssh-rsa AAAAB3NzaC1yc2EAAA....NX6sqSnHA8= rsa-key-20121110
  <info>string  </info>  <strong>$privkeyfile</strong>  
  <info>string  </info>  <strong>$passphrase </strong>  If <strong>$privkeyfile</strong> is encrypted (which it should be), the <strong>$passphrase</strong> must be
                          provided.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: ssh2_connect
type: function
doc:
<comment>Description:</comment>
  Connect to an SSH server
  
  Establish a connection to a remote SSH server.
  
  Once connected, the client should verify the server's hostkey using <strong>ssh2_fingerprint()</strong>, then
  authenticate using either password or public key.

<comment>Param:</comment>
  <info>string</info>  <strong>$host     </strong>  
  <info>int   </info>  <strong>$port     </strong>  
  <info>array </info>  <strong>$methods  </strong>  <strong>$methods</strong> may be an associative array with up to four parameters as described
                      below.
                      
                      <strong>$methods</strong> may be an associative array with any or all of the following
                      parameters.IndexMeaningSupported Values*kex List of key exchange methods to
                      advertise, comma separated in order of preference. <return>diffie-hellman-group1-sha1</return>,
                      <return>diffie-hellman-group14-sha1</return>, and <return>diffie-hellman-group-exchange-sha1</return>hostkey
                      List of hostkey methods to advertise, comma separated in order of preference.
                      <return>ssh-rsa</return> and <return>ssh-dss</return> client_to_server Associative array containing crypt,
                      compression, and message authentication code (MAC) method preferences for
                      messages sent from client to server. server_to_client Associative array
                      containing crypt, compression, and message authentication code (MAC) method
                      preferences for messages sent from server to client.
                      
                      * - Supported Values are dependent on methods supported by underlying library.
                      See libssh2 documentation for additional information.
                      
                      <strong>$client_to_server</strong> and <strong>$server_to_client</strong> may be an associative array with any
                      or all of the following parameters. IndexMeaningSupported Values*cryptList of
                      crypto methods to advertise, comma separated in order of
                      preference.<return>rijndael-cbc@lysator.liu.se</return>, <return>aes256-cbc</return>, <return>aes192-cbc</return>, <return>aes128-cbc</return>,
                      <return>3des-cbc</return>, <return>blowfish-cbc</return>, <return>cast128-cbc</return>, <return>arcfour</return>, and <return>none**</return>compList of
                      compression methods to advertise, comma separated in order of preference.<return>zlib</return>
                      and <return>none</return> macList of MAC methods to advertise, comma separated in order of
                      preference.<return>hmac-sha1</return>, <return>hmac-sha1-96</return>, <return>hmac-ripemd160</return>,
                      <return>hmac-ripemd160@openssh.com</return>, and <return>none**</return>
                      
                      Crypt and MAC method "<return>none</return>" For security reasons, <return>none</return> is disabled by the
                      underlying libssh2 library unless explicitly enabled during build time by
                      using the appropriate ./configure options.  See documentation for the
                      underlying library for more information.
                      
                      For security reasons, <return>none</return> is disabled by the underlying libssh2 library
                      unless explicitly enabled during build time by using the appropriate
                      ./configure options.  See documentation for the underlying library for more
                      information.
  <info>array </info>  <strong>$callbacks</strong>  <strong>$callbacks</strong> may be an associative array with any or all of the following
                      parameters.  Callbacks parameters IndexMeaningPrototypeignore Name of function
                      to call when an <info>SSH2_MSG_IGNORE</info> packet is received void
                      ignore_cb($message)debug Name of function to call when an <info>SSH2_MSG_DEBUG</info>
                      packet is received void debug_cb($message, $language, $always_display)macerror
                      Name of function to call when a packet is received but the message
                      authentication code failed.  If the callback returns <info>true</info>, the mismatch will
                      be ignored, otherwise the connection will be terminated. bool
                      macerror_cb($packet)disconnect Name of function to call when an
                      <info>SSH2_MSG_DISCONNECT</info> packet is received void disconnect_cb($reason, $message,
                      $language)

<comment>Return:</comment>
  <info>resource</info>  Returns a resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ssh2_fingerprint()</strong>
   * <strong>ssh2_auth_none()</strong>
   * <strong>ssh2_auth_password()</strong>
   * <strong>ssh2_auth_pubkey_file()</strong>
   * <strong>ssh2_disconnect()</strong>


id: ssh2_disconnect
type: function
doc:
<comment>Description:</comment>
  Close a connection to a remote SSH server
  
  Close a connection to a remote SSH server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_connect()</strong>


id: ssh2_exec
type: function
doc:
<comment>Description:</comment>
  Execute a command on a remote server
  
  Execute a command at the remote end and allocate a channel for it.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session          </strong>  An SSH connection link identifier, obtained from a call to
                                <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$command          </strong>  
  <info>string  </info>  <strong>$pty              </strong>  
  <info>array   </info>  <strong>$env              </strong>  <strong>$env</strong> may be passed as an associative array of name/value pairs to
                                set in the target environment.
  <info>int     </info>  <strong>$width            </strong>  Width of the virtual terminal.
  <info>int     </info>  <strong>$height           </strong>  Height of the virtual terminal.
  <info>int     </info>  <strong>$width_height_type</strong>  <strong>$width_height_type</strong> should be one of <info>SSH2_TERM_UNIT_CHARS</info> or
                                <info>SSH2_TERM_UNIT_PIXELS</info>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a stream on success o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_connect()</strong>
   * <strong>ssh2_shell()</strong>
   * <strong>ssh2_tunnel()</strong>


id: ssh2_fetch_stream
type: function
doc:
<comment>Description:</comment>
  Fetch an extended data stream
  
  Fetches an alternate substream associated with an SSH2 channel stream. The SSH2 protocol currently
  defines only one substream, STDERR, which has a substream ID of <info>SSH2_STREAM_STDERR</info> (defined as 1).

<comment>Param:</comment>
  <info>resource</info>  <strong>$channel </strong>  
  <info>int     </info>  <strong>$streamid</strong>  An SSH2 channel stream.

<comment>Return:</comment>
  <info>resource</info>  Returns the requested stream resource.

<comment>See Also:</comment>
   * <strong>ssh2_shell()</strong>
   * <strong>ssh2_exec()</strong>
   * <strong>ssh2_connect()</strong>


id: ssh2_fingerprint
type: function
doc:
<comment>Description:</comment>
  Retrieve fingerprint of remote server
  
  Returns a server hostkey hash from an active session.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>int     </info>  <strong>$flags  </strong>  <strong>$flags</strong> may be either of <info>SSH2_FINGERPRINT_MD5</info> or <info>SSH2_FINGERPRINT_SHA1</info>
                      logically ORed with <info>SSH2_FINGERPRINT_HEX</info> or <info>SSH2_FINGERPRINT_RAW</info>.

<comment>Return:</comment>
  <info>string</info>  Returns the hostkey hash as a string.


id: ssh2_methods_negotiated
type: function
doc:
<comment>Description:</comment>
  Return list of negotiated methods
  
  Returns list of negotiated methods.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.

<comment>Return:</comment>
  <info>array</info>  

<comment>See Also:</comment>
   * <strong>ssh2_connect()</strong>


id: ssh2_publickey_add
type: function
doc:
<comment>Description:</comment>
  Add an authorized publickey
    
  
  Il sottosistema publickey
  è utilizzate per gestire le chiavi pubbliche su un server sul quale il client è
  già autenticato. Per autenticarsi su un sistema remoto
  utilizzando l'autenticazione a chiave pubblica, utilizzare invece la funzione
  <strong>ssh2_auth_pubkey_file()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$pkey      </strong>  Publickey Subsystem resource created by <strong>ssh2_publickey_init()</strong>.
  <info>string  </info>  <strong>$algoname  </strong>  Publickey algorithm (e.g.): ssh-dss, ssh-rsa
  <info>string  </info>  <strong>$blob      </strong>  Publickey blob as raw binary data
  <info>bool    </info>  <strong>$overwrite </strong>  If the specified key already exists, should it be overwritten?
  <info>array   </info>  <strong>$attributes</strong>  Associative array of attributes to assign to this public key. Refer to
                         ietf-secsh-publickey-subsystem for a list of supported attributes. To mark
                         an attribute as mandatory, precede its name with an asterisk. If the server
                         is unable to support an attribute marked mandatory, it will abort the add
                         process.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_publickey_init()</strong>
   * <strong>ssh2_publickey_remove()</strong>
   * <strong>ssh2_publickey_list()</strong>


id: ssh2_publickey_init
type: function
doc:
<comment>Description:</comment>
  Initialize Publickey subsystem
    
  
  Request the Publickey subsystem from an already connected SSH2 server.
  
  The publickey subsystem allows an already connected and authenticated client to manage the list of
  authorized public keys stored on the target server in an implementation agnostic manner. If the
  remote server does not support the publickey subsystem, the <strong>ssh2_publickey_init()</strong> function will
  return <info>false</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an <return>SSH2 Publickey Subsystem</return> resource for use with all other
                 ssh2_publickey_*() methods o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_publickey_add()</strong>
   * <strong>ssh2_publickey_remove()</strong>
   * <strong>ssh2_publickey_list()</strong>


id: ssh2_publickey_list
type: function
doc:
<comment>Description:</comment>
  List currently authorized publickeys
    
  
  List currently authorized publickeys.

<comment>Param:</comment>
  <info>resource</info>  <strong>$pkey</strong>  Publickey Subsystem resource

<comment>Return:</comment>
  <info>array</info>  Returns a numerically indexed array of keys, each of which is an associative array
         containing: name, blob, and attrs elements.
         
         Publickey elementsArray KeyMeaningnameName of algorithm used by this publickey, for
         example: <return>ssh-dss</return> or <return>ssh-rsa</return>.blobPublickey blob as raw binary data.attrsAttributes assigned
         to this publickey. The most common attribute, and the only one supported by publickey
         version 1 servers, is <return>comment</return>, which may be any freeform string.

<comment>See Also:</comment>
   * <strong>ssh2_publickey_init()</strong>
   * <strong>ssh2_publickey_add()</strong>
   * <strong>ssh2_publickey_remove()</strong>


id: ssh2_publickey_remove
type: function
doc:
<comment>Description:</comment>
  Remove an authorized publickey
    
  
  Removes an authorized publickey.

<comment>Param:</comment>
  <info>resource</info>  <strong>$pkey    </strong>  Publickey Subsystem Resource
  <info>string  </info>  <strong>$algoname</strong>  Publickey algorithm (e.g.): ssh-dss, ssh-rsa
  <info>string  </info>  <strong>$blob    </strong>  Publickey blob as raw binary data

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_publickey_init()</strong>
   * <strong>ssh2_publickey_add()</strong>
   * <strong>ssh2_publickey_list()</strong>


id: ssh2_scp_recv
type: function
doc:
<comment>Description:</comment>
  Request a file via SCP
  
  Copy a file from the remote server to the local filesystem using the SCP protocol.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session    </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$remote_file</strong>  Path to the remote file.
  <info>string  </info>  <strong>$local_file </strong>  Path to the local file.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_scp_send()</strong>
   * <strong>copy()</strong>


id: ssh2_scp_send
type: function
doc:
<comment>Description:</comment>
  Send a file via SCP
  
  Copy a file from the local filesystem to the remote server using the SCP protocol.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session    </strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$local_file </strong>  Path to the local file.
  <info>string  </info>  <strong>$remote_file</strong>  Path to the remote file.
  <info>int     </info>  <strong>$create_mode</strong>  The file will be created with the mode specified by <strong>$create_mode</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_scp_recv()</strong>
   * <strong>copy()</strong>


id: ssh2_sftp
type: function
doc:
<comment>Description:</comment>
  Initialize SFTP subsystem
  
  Request the SFTP subsystem from an already connected SSH2 server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  This method returns an <return>SSH2 SFTP</return> resource for use with all other ssh2_sftp_*()
                 methods and the ssh2.sftp:// fopen wrapper, o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_scp_recv()</strong>
   * <strong>ssh2_scp_send()</strong>


id: ssh2_sftp_chmod
type: function
doc:
<comment>Description:</comment>
  Changes file mode
  
  Attempts to change the mode of the specified file to that given in <strong>$mode</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp    </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$filename</strong>  Path to the file.
  <info>int     </info>  <strong>$mode    </strong>  Permissions on the file. See the <strong>chmod()</strong> for more details on this parameter.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>chmod()</strong>
   * <strong>ssh2_sftp()</strong>
   * <strong>ssh2_connect()</strong>


id: ssh2_sftp_lstat
type: function
doc:
<comment>Description:</comment>
  Stat a symbolic link
  
  Stats a symbolic link on the remote filesystem without following the link.
  
  This function is similar to using the <strong>lstat()</strong> function with the ssh2.sftp:// wrapper in PHP 5 and
  returns the same values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp</strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$path</strong>  Path to the remote symbolic link.

<comment>Return:</comment>
  <info>array</info>  See the documentation for <strong>stat()</strong> for details on the values which may be returned.

<comment>See Also:</comment>
   * <strong>ssh2_sftp_stat()</strong>
   * <strong>lstat()</strong>
   * <strong>stat()</strong>


id: ssh2_sftp_mkdir
type: function
doc:
<comment>Description:</comment>
  Create a directory
  
  Creates a directory on the remote file server with permissions set to <strong>$mode</strong>.
  
  This function is similar to using <strong>mkdir()</strong> with the ssh2.sftp:// wrapper.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp     </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$dirname  </strong>  Path of the new directory.
  <info>int     </info>  <strong>$mode     </strong>  Permissions on the new directory.
  <info>bool    </info>  <strong>$recursive</strong>  If <strong>$recursive</strong> is <info>true</info> any parent directories required for <strong>$dirname</strong> will be
                        automatically created as well.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>mkdir()</strong>
   * <strong>ssh2_sftp_rmdir()</strong>


id: ssh2_sftp_readlink
type: function
doc:
<comment>Description:</comment>
  Return the target of a symbolic link
  
  Returns the target of a symbolic link.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp</strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$link</strong>  Path of the symbolic link.

<comment>Return:</comment>
  <info>string</info>  Returns the target of the symbolic <strong>$link</strong>.

<comment>See Also:</comment>
   * <strong>readlink()</strong>
   * <strong>ssh2_sftp_symlink()</strong>


id: ssh2_sftp_realpath
type: function
doc:
<comment>Description:</comment>
  Resolve the realpath of a provided path string
  
  Translates <strong>$filename</strong> into the effective real path on the remote filesystem.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp    </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$filename</strong>  

<comment>Return:</comment>
  <info>string</info>  Returns the real path as a string.

<comment>See Also:</comment>
   * <strong>realpath()</strong>
   * <strong>ssh2_sftp_symlink()</strong>
   * <strong>ssh2_sftp_readlink()</strong>


id: ssh2_sftp_rename
type: function
doc:
<comment>Description:</comment>
  Rename a remote file
  
  Renames a file on the remote filesystem.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp</strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$from</strong>  The current file that is being renamed.
  <info>string  </info>  <strong>$to  </strong>  The new file name that replaces <strong>$from</strong>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rename()</strong>


id: ssh2_sftp_rmdir
type: function
doc:
<comment>Description:</comment>
  Remove a directory
  
  Removes a directory from the remote file server.
  
  This function is similar to using <strong>rmdir()</strong> with the ssh2.sftp:// wrapper.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp   </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$dirname</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rmdir()</strong>
   * <strong>ssh2_sftp_mkdir()</strong>


id: ssh2_sftp_stat
type: function
doc:
<comment>Description:</comment>
  Stat a file on a remote filesystem
  
  Stats a file on the remote filesystem following any symbolic links.
  
  This function is similar to using the <strong>stat()</strong> function with the ssh2.sftp:// wrapper in PHP 5 and
  returns the same values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp</strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$path</strong>  

<comment>Return:</comment>
  <info>array</info>  See the documentation for <strong>stat()</strong> for details on the values which may be returned.

<comment>See Also:</comment>
   * <strong>ssh2_sftp_lstat()</strong>
   * <strong>lstat()</strong>
   * <strong>stat()</strong>


id: ssh2_sftp_symlink
type: function
doc:
<comment>Description:</comment>
  Create a symlink
  
  Creates a symbolic link named <strong>$link</strong> on the remote filesystem pointing to <strong>$target</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp  </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$target</strong>  Target of the symbolic link.
  <info>string  </info>  <strong>$link  </strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ssh2_sftp_readlink()</strong>
   * <strong>symlink()</strong>


id: ssh2_sftp_unlink
type: function
doc:
<comment>Description:</comment>
  Delete a file
  
  Deletes a file on the remote filesystem.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sftp    </strong>  An SSH2 SFTP resource opened by <strong>ssh2_sftp()</strong>.
  <info>string  </info>  <strong>$filename</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>unlink()</strong>


id: ssh2_shell
type: function
doc:
<comment>Description:</comment>
  Request an interactive shell
  
  Open a shell at the remote end and allocate a stream for it.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session          </strong>  An SSH connection link identifier, obtained from a call to
                                <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$term_type        </strong>  <strong>$term_type</strong> should correspond to one of the entries in the target
                                system's <return>/etc/termcap</return> file.
  <info>array   </info>  <strong>$env              </strong>  <strong>$env</strong> may be passed as an associative array of name/value pairs to
                                set in the target environment.
  <info>int     </info>  <strong>$width            </strong>  Width of the virtual terminal.
  <info>int     </info>  <strong>$height           </strong>  Height of the virtual terminal.
  <info>int     </info>  <strong>$width_height_type</strong>  <strong>$width_height_type</strong> should be one of <info>SSH2_TERM_UNIT_CHARS</info> or
                                <info>SSH2_TERM_UNIT_PIXELS</info>.

<comment>Return:</comment>
  <info>resource</info>  

<comment>See Also:</comment>
   * <strong>ssh2_exec()</strong>
   * <strong>ssh2_tunnel()</strong>
   * <strong>ssh2_fetch_stream()</strong>


id: ssh2_tunnel
type: function
doc:
<comment>Description:</comment>
  Open a tunnel through a remote server
  
  Open a socket stream to an arbitrary host/port by way of the currently connected SSH server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$session</strong>  An SSH connection link identifier, obtained from a call to <strong>ssh2_connect()</strong>.
  <info>string  </info>  <strong>$host   </strong>  
  <info>int     </info>  <strong>$port   </strong>  

<comment>Return:</comment>
  <info>resource</info>  

<comment>See Also:</comment>
   * <strong>ssh2_connect()</strong>
   * <strong>fsockopen()</strong>


id: stats_absolute_deviation
type: function
doc:
<comment>Description:</comment>
  Returns the absolute deviation of an array of values
  
  Returns the absolute deviation of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a</strong>  The input array

<comment>Return:</comment>
  <info>float</info>  Returns the absolute deviation of the values in <strong>$a</strong>, or <info>false</info> if <strong>$a</strong> is empty or is not an
         array.


id: stats_cdf_beta
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the beta distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the beta
  distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, alpha, and beta
  denotes cumulative distribution function, the value of the random variable, and shape parameters
  of the beta distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxalphabeta2xCDFalphabeta3alphaxCDFbeta4betaxCDFalpha

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, alpha, or beta, determined by <strong>$which</strong>.


id: stats_cdf_binomial
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the binomial distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  binomial distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, n, and p denotes
  cumulative distribution function, the number of successes, the number of trials, and the success
  rate for each trial, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxnp2xCDFnp3nxCDFp4pxCDFn

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, n, or p, determined by <strong>$which</strong>.


id: stats_cdf_cauchy
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the Cauchy distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the Cauchy
  distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, x0, and gamma denotes
  cumulative distribution function, the value of the random variable, the location and the scale
  parameter of the Cauchy distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxx0gamma2xCDFx0gamma3x0xCDFgamma4gammaxCDFx0

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, x0, or gamma, determined by <strong>$which</strong>.


id: stats_cdf_chisquare
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the chi-square distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  chi-square distribution. The kind of the return value and parameters (<strong>$par1</strong> and <strong>$par2</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, and k denotes
  cumulative distribution function, the value of the random variable, and the degree of freedom of
  the chi-square distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong>1CDFxk2xCDFk3kxCDF

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, or k, determined by <strong>$which</strong>.


id: stats_cdf_exponential
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the exponential distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  exponential distribution. The kind of the return value and parameters (<strong>$par1</strong> and <strong>$par2</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, and lambda denotes
  cumulative distribution function, the value of the random variable, and the rate parameter of the
  exponential distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong>1CDFxlambda2xCDFlambda3lambdaxCDF

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, or lambda, determined by <strong>$which</strong>.


id: stats_cdf_f
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the F distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the F
  distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, d1, and d2 denotes
  cumulative distribution function, the value of the random variable, and the degree of freedoms of
  the F distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxd1d22xCDFd1d23d1xCDFd24d2xCDFd1

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, d1, or d2, determined by <strong>$which</strong>.


id: stats_cdf_gamma
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the gamma distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the gamma
  distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, k, and theta denotes
  cumulative distribution function, the value of the random variable, and the shape and the scale
  parameter of the gamma distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxktheta2xCDFktheta3kxCDFtheta4thetaxCDFk

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, k, or theta, determined by <strong>$which</strong>.


id: stats_cdf_laplace
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the Laplace distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  Laplace distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, mu, and b denotes
  cumulative distribution function, the value of the random variable, and the location and the scale
  parameter of the Laplace distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxmub2xCDFmub3muxCDFb4bxCDFmu

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, mu, or b, determined by <strong>$which</strong>.


id: stats_cdf_logistic
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the logistic distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  logistic distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, mu, and s denotes
  cumulative distribution function, the value of the random variable, and the location and the scale
  parameter of the logistic distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxmus2xCDFmus3muxCDFs4sxCDFmu

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, mu, or s, determined by <strong>$which</strong>.


id: stats_cdf_negative_binomial
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the negative binomial distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  negative binomial distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and
  <strong>$par3</strong>) are determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, r, and p denotes
  cumulative distribution function, the number of failure, the number of success, and the success
  rate for each trial, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxrp2xCDFrp3rxCDFp4pxCDFr

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, r, or p, determined by <strong>$which</strong>.


id: stats_cdf_noncentral_chisquare
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the non-central chi-square distribution given values for the
  others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  non-central chi-square distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>,
  and <strong>$par3</strong>) are determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, k, and lambda denotes
  cumulative distribution function, the value of the random variable, the degree of freedom and the
  non-centrality parameter of the distribution, respectively. Return value and
  parameters<strong>$which</strong>Return value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxklambda2xCDFklambda3kxCDFlambda4lambdaxCDFk

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, k, or lambda, determined by <strong>$which</strong>.


id: stats_cdf_noncentral_f
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the non-central F distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  non-central F distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, <strong>$par3</strong>, and
  <strong>$par4</strong>) are determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, nu1, nu2, and lambda
  denotes cumulative distribution function, the value of the random variable, the degree of freedoms
  and the non-centrality parameter of the distribution, respectively. Return value and
  parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong><strong>$par4</strong>1CDFxnu1nu2lambda2xCDFnu1nu2lambda3nu1xCDFnu2lambda4nu2xCDFnu1lambda5lambdaxCDFnu1nu2

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>float</info>  <strong>$par4 </strong>  The fourth parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, nu1, nu2, or lambda, determined by <strong>$which</strong>.


id: stats_cdf_noncentral_t
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the non-central t-distribution give values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  non-central t-distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>)
  are determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, nu, and mu denotes
  cumulative distribution function, the value of the random variable, the degrees of freedom and the
  non-centrality parameter of the distribution, respectively. Return value and
  parameters<strong>$which</strong>Return value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxnumu2xCDFnumu3nuxCDFmu4muxCDFnu

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, nu, or mu, determined by <strong>$which</strong>.


id: stats_cdf_normal
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the normal distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the normal
  distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, mu, and sigma denotes
  cumulative distribution function, the value of the random variable, the mean and the standard
  deviation of the normal distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxmusigma2xCDFmusigma3muxCDFsigma4sigmaxCDFmu

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, mu, or sigma, determined by <strong>$which</strong>.


id: stats_cdf_poisson
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the Poisson distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  Poisson distribution. The kind of the return value and parameters (<strong>$par1</strong> and <strong>$par2</strong>) are determined
  by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, and lambda denotes
  cumulative distribution function, the value of the random variable, and the parameter of the
  Poisson distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong>1CDFxlambda2xCDFlambda3lambdaxCDF

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, or lambda, determined by <strong>$which</strong>.


id: stats_cdf_t
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the t-distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  t-distribution. The kind of the return value and parameters (<strong>$par1</strong> and <strong>$par2</strong>) are determined by
  <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, and nu denotes
  cumulative distribution function, the value of the random variable, and the degrees of freedom of
  the t-distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong>1CDFxnu2xCDFnu3nuxCDF

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, or nu, determined by <strong>$which</strong>.


id: stats_cdf_uniform
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the uniform distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  uniform distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, a, and b denotes
  cumulative distribution function, the value of the random variable, the lower bound and the higher
  bound of the uniform distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxab2xCDFab3axCDFb4bxCDFa

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, a, or b, determined by <strong>$which</strong>.


id: stats_cdf_weibull
type: function
doc:
<comment>Description:</comment>
  Calculates any one parameter of the Weibull distribution given values for the others
  
  Returns the cumulative distribution function, its inverse, or one of its parameters, of the
  Weibull distribution. The kind of the return value and parameters (<strong>$par1</strong>, <strong>$par2</strong>, and <strong>$par3</strong>) are
  determined by <strong>$which</strong>.
  
  The following table lists the return value and parameters by <strong>$which</strong>. CDF, x, k, and lambda denotes
  cumulative distribution function, the value of the random variable, the shape and the scale
  parameter of the Weibull distribution, respectively. Return value and parameters<strong>$which</strong>Return
  value<strong>$par1</strong><strong>$par2</strong><strong>$par3</strong>1CDFxklambda2xCDFklambda3kxCDFlambda4lambdaxCDFk

<comment>Param:</comment>
  <info>float</info>  <strong>$par1 </strong>  The first parameter
  <info>float</info>  <strong>$par2 </strong>  The second parameter
  <info>float</info>  <strong>$par3 </strong>  The third parameter
  <info>int  </info>  <strong>$which</strong>  The flag to determine what to be calculated

<comment>Return:</comment>
  <info>float</info>  Returns CDF, x, k, or lambda, determined by <strong>$which</strong>.


id: stats_covariance
type: function
doc:
<comment>Description:</comment>
  Computes the covariance of two data sets
  
  Returns the covariance of <strong>$a</strong> and <strong>$b</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a</strong>  The first array
  <info>array</info>  <strong>$b</strong>  The second array

<comment>Return:</comment>
  <info>float</info>  Returns the covariance of <strong>$a</strong> and <strong>$b</strong>, or <info>false</info> on failure.


id: stats_dens_beta
type: function
doc:
<comment>Description:</comment>
  Probability density function of the beta distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the beta distribution of
  which the shape parameters are <strong>$a</strong> and <strong>$b</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x</strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$a</strong>  The shape parameter of the distribution
  <info>float</info>  <strong>$b</strong>  The shape parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_cauchy
type: function
doc:
<comment>Description:</comment>
  Probability density function of the Cauchy distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the Cauchy distribution
  whose location and scale are <strong>$ave</strong> and <strong>$stdev</strong>, respectively.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$ave  </strong>  The location parameter of the distribution
  <info>float</info>  <strong>$stdev</strong>  The scale parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_chisquare
type: function
doc:
<comment>Description:</comment>
  Probability density function of the chi-square distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the chi-square
  distribution of which the degree of freedom is <strong>$dfr</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x  </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$dfr</strong>  The degree of freedom of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_exponential
type: function
doc:
<comment>Description:</comment>
  Probability density function of the exponential distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the exponential
  distribution of which the scale is <strong>$scale</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$scale</strong>  The scale of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_f
type: function
doc:
<comment>Description:</comment>
  Probability density function of the F distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the F distribution of
  which the degree of freedoms are <strong>$dfr1</strong> and <strong>$dfr2</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x   </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$dfr1</strong>  The degree of freedom of the distribution
  <info>float</info>  <strong>$dfr2</strong>  The degree of freedom of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_gamma
type: function
doc:
<comment>Description:</comment>
  Probability density function of the gamma distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the gamma distribution of
  which the shape parameter is <strong>$shape</strong> and the scale parameter is <strong>$scale</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$shape</strong>  The shape parameter of the distribution
  <info>float</info>  <strong>$scale</strong>  The scale parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_laplace
type: function
doc:
<comment>Description:</comment>
  Probability density function of the Laplace distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the Laplace distribution
  of which the location parameter is <strong>$ave</strong> and the scale parameter is <strong>$stdev</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$ave  </strong>  The location parameter of the distribution
  <info>float</info>  <strong>$stdev</strong>  The shape parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_logistic
type: function
doc:
<comment>Description:</comment>
  Probability density function of the logistic distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the logistic distribution
  of which the location parameter is <strong>$ave</strong> and the scale parameter is <strong>$stdev</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$ave  </strong>  The location parameter of the distribution
  <info>float</info>  <strong>$stdev</strong>  The shape parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_normal
type: function
doc:
<comment>Description:</comment>
  Probability density function of the normal distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the normal distribution
  of which the mean is <strong>$ave</strong> and the standard deviation is <strong>$stdev</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x    </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$ave  </strong>  The mean of the distribution
  <info>float</info>  <strong>$stdev</strong>  The standard deviation of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_pmf_binomial
type: function
doc:
<comment>Description:</comment>
  Probability mass function of the binomial distribution
  
  Returns the probability mass at <strong>$x</strong>, where the random variable follows the binomial distribution of
  which the number of trials is <strong>$n</strong> and the success rate is <strong>$pi</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x </strong>  The value at which the probability mass is calculated
  <info>float</info>  <strong>$n </strong>  The number of trials of the distribution
  <info>float</info>  <strong>$pi</strong>  The success rate of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability mass at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_pmf_hypergeometric
type: function
doc:
<comment>Description:</comment>
  Probability mass function of the hypergeometric distribution
  
  Returns the probability mass at <strong>$n1</strong>, where the random variable follows the hypergeometric
  distribution of which the number of failure is <strong>$n2</strong>, the number of success samples is <strong>$N1</strong>, and the
  number of failure samples is <strong>$N2</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$n1</strong>  The number of success, at which the probability mass is calculated
  <info>float</info>  <strong>$n2</strong>  The number of failure of the distribution
  <info>float</info>  <strong>$N1</strong>  The number of success samples of the distribution
  <info>float</info>  <strong>$N2</strong>  The number of failure samples of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability mass at <strong>$n1</strong> or <info>false</info> for failure.


id: stats_dens_pmf_negative_binomial
type: function
doc:
<comment>Description:</comment>
  Probability mass function of the negative binomial distribution
  
  Returns the probability mass at <strong>$x</strong>, where the random variable follows the negative binomial
  distribution of which the number of the success is <strong>$n</strong> and the success rate is <strong>$pi</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x </strong>  The value at which the probability mass is calculated
  <info>float</info>  <strong>$n </strong>  The number of the success of the distribution
  <info>float</info>  <strong>$pi</strong>  The success rate of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability mass at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_pmf_poisson
type: function
doc:
<comment>Description:</comment>
  Probability mass function of the Poisson distribution
  
  Returns the probability mass at <strong>$x</strong>, where the random variable follows the Poisson distribution
  whose parameter is <strong>$lb</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x </strong>  The value at which the probability mass is calculated
  <info>float</info>  <strong>$lb</strong>  The parameter of the Poisson distribution

<comment>Return:</comment>
  <info>float</info>  The probability mass at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_t
type: function
doc:
<comment>Description:</comment>
  Probability density function of the t-distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the t-distribution of
  which the degree of freedom is <strong>$dfr</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x  </strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$dfr</strong>  The degree of freedom of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_uniform
type: function
doc:
<comment>Description:</comment>
  Probability density function of the uniform distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the uniform distribution
  of which the lower bound is <strong>$a</strong> and the upper bound is <strong>$b</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x</strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$a</strong>  The lower bound of the distribution
  <info>float</info>  <strong>$b</strong>  The upper bound of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_dens_weibull
type: function
doc:
<comment>Description:</comment>
  Probability density function of the Weibull distribution
  
  Returns the probability density at <strong>$x</strong>, where the random variable follows the Weibull distribution
  of which the shape parameter is <strong>$a</strong> and the scale parameter is <strong>$b</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$x</strong>  The value at which the probability density is calculated
  <info>float</info>  <strong>$a</strong>  The shape parameter of the distribution
  <info>float</info>  <strong>$b</strong>  The scale parameter of the distribution

<comment>Return:</comment>
  <info>float</info>  The probability density at <strong>$x</strong> or <info>false</info> for failure.


id: stats_harmonic_mean
type: function
doc:
<comment>Description:</comment>
  Returns the harmonic mean of an array of values
  
  Returns the harmonic mean of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a</strong>  The input array

<comment>Return:</comment>
  <info>number</info>  Returns the harmonic mean of the values in <strong>$a</strong>, or <info>false</info> if <strong>$a</strong> is empty or is not an array.


id: stats_kurtosis
type: function
doc:
<comment>Description:</comment>
  Computes the kurtosis of the data in the array
  
  Returns the kurtosis of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a</strong>  The input array

<comment>Return:</comment>
  <info>float</info>  Returns the kurtosis of the values in <strong>$a</strong>, or <info>false</info> if <strong>$a</strong> is empty or is not an array.


id: stats_rand_gen_beta
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the beta distribution
  
  Returns a random deviate from the beta distribution with parameters A and B. The density of the
  beta is x^(a-1) * (1-x)^(b-1) / B(a,b) for 0 \< x \<. Method R. C. H. Cheng.

<comment>Param:</comment>
  <info>float</info>  <strong>$a</strong>  The shape parameter of the beta distribution
  <info>float</info>  <strong>$b</strong>  The shape parameter of the beta distribution

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_chisquare
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the chi-square distribution
  
  Returns a random deviate from the chi-square distribution where the degrees of freedom is  <strong>$df</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$df</strong>  The degrees of freedom

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_exponential
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the exponential distribution
  
  Returns a random deviate from the exponential distribution of which the scale is <strong>$av</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$av</strong>  The scale parameter

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_f
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the F distribution
  
  Generates a random deviate from the F (variance ratio) distribution with  "dfn" degrees of freedom
  in the numerator and "dfd" degrees of freedom in  the denominator. Method : directly generates
  ratio of chisquare variates.

<comment>Param:</comment>
  <info>float</info>  <strong>$dfn</strong>  The degrees of freedom in the numerator
  <info>float</info>  <strong>$dfd</strong>  The degrees of freedom in the denominator

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_funiform
type: function
doc:
<comment>Description:</comment>
  Generates uniform float between low (exclusive) and high (exclusive)
  
  Returns a random deviate from the uniform distribution from <strong>$low</strong> to <strong>$high</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$low </strong>  The lower bound (inclusive)
  <info>float</info>  <strong>$high</strong>  The upper bound (exclusive)

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_gamma
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the gamma distribution
  
  Generates a random deviate from the gamma distribution whose density is (A**R)/Gamma(R) * X**(R-1)
  * Exp(-A*X).

<comment>Param:</comment>
  <info>float</info>  <strong>$a</strong>  location parameter of Gamma distribution (<strong>$a</strong> &gt; 0).
  <info>float</info>  <strong>$r</strong>  shape parameter of Gamma distribution (<strong>$r</strong> &gt; 0).

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_ibinomial
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the binomial distribution
  
  Returns a random deviate from the binomial distribution whose number of trials is <strong>$n</strong> and whose
  probability of an event in each trial is <strong>$pp</strong>.

<comment>Param:</comment>
  <info>int  </info>  <strong>$n </strong>  The number of trials
  <info>float</info>  <strong>$pp</strong>  The probability of an event in each trial

<comment>Return:</comment>
  <info>int</info>  A random deviate


id: stats_rand_gen_ibinomial_negative
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the negative binomial distribution
  
  Returns a random deviate from a negative binomial distribution where the number of success is <strong>$n</strong>
  and the success rate is <strong>$p</strong>.

<comment>Param:</comment>
  <info>int  </info>  <strong>$n</strong>  The number of success
  <info>float</info>  <strong>$p</strong>  The success rate

<comment>Return:</comment>
  <info>int</info>  A random deviate, which is the number of failure.


id: stats_rand_gen_int
type: function
doc:
<comment>Description:</comment>
  Generates random integer between 1 and 2147483562
  
  Returns a random integer between 1 and 2147483562

<comment>Return:</comment>
  <info>int</info>  A random integer


id: stats_rand_gen_ipoisson
type: function
doc:
<comment>Description:</comment>
  Generates a single random deviate from a Poisson distribution
  
  Returns a random deviate from the Poisson distribution with parameter <strong>$mu</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$mu</strong>  The parameter of the Poisson distribution

<comment>Return:</comment>
  <info>int</info>  A random deviate


id: stats_rand_gen_iuniform
type: function
doc:
<comment>Description:</comment>
  Generates integer uniformly distributed between LOW (inclusive) and HIGH (inclusive)
  
  Returns a random integer from the discrete uniform distribution between <strong>$low</strong> (inclusive) and <strong>$high</strong>
  (inclusive).

<comment>Param:</comment>
  <info>int</info>  <strong>$low </strong>  The lower bound
  <info>int</info>  <strong>$high</strong>  The upper bound

<comment>Return:</comment>
  <info>int</info>  A random integer


id: stats_rand_gen_noncentral_chisquare
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the non-central chi-square distribution
  
  Returns a random deviate from the non-central chi-square distribution with degrees of freedom,
  <strong>$df</strong>, and non-centrality parameter, <strong>$xnonc</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$df   </strong>  The degrees of freedom
  <info>float</info>  <strong>$xnonc</strong>  The non-centrality parameter

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_noncentral_f
type: function
doc:
<comment>Description:</comment>
  Generates a random deviate from the noncentral F distribution
  
  Returns a random deviate from the non-central F distribution where the degrees of freedoms are
  <strong>$dfn</strong> (numerator) and <strong>$dfd</strong> (denominator), and the non-centrality parameter is <strong>$xnonc</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$dfn  </strong>  The degrees of freedom of the numerator
  <info>float</info>  <strong>$dfd  </strong>  The degrees of freedom of the denominator
  <info>float</info>  <strong>$xnonc</strong>  The non-centrality parameter

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_noncentral_t
type: function
doc:
<comment>Description:</comment>
  Generates a single random deviate from a non-central t-distribution
  
  Returns a random deviate from the non-central t-distribution with the degrees of freedom, <strong>$df</strong>, and
  the non-centrality parameter, <strong>$xnonc</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$df   </strong>  The degrees of freedom
  <info>float</info>  <strong>$xnonc</strong>  The non-centrality parameter

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_normal
type: function
doc:
<comment>Description:</comment>
  Generates a single random deviate from a normal distribution
  
  Returns a random deviate from the normal distribution with mean, <strong>$av</strong>, and standard deviation, <strong>$sd</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$av</strong>  The mean of the normal distribution
  <info>float</info>  <strong>$sd</strong>  The standard deviation of the normal distribution

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_gen_t
type: function
doc:
<comment>Description:</comment>
  Generates a single random deviate from a t-distribution
  
  Returns a random deviate from the t-distribution with the degrees of freedom, <strong>$df</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$df</strong>  The degrees of freedom

<comment>Return:</comment>
  <info>float</info>  A random deviate


id: stats_rand_get_seeds
type: function
doc:
<comment>Description:</comment>
  Get the seed values of the random number generator
  
  Returns the current seed values of the random number generator

<comment>Return:</comment>
  <info>array</info>  Returns an array of two integers.


id: stats_rand_phrase_to_seeds
type: function
doc:
<comment>Description:</comment>
  Generate two seeds for the RGN random number generator
  
  Generate two seeds for the random number generator from a <strong>$phrase</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$phrase</strong>  The input phrase

<comment>Return:</comment>
  <info>array</info>  Returns an array of two integers.


id: stats_rand_ranf
type: function
doc:
<comment>Description:</comment>
  Generates a random floating point number between 0 and 1
  
  Returns a random floating point number from a uniform distribution between 0 (exclusive) and  1
  (exclusive).

<comment>Return:</comment>
  <info>float</info>  A random floating point number


id: stats_rand_setall
type: function
doc:
<comment>Description:</comment>
  Set seed values to the random generator
  
  Set <strong>$iseed1</strong> and <strong>$iseed2</strong> as seed values to the random generator used in statistic functions.

<comment>Param:</comment>
  <info>int</info>  <strong>$iseed1</strong>  The value which is used as the random seed
  <info>int</info>  <strong>$iseed2</strong>  The value which is used as the random seed

<comment>Return:</comment>
  <info>void</info>  No values are returned.


id: stats_skew
type: function
doc:
<comment>Description:</comment>
  Computes the skewness of the data in the array
  
  Returns the skewness of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a</strong>  The input array

<comment>Return:</comment>
  <info>float</info>  Returns the skewness of the values in <strong>$a</strong>, or <info>false</info> if <strong>$a</strong> is empty or is not an array.


id: stats_standard_deviation
type: function
doc:
<comment>Description:</comment>
  Returns the standard deviation
  
  Returns the standard deviation of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a     </strong>  The array of data to find the standard deviation for. Note that all  values of the
                  array will be cast to <info>float</info>.
  <info>bool </info>  <strong>$sample</strong>  Indicates if <strong>$a</strong> represents a sample of the  population; defaults to <info>false</info>.

<comment>Return:</comment>
  <info>float</info>  Returns the standard deviation on success; <info>false</info> on failure.


id: stats_stat_binomial_coef
type: function
doc:
<comment>Description:</comment>
  Returns a binomial coefficient
  
  Returns the binomial coefficient of <strong>$n</strong> choose <strong>$x</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$x</strong>  The number of chooses from the set
  <info>int</info>  <strong>$n</strong>  The number of elements in the set

<comment>Return:</comment>
  <info>float</info>  Returns the binomial coefficient


id: stats_stat_correlation
type: function
doc:
<comment>Description:</comment>
  Returns the Pearson correlation coefficient of two data sets
  
  Returns the Pearson correlation coefficient between <strong>$arr1</strong> and <strong>$arr2</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr1</strong>  The first array
  <info>array</info>  <strong>$arr2</strong>  The second array

<comment>Return:</comment>
  <info>float</info>  Returns the Pearson correlation coefficient between <strong>$arr1</strong> and <strong>$arr2</strong>, or <info>false</info> on failure.


id: stats_stat_factorial
type: function
doc:
<comment>Description:</comment>
  Returns the factorial of an integer
  
  Returns the factorial of an integer, <strong>$n</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$n</strong>  An integer

<comment>Return:</comment>
  <info>float</info>  The factorial of <strong>$n</strong>.


id: stats_stat_independent_t
type: function
doc:
<comment>Description:</comment>
  Returns the t-value from the independent two-sample t-test
  
  Returns the t-value of the independent two-sample t-test between <strong>$arr1</strong> and <strong>$arr2</strong>.
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr1</strong>  The first set of values
  <info>array</info>  <strong>$arr2</strong>  The second set of values

<comment>Return:</comment>
  <info>float</info>  Returns the t-value, or <info>false</info> if failure.


id: stats_stat_innerproduct
type: function
doc:
<comment>Description:</comment>
  Returns the inner product of two vectors
  
  Returns the inner product of <strong>$arr1</strong> and <strong>$arr2</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr1</strong>  The first array
  <info>array</info>  <strong>$arr2</strong>  The second array

<comment>Return:</comment>
  <info>float</info>  Returns the inner product of <strong>$arr1</strong> and <strong>$arr2</strong>, or <info>false</info> on failure.


id: stats_stat_paired_t
type: function
doc:
<comment>Description:</comment>
  Returns the t-value of the dependent t-test for paired samples
  
  Returns the t-value of the dependent t-test for paired samples <strong>$arr1</strong> and <strong>$arr2</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr1</strong>  The first samples
  <info>array</info>  <strong>$arr2</strong>  The second samples

<comment>Return:</comment>
  <info>float</info>  Returns the t-value, or <info>false</info> if failure.


id: stats_stat_percentile
type: function
doc:
<comment>Description:</comment>
  Returns the percentile value
  
  Returns the <strong>$perc</strong>-th percentile value of the array <strong>$arr</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr </strong>  The input array
  <info>float</info>  <strong>$perc</strong>  The percentile

<comment>Return:</comment>
  <info>float</info>  Returns the percentile values of the input array.


id: stats_stat_powersum
type: function
doc:
<comment>Description:</comment>
  Returns the power sum of a vector
  
  Returns the sum of the <strong>$power</strong>-th power of a vector represented as an array <strong>$arr</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$arr  </strong>  The input array
  <info>float</info>  <strong>$power</strong>  The power

<comment>Return:</comment>
  <info>float</info>  Returns the power sum of the input array.


id: stats_variance
type: function
doc:
<comment>Description:</comment>
  Returns the variance
  
  Returns the variance of the values in <strong>$a</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$a     </strong>  The array of data to find the standard deviation for. Note that all  values of the
                  array will be cast to <info>float</info>.
  <info>bool </info>  <strong>$sample</strong>  Indicates if <strong>$a</strong> represents a sample of the  population; defaults to <info>false</info>.

<comment>Return:</comment>
  <info>float</info>  Returns the variance on success; <info>false</info> on failure.


id: stomp_connect_error
type: function
doc:
<comment>Description:</comment>
  Returns a string description of the last connect error
  
  Returns a string description of the last connect error.

<comment>Return:</comment>
  <info>string</info>  A string that describes the error, or <info>null</info> if no error occurred.


id: stomp_version
type: function
doc:
<comment>Description:</comment>
  Gets the current stomp extension version
  
  Returns a string containing the version of the current stomp extension.

<comment>Return:</comment>
  <info>string</info>  It returns the current stomp extension version


id: str_contains
type: function
doc:
<comment>Description:</comment>
  Determine if a string contains a given substring
  
  Performs a case-sensitive check indicating if <strong>$needle</strong> is contained in <strong>$haystack</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$haystack</strong>  The string to search in.
  <info>string</info>  <strong>$needle  </strong>  The substring to search for in the <strong>$haystack</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$needle</strong> is in <strong>$haystack</strong>, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>str_ends_with()</strong>
   * <strong>str_starts_with()</strong>
   * <strong>stripos()</strong>
   * <strong>strrpos()</strong>
   * <strong>strripos()</strong>
   * <strong>strstr()</strong>
   * <strong>strpbrk()</strong>
   * <strong>substr()</strong>
   * <strong>preg_match()</strong>


id: str_ends_with
type: function
doc:
<comment>Description:</comment>
  Checks if a string ends with a given substring
  
  Performs a case-sensitive check indicating if <strong>$haystack</strong> ends with <strong>$needle</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$haystack</strong>  The string to search in.
  <info>string</info>  <strong>$needle  </strong>  The substring to search for in the <strong>$haystack</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$haystack</strong> ends with <strong>$needle</strong>, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>str_contains()</strong>
   * <strong>str_starts_with()</strong>
   * <strong>stripos()</strong>
   * <strong>strrpos()</strong>
   * <strong>strripos()</strong>
   * <strong>strstr()</strong>
   * <strong>strpbrk()</strong>
   * <strong>substr()</strong>
   * <strong>preg_match()</strong>


id: str_getcsv
type: function
doc:
<comment>Description:</comment>
  Parse a CSV string into an array
    
  
  Parses a string input for fields in CSV format and returns an array containing the fields read.
  
  The locale settings are taken into account by this function. If <return>LC_CTYPE</return> is e.g. <return>en_US.UTF-8</return>,
  strings in one-byte encodings may be read wrongly by this function.

<comment>Param:</comment>
  <info>string</info>  <strong>$string   </strong>  The string to parse.
  <info>string</info>  <strong>$separator</strong>  Set the field delimiter (one character only).
  <info>string</info>  <strong>$enclosure</strong>  Set the field enclosure character (one character only).
  <info>string</info>  <strong>$escape   </strong>  Set the escape character (at most one character). Defaults as a backslash (<return>\</return>)
                      An empty string (<return>""</return>) disables the proprietary escape mechanism.
                      
                      Usually an <strong>$enclosure</strong> character is escaped inside a field by doubling it;
                      however, the <strong>$escape</strong> character can be used as an alternative. So for the
                      default parameter values <return>""</return> and <return>\"</return> have the same meaning. Other than allowing
                      to escape the <strong>$enclosure</strong> character the <strong>$escape</strong> character has no special
                      meaning; it isn't even meant to escape itself.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array containing the fields read.

<comment>See Also:</comment>
   * <strong>fgetcsv()</strong>


id: str_pad
type: function
doc:
<comment>Description:</comment>
  Riempie una stringa con un'altra stringa portando la prima ad una lunghezza pre-determinata


id: str_replace
type: function
doc:
<comment>Description:</comment>
  Sostituisce tutte le occorrenze della stringa cercata con la stringa di sostituzione


id: str_starts_with
type: function
doc:
<comment>Description:</comment>
  Checks if a string starts with a given substring
  
  Performs a case-sensitive check indicating if <strong>$haystack</strong> begins with <strong>$needle</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$haystack</strong>  The string to search in.
  <info>string</info>  <strong>$needle  </strong>  The substring to search for in the <strong>$haystack</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$haystack</strong> begins with <strong>$needle</strong>, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>str_contains()</strong>
   * <strong>str_ends_with()</strong>
   * <strong>stripos()</strong>
   * <strong>strrpos()</strong>
   * <strong>strripos()</strong>
   * <strong>strstr()</strong>
   * <strong>strpbrk()</strong>
   * <strong>substr()</strong>
   * <strong>preg_match()</strong>


id: str_word_count
type: function
doc:
<comment>Description:</comment>
  Restituisce informazioni sulle parole utilizzate in una stringa
    
  
  Conta il numero di parole presenti in <strong>$string</strong>.  Se non viene indicato il parametro opzionale
  <strong>$format</strong>, allora la funzione restituirà un intero indicante il numero di parole trovate. Nel caso
  in cui sia specificato <strong>$format</strong>, la funzione restituisce una matrice il cui contenuto dipende dal
  parametro <strong>$format</strong>. I possibili valori per  <strong>$format</strong> ed i rispettivi output sono elencati di
  seguito.
  
  Per gli scopi di questa funzione 'parola' è definita come testo dipendente dalle impostazioni
  locali, contenente caratteri alfabetici, che può contenere, ma non cominciare, con i caratteri "'"
  and "-".

<comment>Param:</comment>
  <info>string</info>  <strong>$string  </strong>  La stringa
  <info>int   </info>  <strong>$format  </strong>  Indica il tipo di valore restituito dalla funzione. Le attuali impostazioni
                     ammesse per il parametro sono:  0 - restituisce il numero di parole trovate  1
                     - restituisce una matrice contenente tutte le parole trovate all'interno di
                     <strong>$string</strong>.  2 - restituisce una matrice associativa, in cui le chiavi sono la
                     posizione numerica della parola in <strong>$string</strong> ed il valore è la parola stessa.
                     
                     0 - restituisce il numero di parole trovate
                     
                     1 - restituisce una matrice contenente tutte le parole trovate all'interno di
                     <strong>$string</strong>.
                     
                     2 - restituisce una matrice associativa, in cui le chiavi sono la posizione
                     numerica della parola in <strong>$string</strong> ed il valore è la parola stessa.
  <info>string</info>  <strong>$charlist</strong>  Lista di caratteri addizionali da considerare come 'parole'

<comment>Return:</comment>
  <info>mixed</info>  Restituisce un intero od una matrice in base al valore di <strong>$format</strong>.

<comment>See Also:</comment>
   * <strong>explode()</strong>
   * <strong>preg_split()</strong>
   * <strong>split()</strong>
   * <strong>count_chars()</strong>
   * <strong>substr_count()</strong>


id: strcasecmp
type: function
doc:
<comment>Description:</comment>
  Confronto non sensibile alle maiuscole e sicuro con i dati binari


id: strchr
type: function
doc:
<comment>Description:</comment>
  Alias di strstr
  
  Questa funzione è sinonimo di:  <strong>strstr()</strong>.


id: strcmp
type: function
doc:
<comment>Description:</comment>
  Confronto tra stringhe affidabile con dati binari
  
  Attenzione: il confronto non tiene conto delle lettere maiuscole e minuscole.

<comment>Param:</comment>
  <info>string</info>  <strong>$str1</strong>  La prima stringa.
  <info>string</info>  <strong>$str2</strong>  La seconda stringa.

<comment>Return:</comment>
  <info>int</info>  Restituisce \< 0 se <strong>$str1</strong> è minore di <strong>$str2</strong>; &gt; 0 se <strong>$str1</strong> è maggiore di <strong>$str2</strong>, e 0 se sono
       uguali.

<comment>See Also:</comment>
   * <strong>strcasecmp()</strong>
   * <strong>preg_match()</strong>
   * <strong>substr_compare()</strong>
   * <strong>strncmp()</strong>
   * <strong>strstr()</strong>
   * <strong>substr()</strong>


id: strcspn
type: function
doc:
<comment>Description:</comment>
  Trova la lunghezza del segmento iniziale che non soddisfa una maschera


id: streamWrapper
type: class
doc:
<comment>Description:</comment>
  Allows you to implement your own protocol handlers and streams for use with all the other
  filesystem functions (such as <strong>fopen()</strong>, <strong>fread()</strong> etc.).
  
  This is NOT a real class, only a prototype of how a class defining its own protocol should be.
  
  Implementing the methods in other ways than described here can lead to undefined behaviour.
  
  An instance of this class is initialized as soon as a stream function tries to access the protocol
  it is associated with.


id: streamWrapper::__construct
type: function
doc:
<comment>Description:</comment>
  Constructs a new stream wrapper
  
  Called when opening the stream wrapper, right before streamWrapper::stream_open.


id: streamWrapper::__destruct
type: function
doc:
<comment>Description:</comment>
  Destructs an existing stream wrapper
  
  Called when closing the stream wrapper, right before streamWrapper::stream_flush.


id: streamWrapper::dir_closedir
type: function
doc:
<comment>Description:</comment>
  Close directory handle
  
  This method is called in response to <strong>closedir()</strong>.
  
  Any resources which were locked, or allocated, during opening and use of the directory stream
  should be released.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>closedir()</strong>
   * streamWrapper::dir_opendir


id: streamWrapper::dir_opendir
type: function
doc:
<comment>Description:</comment>
  Open directory handle
  
  This method is called in response to <strong>opendir()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$path   </strong>  Specifies the URL that was passed to <strong>opendir()</strong>.
                    
                    The URL can be broken apart with <strong>parse_url()</strong>.
  <info>int   </info>  <strong>$options</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>opendir()</strong>
   * streamWrapper::dir_closedir
   * <strong>parse_url()</strong>


id: streamWrapper::dir_readdir
type: function
doc:
<comment>Description:</comment>
  Read entry from directory handle
  
  This method is called in response to <strong>readdir()</strong>.

<comment>Return:</comment>
  <info>string</info>  Should return <info>string</info> representing the next filename, or <info>false</info> if there is no next file.
          
          The return value will be casted to <info>string</info>.

<comment>See Also:</comment>
   * <strong>readdir()</strong>


id: streamWrapper::dir_rewinddir
type: function
doc:
<comment>Description:</comment>
  Rewind directory handle
  
  This method is called in response to <strong>rewinddir()</strong>.
  
  Should reset the output generated by streamWrapper::dir_readdir. i.e.: The next call to
  streamWrapper::dir_readdir should return the first entry in the location returned by
  streamWrapper::dir_opendir.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rewinddir()</strong>
   * streamWrapper::dir_readdir


id: streamWrapper::mkdir
type: function
doc:
<comment>Description:</comment>
  Create a directory
  
  This method is called in response to <strong>mkdir()</strong>.
  
  In order for the appropriate error message to be returned this method should not be defined if the
  wrapper does not support creating directories.

<comment>Param:</comment>
  <info>string</info>  <strong>$path   </strong>  Directory which should be created.
  <info>int   </info>  <strong>$mode   </strong>  The value passed to <strong>mkdir()</strong>.
  <info>int   </info>  <strong>$options</strong>  A bitwise mask of values, such as <info>STREAM_MKDIR_RECURSIVE</info>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>mkdir()</strong>
   * streamwrapper::rmdir


id: streamWrapper::rename
type: function
doc:
<comment>Description:</comment>
  Renames a file or directory
  
  This method is called in response to <strong>rename()</strong>.
  
  Should attempt to rename <strong>$path_from</strong> to <strong>$path_to</strong>
  
  In order for the appropriate error message to be returned this method should not be defined if the
  wrapper does not support renaming files.

<comment>Param:</comment>
  <info>string</info>  <strong>$path_from</strong>  The URL to the current file.
  <info>string</info>  <strong>$path_to  </strong>  The URL which the <strong>$path_from</strong> should be renamed to.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rename()</strong>


id: streamWrapper::rmdir
type: function
doc:
<comment>Description:</comment>
  Removes a directory
  
  This method is called in response to <strong>rmdir()</strong>.
  
  In order for the appropriate error message to be returned this method should not be defined if the
  wrapper does not support removing directories.

<comment>Param:</comment>
  <info>string</info>  <strong>$path   </strong>  The directory URL which should be removed.
  <info>int   </info>  <strong>$options</strong>  A bitwise mask of values, such as <info>STREAM_MKDIR_RECURSIVE</info>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>rmdir()</strong>
   * streamwrapper::mkdir
   * streamwrapper::unlink


id: streamWrapper::stream_cast
type: function
doc:
<comment>Description:</comment>
  Retrieve the underlaying resource
  
  This method is called in response to <strong>stream_select()</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$cast_as</strong>  Can be <info>STREAM_CAST_FOR_SELECT</info> when <strong>stream_select()</strong> is calling <strong>stream_cast()</strong> or
                 <info>STREAM_CAST_AS_STREAM</info> when <strong>stream_cast()</strong> is called for other uses.

<comment>Return:</comment>
  <info>resource</info>  Should return the underlying stream resource used by the wrapper, or <info>false</info>.

<comment>See Also:</comment>
   * <strong>stream_select()</strong>


id: streamWrapper::stream_close
type: function
doc:
<comment>Description:</comment>
  Close a resource
  
  This method is called in response to <strong>fclose()</strong>.
  
  All resources that were locked, or allocated, by the wrapper should be released.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.

<comment>See Also:</comment>
   * <strong>fclose()</strong>
   * streamWrapper::dir_closedir


id: streamWrapper::stream_eof
type: function
doc:
<comment>Description:</comment>
  Tests for end-of-file on a file pointer
  
  This method is called in response to <strong>feof()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Should return <info>true</info> if the read/write position is at the end of the stream and if no more
        data is available to be read, or <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>feof()</strong>


id: streamWrapper::stream_flush
type: function
doc:
<comment>Description:</comment>
  Flushes the output
  
  This method is called in response to <strong>fflush()</strong> and when the stream is being closed while any
  unflushed data has been written to it before.
  
  If you have cached data in your stream but not yet stored it into the underlying storage, you
  should do so now.

<comment>Return:</comment>
  <info>bool</info>  Should return <info>true</info> if the cached data was successfully stored (or if there was no data to
        store), or <info>false</info> if the data could not be stored.

<comment>See Also:</comment>
   * <strong>fflush()</strong>


id: streamWrapper::stream_lock
type: function
doc:
<comment>Description:</comment>
  Advisory file locking
  
  This method is called in response to <strong>flock()</strong>, when <strong>file_put_contents()</strong> (when <strong>$flags</strong> contains
  <info>LOCK_EX</info>), <strong>stream_set_blocking()</strong> and when closing the stream (<info>LOCK_UN</info>).

<comment>Param:</comment>
  <info>int</info>  <strong>$operation</strong>  <strong>$operation</strong> is one of the following: <info>LOCK_SH</info> to acquire a shared lock (reader).
                   <info>LOCK_EX</info> to acquire an exclusive lock (writer). <info>LOCK_UN</info> to release a lock (shared
                   or exclusive). <info>LOCK_NB</info> if you don't want <strong>flock()</strong> to block while locking. (not
                   supported on Windows)
                   
                   <info>LOCK_SH</info> to acquire a shared lock (reader).
                   
                   <info>LOCK_EX</info> to acquire an exclusive lock (writer).
                   
                   <info>LOCK_UN</info> to release a lock (shared or exclusive).
                   
                   <info>LOCK_NB</info> if you don't want <strong>flock()</strong> to block while locking. (not supported on
                   Windows)

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>stream_set_blocking()</strong>
   * <strong>flock()</strong>


id: streamWrapper::stream_metadata
type: function
doc:
<comment>Description:</comment>
  Change stream metadata
  
  This method is called to set metadata on the stream. It is called when one of the following
  functions is called on a stream URL: <strong>touch()</strong><strong>chmod()</strong><strong>chown()</strong><strong>chgrp()</strong> Please note that some of these
  operations may not be available on your system.

<comment>Param:</comment>
  <info>string</info>  <strong>$path  </strong>  The file path or URL to set metadata.  Note that in the case of a URL, it must be
                   a :// delimited URL.  Other URL forms are not supported.
  <info>int   </info>  <strong>$option</strong>  One of: <info>STREAM_META_TOUCH</info> (The method was called in response to
                   <strong>touch()</strong>)<info>STREAM_META_OWNER_NAME</info> (The method was called in response to <strong>chown()</strong> with
                   string parameter)<info>STREAM_META_OWNER</info> (The method was called in response to
                   <strong>chown()</strong>)<info>STREAM_META_GROUP_NAME</info> (The method was called in response to
                   <strong>chgrp()</strong>)<info>STREAM_META_GROUP</info> (The method was called in response to
                   <strong>chgrp()</strong>)<info>STREAM_META_ACCESS</info> (The method was called in response to  <strong>chmod()</strong>)
  <info>mixed </info>  <strong>$value </strong>  If <strong>$option</strong> is <info>STREAM_META_TOUCH</info>: <info>Array</info> consisting of two arguments of the <strong>touch()</strong>
                   function.<info>STREAM_META_OWNER_NAME</info> or <info>STREAM_META_GROUP_NAME</info>: The name of the owner
                   user/group as <info>string</info>.<info>STREAM_META_OWNER</info> or <info>STREAM_META_GROUP</info>: The value owner
                   user/group argument as <info>int</info>.<info>STREAM_META_ACCESS</info>: The argument of the <strong>chmod()</strong> as
                   <info>int</info>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento. If <strong>$option</strong> is not
        implemented, <info>false</info> should be returned.

<comment>See Also:</comment>
   * <strong>touch()</strong>
   * <strong>chmod()</strong>
   * <strong>chown()</strong>
   * <strong>chgrp()</strong>


id: streamWrapper::stream_open
type: function
doc:
<comment>Description:</comment>
  Opens file or URL
  
  This method is called immediately after the wrapper is initialized (f.e. by <strong>fopen()</strong> and
  <strong>file_get_contents()</strong>).

<comment>Param:</comment>
  <info>string</info>  <strong>$path       </strong>  Specifies the URL that was passed to the original function.
                        
                        The URL can be broken apart with <strong>parse_url()</strong>.  Note that only URLs delimited
                        by :// are supported. : and :/ while technically valid URLs, are not.
  <info>string</info>  <strong>$mode       </strong>  The mode used to open the file, as detailed for <strong>fopen()</strong>.
                        
                        Remember to check if the <strong>$mode</strong> is valid for the <strong>$path</strong> requested.
  <info>int   </info>  <strong>$options    </strong>  Holds additional flags set by the streams API. It can hold one or more of
                        the following values OR'd together. FlagDescription<info>STREAM_USE_PATH</info>If <strong>$path</strong>
                        is relative, search for the resource using the include_path.
                        <info>STREAM_REPORT_ERRORS</info>If this flag is set, you are responsible for raising
                        errors using <strong>trigger_error()</strong> during opening of the stream.  If this flag is
                        not set, you should not raise any errors.
  <info>string</info>  <strong>$opened_path</strong>  If the <strong>$path</strong> is opened successfully, and <info>STREAM_USE_PATH</info> is set in <strong>$options</strong>,
                        <strong>$opened_path</strong> should be set to the full path of the file/resource that was
                        actually opened.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>fopen()</strong>
   * <strong>parse_url()</strong>


id: streamWrapper::stream_read
type: function
doc:
<comment>Description:</comment>
  Read from stream
  
  This method is called in response to <strong>fread()</strong> and <strong>fgets()</strong>.
  
  Remember to update the read/write position of the stream (by the number of bytes that were
  successfully read).

<comment>Param:</comment>
  <info>int</info>  <strong>$count</strong>  How many bytes of data from the current position should be returned.

<comment>Return:</comment>
  <info>string</info>  If there are less than <strong>$count</strong> bytes available, return as many as are available.  If no
          more data is available, return either <info>false</info> or an empty string.

<comment>See Also:</comment>
   * <strong>fread()</strong>
   * <strong>fgets()</strong>


id: streamWrapper::stream_seek
type: function
doc:
<comment>Description:</comment>
  Seeks to specific location in a stream
  
  This method is called in response to <strong>fseek()</strong>.
  
  The read/write position of the stream should be updated according to the <strong>$offset</strong> and <strong>$whence</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$offset</strong>  The stream offset to seek to.
  <info>int</info>  <strong>$whence</strong>  Possible values: <info>SEEK_SET</info> - Set position equal to <strong>$offset</strong> bytes.<info>SEEK_CUR</info> - Set
                position to current location plus <strong>$offset</strong>.<info>SEEK_END</info> - Set position to end-of-file
                plus <strong>$offset</strong>.
                
                The current implementation never sets <strong>$whence</strong> to <info>SEEK_CUR</info>; instead such seeks are
                internally converted to <info>SEEK_SET</info> seeks.

<comment>Return:</comment>
  <info>bool</info>  Return <info>true</info> if the position was updated, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>fseek()</strong>


id: streamWrapper::stream_set_option
type: function
doc:
<comment>Description:</comment>
  Change stream options
  
  This method is called to set options on the stream.

<comment>Param:</comment>
  <info>int</info>  <strong>$option</strong>  One of: <info>STREAM_OPTION_BLOCKING</info> (The method was called in response to
                <strong>stream_set_blocking()</strong>)<info>STREAM_OPTION_READ_TIMEOUT</info> (The method was called in response
                to <strong>stream_set_timeout()</strong>)<info>STREAM_OPTION_WRITE_BUFFER</info> (The method was called in
                response to  <strong>stream_set_write_buffer()</strong>)
  <info>int</info>  <strong>$arg1  </strong>  If <strong>$option</strong> is <info>STREAM_OPTION_BLOCKING</info>: requested blocking mode (1 meaning block 0 not
                blocking).<info>STREAM_OPTION_READ_TIMEOUT</info>: the timeout in
                seconds.<info>STREAM_OPTION_WRITE_BUFFER</info>: buffer mode (<info>STREAM_BUFFER_NONE</info> or
                <info>STREAM_BUFFER_FULL</info>).
  <info>int</info>  <strong>$arg2  </strong>  If <strong>$option</strong> is <info>STREAM_OPTION_BLOCKING</info>: This option is not
                set.<info>STREAM_OPTION_READ_TIMEOUT</info>: the timeout in
                microseconds.<info>STREAM_OPTION_WRITE_BUFFER</info>: the requested buffer size.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento. If <strong>$option</strong> is not
        implemented, <info>false</info> should be returned.

<comment>See Also:</comment>
   * <strong>stream_set_blocking()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>stream_set_write_buffer()</strong>


id: streamWrapper::stream_stat
type: function
doc:
<comment>Description:</comment>
  Retrieve information about a file resource
  
  This method is called in response to <strong>fstat()</strong>.

<comment>Return:</comment>
  <info>array</info>  See <strong>stat()</strong>.

<comment>See Also:</comment>
   * <strong>stat()</strong>
   * streamwrapper::url_stat


id: streamWrapper::stream_tell
type: function
doc:
<comment>Description:</comment>
  Retrieve the current position of a stream
  
  This method is called in response to <strong>fseek()</strong> to determine the current position.

<comment>Return:</comment>
  <info>int</info>  Should return the current position of the stream.

<comment>See Also:</comment>
   * streamWrapper::stream_tell


id: streamWrapper::stream_truncate
type: function
doc:
<comment>Description:</comment>
  Truncate stream
  
  Will respond to truncation, e.g., through <strong>ftruncate()</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$new_size</strong>  The new size.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>ftruncate()</strong>


id: streamWrapper::stream_write
type: function
doc:
<comment>Description:</comment>
  Write to stream
  
  This method is called in response to <strong>fwrite()</strong>.
  
  Remember to update the current position of the stream by number of bytes that were successfully
  written.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  Should be stored into the underlying stream.
                 
                 If there is not enough room in the underlying stream, store as much as possible.

<comment>Return:</comment>
  <info>int</info>  Should return the number of bytes that were successfully stored, or 0 if none could be
       stored.

<comment>See Also:</comment>
   * <strong>fwrite()</strong>


id: streamWrapper::unlink
type: function
doc:
<comment>Description:</comment>
  Delete a file
  
  This method is called in response to <strong>unlink()</strong>.
  
  In order for the appropriate error message to be returned this method should not be defined if the
  wrapper does not support removing files.

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>  The file URL which should be deleted.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>unlink()</strong>
   * streamWrapper::rmdir


id: streamWrapper::url_stat
type: function
doc:
<comment>Description:</comment>
  Retrieve information about a file
  
  This method is called in response to all <strong>stat()</strong> related functions, such as:
  <strong>copy()</strong><strong>fileperms()</strong><strong>fileinode()</strong><strong>filesize()</strong><strong>fileowner()</strong><strong>filegroup()</strong><strong>fileatime()</strong><strong>filemtime()</strong><strong>filectime()</strong><strong>filetype()</strong><strong>is_writable()</strong><strong>is_readable()</strong><strong>is_executable()</strong><strong>is_file()</strong><strong>is_dir()</strong><strong>is_link()</strong><strong>file_exists()</strong><strong>lstat()</strong><strong>stat()</strong>SplFileInfo::getPermsSplFileInfo::getInodeSplFileInfo::getSizeSplFileInfo::getOwnerSplFileInfo::getGroupSplFileInfo::getATimeSplFileInfo::getMTimeSplFileInfo::getCTimeSplFileInfo::getTypeSplFileInfo::isWritableSplFileInfo::isReadableSplFileInfo::isExecutableSplFileInfo::isFileSplFileInfo::isDirSplFileInfo::isLinkRecursiveDirectoryIterator::hasChildren

<comment>Param:</comment>
  <info>string</info>  <strong>$path </strong>  The file path or URL to stat.  Note that in the case of a URL, it must be a ://
                  delimited URL.  Other URL forms are not supported.
  <info>int   </info>  <strong>$flags</strong>  Holds additional flags set by the streams API. It can hold one or more of the
                  following values OR'd together. FlagDescriptionSTREAM_URL_STAT_LINK For resources
                  with the ability to link to other resource (such as an HTTP Location: forward, or
                  a filesystem symlink).  This flag specified that only information about the link
                  itself should be returned, not the resource pointed to by the link.  This flag is
                  set in response to calls to <strong>lstat()</strong>, <strong>is_link()</strong>, or <strong>filetype()</strong>.
                  STREAM_URL_STAT_QUIETIf this flag is set, your wrapper should not raise any
                  errors.  If this flag is not set, you are responsible for reporting errors using
                  the <strong>trigger_error()</strong> function during stating of the path.

<comment>Return:</comment>
  <info>array</info>  Should return as many elements as <strong>stat()</strong> does. Unknown or unavailable values should be set
         to a rational value (usually <info>0</info>). Pay special attention to <return>mode</return> as documented under <strong>stat()</strong>.

<comment>See Also:</comment>
   * <strong>stat()</strong>
   * streamwrapper::stream_stat


id: stream_bucket_append
type: function
doc:
<comment>Description:</comment>
  Append bucket to brigade
    
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>void</info>  


id: stream_bucket_make_writeable
type: function
doc:
<comment>Description:</comment>
  Return a bucket object from the brigade for operating on
    
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>object</info>  


id: stream_bucket_new
type: function
doc:
<comment>Description:</comment>
  Create a new bucket for use on the current stream
    
  
  Questa funzione, al momento
  non è documentata; è disponibile soltanto la lista degli argomenti.

<comment>Return:</comment>
  <info>object</info>  


id: stream_bucket_prepend
type: function
doc:
<comment>Description:</comment>
  Prepend bucket to brigade
    
  
  This function can be called to prepend a bucket to a bucket brigade. It is typically called from
  php_user_filter::filter.

<comment>Param:</comment>
  <info>resource</info>  <strong>$brigade</strong>  <strong>$brigade</strong> is a resource pointing to a <return>bucket brigade</return> which contains one or more
                      <return>bucket</return> objects.
  <info>object  </info>  <strong>$bucket </strong>  A bucket object.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.


id: stream_context_create
type: function
doc:
<comment>Description:</comment>
  Creates a stream context
  
  Creates and returns a stream context with any options supplied in <strong>$options</strong> preset.

<comment>Param:</comment>
  <info>array</info>  <strong>$options</strong>  Must be an associative array of associative arrays in the format
                   <return>$arr['wrapper']['option'] = $value</return>. Refer to context options for a list of
                   available wrappers and options.
                   
                   Default to an empty array.
  <info>array</info>  <strong>$params </strong>  Must be an associative array in the format <return>$arr['parameter'] = $value</return>. Refer to
                   context parameters for a listing of standard stream parameters.

<comment>Return:</comment>
  <info>resource</info>  A stream context <info>resource</info>.

<comment>See Also:</comment>
   * <strong>stream_context_set_option()</strong>
   * Listing of supported wrappers ()
   * Context options ()


id: stream_context_get_default
type: function
doc:
<comment>Description:</comment>
  Retrieve the default stream context
  
  Returns the default stream context which is used whenever file operations (<strong>fopen()</strong>,
  <strong>file_get_contents()</strong>, etc...) are called without a context parameter.  Options for the default
  context can optionally be specified with this function using the same syntax as
  <strong>stream_context_create()</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$options</strong>  <strong>$options</strong> must be an associative array of associative arrays in the format
                   <return>$arr['wrapper']['option'] = $value</return>.
                   
                   As of PHP 5.3.0, the <strong>stream_context_set_default()</strong> function can be used to set the
                   default context.

<comment>Return:</comment>
  <info>resource</info>  A stream context <info>resource</info>.

<comment>See Also:</comment>
   * <strong>stream_context_create()</strong>
   * Listing of supported wrappers with context options ().


id: stream_context_get_options
type: function
doc:
<comment>Description:</comment>
  Retrieve options for a stream/wrapper/context
  
  Returns an array of options on the specified stream or context.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream_or_context</strong>  The <info>stream</info> or <info>context</info> to get options from

<comment>Return:</comment>
  <info>array</info>  Returns an associative array with the options.


id: stream_context_get_params
type: function
doc:
<comment>Description:</comment>
  Retrieves parameters from a context
  
  Retrieves parameter and options information from the stream or context.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream_or_context</strong>  A stream <info>resource</info> or a context <info>resource</info>

<comment>Return:</comment>
  <info>array</info>  Returns an associate array containing all context options and parameters.

<comment>See Also:</comment>
   * <strong>stream_context_set_option()</strong>
   * <strong>stream_context_set_params()</strong>


id: stream_context_set_default
type: function
doc:
<comment>Description:</comment>
  Set the default stream context
  
  Set the default stream context which will be used whenever file operations (<strong>fopen()</strong>,
  <strong>file_get_contents()</strong>, etc...) are called without a context parameter. Uses the same syntax as
  <strong>stream_context_create()</strong>.

<comment>Param:</comment>
  <info>array</info>  <strong>$options</strong>  The options to set for the default context.
                   
                   <strong>$options</strong> must be an associative array of associative arrays in the format
                   <return>$arr['wrapper']['option'] = $value</return>.

<comment>Return:</comment>
  <info>resource</info>  Returns the default stream context.

<comment>See Also:</comment>
   * <strong>stream_context_create()</strong>
   * <strong>stream_context_get_default()</strong>
   * Listing of supported wrappers with context options ().


id: stream_context_set_option
type: function
doc:
<comment>Description:</comment>
  Sets an option for a stream/wrapper/context
  
  Sets an option on the specified context.  <strong>$value</strong> is set to <strong>$option</strong> for <strong>$wrapper</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream_or_context</strong>  The stream or context resource to apply the options to.
  <info>array   </info>  <strong>$options          </strong>  The options to set for <strong>$stream_or_context</strong>.
                                
                                <strong>$options</strong> must be an associative array of associative arrays in the
                                format <return>$arr['wrapper']['option'] = $value</return>.
                                
                                Refer to context options and parameters for a listing of stream
                                options.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: stream_context_set_params
type: function
doc:
<comment>Description:</comment>
  Set parameters for a stream/wrapper/context
  
  Sets parameters on the specified context.

<comment>Param:</comment>
  <info>resource</info>  <strong>$context</strong>  The stream or context to apply the parameters too.
  <info>array   </info>  <strong>$params </strong>  An array of parameters to set.
                      
                      <strong>$params</strong> should be an associative array of the structure: <return>$params['paramname']
                      = "paramvalue";</return>.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>stream_notification_callback()</strong>


id: stream_copy_to_stream
type: function
doc:
<comment>Description:</comment>
  Copies data from one stream to another
  
  Makes a copy of up to <strong>$maxlength</strong> bytes of data from the current position (or from the <strong>$offset</strong>
  position, if specified) in <strong>$source</strong> to <strong>$dest</strong>. If <strong>$maxlength</strong> is not specified, all remaining content
  in <strong>$source</strong> will be copied.

<comment>Param:</comment>
  <info>resource</info>  <strong>$source   </strong>  The source stream
  <info>resource</info>  <strong>$dest     </strong>  The destination stream
  <info>int     </info>  <strong>$maxlength</strong>  Maximum bytes to copy
  <info>int     </info>  <strong>$offset   </strong>  The offset where to start to copy data

<comment>Return:</comment>
  <info>intfalse</info>  Returns the total count of bytes copied,  o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>copy()</strong>


id: stream_filter_append
type: function
doc:
<comment>Description:</comment>
  Attach a filter to a stream
  
  Adds <strong>$filtername</strong> to the list of filters attached to <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream    </strong>  The target stream.
  <info>string  </info>  <strong>$filtername</strong>  The filter name.
  <info>int     </info>  <strong>$read_write</strong>  By default, <strong>stream_filter_append()</strong> will attach the filter to the <return>read
                         filter chain</return> if the file was opened for reading (i.e. File Mode: <return>r</return>, and/or
                         <return>+</return>).  The filter will also be attached to the <return>write filter chain</return> if the file
                         was opened for writing (i.e. File Mode: <return>w</return>, <return>a</return>, and/or <return>+</return>).
                         <info>STREAM_FILTER_READ</info>, <info>STREAM_FILTER_WRITE</info>, and/or <info>STREAM_FILTER_ALL</info> can also
                         be passed to the <strong>$read_write</strong> parameter to override this behavior.
  <info>mixed   </info>  <strong>$params    </strong>  This filter will be added with the specified  <strong>$params</strong> to the end of the
                         list and will therefore be called last during stream operations. To add a
                         filter to the beginning of the list, use <strong>stream_filter_prepend()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a resource on success or <info>false</info> on failure. The resource can be used to refer to
            this filter instance during a call to <strong>stream_filter_remove()</strong>.
            
            <info>false</info> is returned if <strong>$stream</strong> is not a resource or if <strong>$filtername</strong> cannot be located.

<comment>See Also:</comment>
   * <strong>stream_filter_register()</strong>
   * <strong>stream_filter_prepend()</strong>
   * <strong>stream_get_filters()</strong>


id: stream_filter_prepend
type: function
doc:
<comment>Description:</comment>
  Attach a filter to a stream
  
  Adds <strong>$filtername</strong> to the list of filters attached to <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream    </strong>  The target stream.
  <info>string  </info>  <strong>$filtername</strong>  The filter name.
  <info>int     </info>  <strong>$read_write</strong>  By default, <strong>stream_filter_prepend()</strong> will attach the filter to the <return>read
                         filter chain</return> if the file was opened for reading (i.e. File Mode: <return>r</return>, and/or
                         <return>+</return>).  The filter will also be attached to the <return>write filter chain</return> if the file
                         was opened for writing (i.e. File Mode: <return>w</return>, <return>a</return>, and/or <return>+</return>).
                         <info>STREAM_FILTER_READ</info>, <info>STREAM_FILTER_WRITE</info>, and/or <info>STREAM_FILTER_ALL</info> can also
                         be passed to the <strong>$read_write</strong> parameter to override this behavior. See
                         <strong>stream_filter_append()</strong> for an example of using this parameter.
  <info>mixed   </info>  <strong>$params    </strong>  This filter will be added with the specified <strong>$params</strong> to the beginning of
                         the list and will therefore be called first during stream operations.  To
                         add a filter to the end of the list, use <strong>stream_filter_append()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a resource on success or <info>false</info> on failure. The resource can be used to refer to
            this filter instance during a call to <strong>stream_filter_remove()</strong>.
            
            <info>false</info> is returned if <strong>$stream</strong> is not a resource or if <strong>$filtername</strong> cannot be located.

<comment>See Also:</comment>
   * <strong>stream_filter_register()</strong>
   * <strong>stream_filter_append()</strong>


id: stream_filter_register
type: function
doc:
<comment>Description:</comment>
  Register a user defined stream filter
  
  <strong>stream_filter_register()</strong> allows you to implement your own filter on any registered stream used
  with all the other filesystem functions (such as <strong>fopen()</strong>, <strong>fread()</strong> etc.).

<comment>Param:</comment>
  <info>string</info>  <strong>$filter_name</strong>  The filter name to be registered.
  <info>string</info>  <strong>$class      </strong>  To implement a filter, you need to define a class as an extension of
                        <class>php_user_filter</class> with a number of member functions. When performing
                        read/write operations on the stream to which your filter is attached, PHP
                        will pass the data through your filter (and any other filters attached to
                        that stream) so that the data may be modified as desired. You must implement
                        the methods exactly as described in <class>php_user_filter</class> - doing otherwise will
                        lead to undefined behaviour.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.
        
        <strong>stream_filter_register()</strong> will return <info>false</info> if the <strong>$filter_name</strong> is already defined.

<comment>See Also:</comment>
   * <strong>stream_wrapper_register()</strong>
   * <strong>stream_filter_append()</strong>
   * <strong>stream_filter_prepend()</strong>


id: stream_filter_remove
type: function
doc:
<comment>Description:</comment>
  Remove a filter from a stream
  
  Removes a stream filter previously added to a stream with <strong>stream_filter_prepend()</strong> or
  <strong>stream_filter_append()</strong>.  Any data remaining in the filter's internal buffer will be flushed
  through to the next filter before removing it.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream_filter</strong>  The stream filter to be removed.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>stream_filter_register()</strong>
   * <strong>stream_filter_append()</strong>
   * <strong>stream_filter_prepend()</strong>


id: stream_get_contents
type: function
doc:
<comment>Description:</comment>
  Reads remainder of a stream into a string
  
  Identical to <strong>file_get_contents()</strong>, except that <strong>stream_get_contents()</strong> operates on an already open
  stream resource and returns the remaining contents in a string, up to <strong>$maxlength</strong> bytes and
  starting at the specified <strong>$offset</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle   </strong>  A stream resource (e.g. returned from <strong>fopen()</strong>)
  <info>int     </info>  <strong>$maxlength</strong>  The maximum bytes to read. Defaults to -1 (read all the remaining buffer).
  <info>int     </info>  <strong>$offset   </strong>  Seek to the specified offset before reading. If this number is negative, no
                        seeking will occur and reading will start from the current position.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a string o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>fgets()</strong>
   * <strong>fread()</strong>
   * <strong>fpassthru()</strong>


id: stream_get_filters
type: function
doc:
<comment>Description:</comment>
  Retrieve list of registered filters
  
  Retrieve the list of registered filters on the running system.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array containing the name of all stream filters available.

<comment>See Also:</comment>
   * <strong>stream_filter_register()</strong>
   * <strong>stream_get_wrappers()</strong>


id: stream_get_line
type: function
doc:
<comment>Description:</comment>
  Gets line from stream resource up to a given delimiter
  
  Gets a line from the given handle.
  
  Reading ends when <strong>$length</strong> bytes have been read, when the string specified by <strong>$ending</strong> is found
  (which is not included in the return value), or on EOF (whichever comes first).
  
  This function is nearly identical to <strong>fgets()</strong> except in that it allows end of line delimiters other
  than the standard \n, \r, and \r\n, and does not return the delimiter itself.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle</strong>  A valid file handle.
  <info>int     </info>  <strong>$length</strong>  The number of bytes to read from the handle.
  <info>string  </info>  <strong>$ending</strong>  An optional string delimiter.

<comment>Return:</comment>
  <info>string</info>  Returns a string of up to <strong>$length</strong> bytes read from the file pointed to by <strong>$handle</strong>.
          
          If an error occurs, returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>fread()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetc()</strong>


id: stream_get_meta_data
type: function
doc:
<comment>Description:</comment>
  Retrieves header/meta data from streams/file pointers
  
  Returns information about an existing <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The stream can be any stream created by <strong>fopen()</strong>, <strong>fsockopen()</strong> and <strong>pfsockopen()</strong>.

<comment>Return:</comment>
  <info>array</info>  The result array contains the following items:
         
         <return>timed_out</return> (bool) - <info>true</info> if the stream timed out while waiting for data on the last call to
         <strong>fread()</strong> or <strong>fgets()</strong>.
         
         <return>blocked</return> (bool) - <info>true</info> if the stream is in blocking IO mode. See <strong>stream_set_blocking()</strong>.
         
         <return>eof</return> (bool) - <info>true</info> if the stream has reached end-of-file.  Note that for socket streams this
         member can be <info>true</info> even when <return>unread_bytes</return> is non-zero.  To determine if there is more data
         to be read, use <strong>feof()</strong> instead of reading this item.
         
         <return>unread_bytes</return> (int) - the number of bytes currently contained in the PHP's own internal
         buffer.
         
         You shouldn't use this value in a script.
         
         <return>stream_type</return> (string) - a label describing the underlying implementation of the stream.
         
         <return>wrapper_type</return> (string) - a label describing the protocol wrapper implementation layered over
         the stream. See  for more information about wrappers.
         
         <return>wrapper_data</return> (mixed) - wrapper specific data attached to this stream.  See  for more
         information about wrappers and their wrapper data.
         
         <return>mode</return> (string) - the type of access required for this stream (see Table 1 of the fopen()
         reference)
         
         <return>seekable</return> (bool) - whether the current stream can be seeked.
         
         <return>uri</return> (string) - the URI/filename associated with this stream.

<comment>See Also:</comment>
   * <strong>get_headers()</strong>
   * $http_response_header


id: stream_get_transports
type: function
doc:
<comment>Description:</comment>
  Retrieve list of registered socket transports
  
  Returns an indexed array containing the name of all socket transports available on the running
  system.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array of socket transports names.

<comment>See Also:</comment>
   * <strong>stream_get_filters()</strong>
   * <strong>stream_get_wrappers()</strong>


id: stream_get_wrappers
type: function
doc:
<comment>Description:</comment>
  Retrieve list of registered streams
  
  Retrieve list of registered streams available on the running system.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array containing the name of all stream wrappers available on the
         running system.

<comment>See Also:</comment>
   * <strong>stream_wrapper_register()</strong>


id: stream_is_local
type: function
doc:
<comment>Description:</comment>
  Checks if a stream is a local stream
  
  Checks if a stream, or a URL, is a local one or not.

<comment>Param:</comment>
  <info>resourcestring</info>  <strong>$stream</strong>  The stream <info>resource</info> or URL to check.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: stream_isatty
type: function
doc:
<comment>Description:</comment>
  Check if a stream is a TTY
  
  Determines if stream <strong>$stream</strong> refers to a valid terminal type device. This is a more portable
  version of <strong>posix_isatty()</strong>, since it works on Windows systems too.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: stream_notification_callback
type: function
doc:
<comment>Description:</comment>
  A callback function for the notification context parameter
  
  A <info>callable</info> function, used by the notification context parameter, called during an event.
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>int   </info>  <strong>$notification_code</strong>  One of the <info>STREAM_NOTIFY_*</info> notification constants.
  <info>int   </info>  <strong>$severity         </strong>  One of the <info>STREAM_NOTIFY_SEVERITY_*</info> notification constants.
  <info>string</info>  <strong>$message          </strong>  Passed if a descriptive message is available for the event.
  <info>int   </info>  <strong>$message_code     </strong>  Passed if a descriptive message code is available for the event.
                              
                              The meaning of this value is dependent on the specific wrapper in use.
  <info>int   </info>  <strong>$bytes_transferred</strong>  If applicable, the <strong>$bytes_transferred</strong> will be populated.
  <info>int   </info>  <strong>$bytes_max        </strong>  If applicable, the <strong>$bytes_max</strong> will be populated.

<comment>Return:</comment>
  <info>void</info>  Nessun valore viene restituito.

<comment>See Also:</comment>
   * 


id: stream_register_wrapper
type: function
doc:
<comment>Description:</comment>
  Alias di stream_wrapper_register
  
  Questa funzione è sinonimo di:  <strong>stream_wrapper_register()</strong>.


id: stream_resolve_include_path
type: function
doc:
<comment>Description:</comment>
  Resolve filename against the include path
    
  
  Resolve <strong>$filename</strong> against the include path according to the same rules as <strong>fopen()</strong>/<strong>include()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The filename to resolve.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a <info>string</info> containing the resolved absolute filename,  o <info>false</info> in caso di
               fallimento.


id: stream_select
type: function
doc:
<comment>Description:</comment>
  Runs the equivalent of the select() system call on the given
     arrays of streams with a timeout specified by tv_sec and tv_usec 
  
  The <strong>stream_select()</strong> function accepts arrays of streams and waits for them to change status. Its
  operation is equivalent to that of the <strong>socket_select()</strong> function except in that it acts on streams.

<comment>Param:</comment>
  <info>array</info>  <strong>$read   </strong>  The streams listed in the <strong>$read</strong> array will be watched to see if characters become
                   available for reading (more precisely, to see if a read will not block - in
                   particular, a stream resource is also ready on end-of-file, in which case an
                   <strong>fread()</strong> will return a zero length string).
  <info>array</info>  <strong>$write  </strong>  The streams listed in the <strong>$write</strong> array will be watched to see if a write will not
                   block.
  <info>array</info>  <strong>$except </strong>  The streams listed in the <strong>$except</strong> array will be watched for high priority
                   exceptional ("out-of-band") data arriving.
                   
                   When <strong>stream_select()</strong> returns, the arrays <strong>$read</strong>, <strong>$write</strong> and <strong>$except</strong> are modified
                   to indicate which stream resource(s) actually changed status. The original keys
                   of the <info>array</info>s are preserved.
  <info>int  </info>  <strong>$tv_sec </strong>  The <strong>$tv_sec</strong> and <strong>$tv_usec</strong> together form the timeout parameter, <strong>$tv_sec</strong> specifies
                   the number of seconds while <strong>$tv_usec</strong> the number of microseconds. The <strong>$timeout</strong> is
                   an upper bound on the amount of time that <strong>stream_select()</strong> will wait before it
                   returns. If <strong>$tv_sec</strong> and <strong>$tv_usec</strong> are both set to <return>0</return>, <strong>stream_select()</strong> will not wait
                   for data - instead it will return immediately, indicating the current status of
                   the streams.
                   
                   If <strong>$tv_sec</strong> is <info>null</info> <strong>stream_select()</strong> can block indefinitely, returning only when an
                   event on one of the watched streams occurs (or if a signal interrupts the system
                   call).
                   
                   Using a timeout value of <return>0</return> allows you to instantaneously poll the status of the
                   streams, however, it is NOT a good idea to use a <return>0</return> timeout value in a loop as it
                   will cause your script to consume too much CPU time.
                   
                   It is much better to specify a timeout value of a few seconds, although if you
                   need to be checking and running other code concurrently, using a timeout value of
                   at least <return>200000</return> microseconds will help reduce the CPU usage of your script.
                   
                   Remember that the timeout value is the maximum time that will elapse;
                   <strong>stream_select()</strong> will return as soon as the requested streams are ready for use.
  <info>int  </info>  <strong>$tv_usec</strong>  See <strong>$tv_sec</strong> description.

<comment>Return:</comment>
  <info>int</info>  On success <strong>stream_select()</strong> returns the number of stream resources contained in the modified
       arrays, which may be zero if the timeout expires before anything interesting happens. On
       error <info>false</info> is returned and a warning raised (this can happen if the system call is
       interrupted by an incoming signal).

<comment>See Also:</comment>
   * <strong>stream_set_blocking()</strong>


id: stream_set_blocking
type: function
doc:
<comment>Description:</comment>
  Set blocking/non-blocking mode on a stream
  
  Sets blocking or non-blocking mode on a <strong>$stream</strong>.
  
  This function works for any stream that supports non-blocking mode (currently, regular files and
  socket streams).

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The stream.
  <info>bool    </info>  <strong>$enable</strong>  If <strong>$enable</strong> is <info>false</info>, the given stream will be switched to non-blocking mode,
                     and if <info>true</info>, it will be switched to blocking mode.  This affects calls like
                     <strong>fgets()</strong> and <strong>fread()</strong> that read from the stream.  In non-blocking mode an <strong>fgets()</strong>
                     call will always return right away while in blocking mode it will wait for data
                     to become available on the stream.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>stream_select()</strong>


id: stream_set_chunk_size
type: function
doc:
<comment>Description:</comment>
  Set the stream chunk size
  
  Set the stream chunk size.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The target stream.
  <info>int     </info>  <strong>$size  </strong>  The desired new chunk size.

<comment>Return:</comment>
  <info>int</info>  Returns the previous chunk size on success.
       
       Will return <info>false</info> if <strong>$size</strong> is less than 1 or greater than <info>PHP_INT_MAX</info>.


id: stream_set_read_buffer
type: function
doc:
<comment>Description:</comment>
  Set read file buffering on the given stream
  
  Sets the read buffer. It's the equivalent of <strong>stream_set_write_buffer()</strong>, but for read operations.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The file pointer.
  <info>int     </info>  <strong>$size  </strong>  The number of bytes to buffer. If <strong>$size</strong> is 0 then read operations are
                     unbuffered.  This ensures that all reads with <strong>fread()</strong> are completed before
                     other processes are allowed to read from that input stream.

<comment>Return:</comment>
  <info>int</info>  Returns 0 on success, or another value if the request cannot be honored.

<comment>See Also:</comment>
   * <strong>stream_set_write_buffer()</strong>


id: stream_set_timeout
type: function
doc:
<comment>Description:</comment>
  Set timeout period on a stream
  
  Sets the timeout value on <strong>$stream</strong>, expressed in the sum of <strong>$seconds</strong> and <strong>$microseconds</strong>.
  
  When the stream times out, the 'timed_out' key of the array returned by <strong>stream_get_meta_data()</strong> is
  set to <info>true</info>, although no error/warning is generated.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream      </strong>  The target stream.
  <info>int     </info>  <strong>$seconds     </strong>  The seconds part of the timeout to be set.
  <info>int     </info>  <strong>$microseconds</strong>  The microseconds part of the timeout to be set.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>fsockopen()</strong>
   * <strong>fopen()</strong>


id: stream_set_write_buffer
type: function
doc:
<comment>Description:</comment>
  Sets write file buffering on the given stream
  
  Sets the buffering for write operations on the given <strong>$stream</strong> to <strong>$buffer</strong> bytes.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The file pointer.
  <info>int     </info>  <strong>$buffer</strong>  The number of bytes to buffer. If <strong>$buffer</strong> is 0 then write operations are
                     unbuffered.  This ensures that all writes with <strong>fwrite()</strong> are completed before
                     other processes are allowed to write to that output stream.

<comment>Return:</comment>
  <info>int</info>  Returns 0 on success, or another value if the request cannot be honored.

<comment>See Also:</comment>
   * <strong>fopen()</strong>
   * <strong>fwrite()</strong>


id: stream_socket_accept
type: function
doc:
<comment>Description:</comment>
  Accept a connection on a socket created by stream_socket_server
  
  Accept a connection on a socket previously created by <strong>stream_socket_server()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$server_socket</strong>  The server socket to accept a connection from.
  <info>float   </info>  <strong>$timeout      </strong>  Override the default socket accept timeout. Time should be given in
                            seconds.
  <info>string  </info>  <strong>$peername     </strong>  Will be set to the name (address) of the client which connected, if
                            included and available from the selected transport.
                            
                            Can also be determined later using <strong>stream_socket_get_name()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a stream to the accepted socket connection o <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>stream_socket_server()</strong>
   * <strong>stream_socket_get_name()</strong>
   * <strong>stream_set_blocking()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>fwrite()</strong>
   * <strong>fclose()</strong>
   * <strong>feof()</strong>
   * 


id: stream_socket_client
type: function
doc:
<comment>Description:</comment>
  Open Internet or Unix domain socket connection
  
  Initiates a stream or datagram connection to the destination specified by <strong>$remote_socket</strong>.  The
  type of socket created is determined by the transport specified using standard URL formatting:
  <return>transport://target</return>.  For Internet Domain sockets (AF_INET) such as TCP and UDP, the <return>target</return> portion
  of the <strong>$remote_socket</strong> parameter should consist of a hostname or IP address followed by a colon and
  a port number.  For Unix domain sockets, the <strong>$target</strong> portion should point to the socket file on
  the filesystem.
  
  The stream will by default be opened in blocking mode.  You can switch it to non-blocking mode by
  using <strong>stream_set_blocking()</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$remote_socket</strong>  Address to the socket to connect to.
  <info>int     </info>  <strong>$errno        </strong>  Will be set to the system level error number if connection fails.
  <info>string  </info>  <strong>$errstr       </strong>  Will be set to the system level error message if the connection fails.
  <info>float   </info>  <strong>$timeout      </strong>  Number of seconds until the <return>connect()</return> system call should timeout.  This
                            parameter only applies when not making asynchronous connection attempts.
                            To set a timeout for reading/writing data over the socket, use the
                            <strong>stream_set_timeout()</strong>, as the <strong>$timeout</strong> only applies while making
                            connecting the socket.
                            
                            This parameter only applies when not making asynchronous connection
                            attempts.
                            
                            To set a timeout for reading/writing data over the socket, use the
                            <strong>stream_set_timeout()</strong>, as the <strong>$timeout</strong> only applies while making
                            connecting the socket.
  <info>int     </info>  <strong>$flags        </strong>  Bitmask field which may be set to any combination of connection flags.
                            Currently the select of connection flags is limited to
                            <info>STREAM_CLIENT_CONNECT</info> (default), <info>STREAM_CLIENT_ASYNC_CONNECT</info> and
                            <info>STREAM_CLIENT_PERSISTENT</info>.
  <info>resource</info>  <strong>$context      </strong>  A valid context resource created with <strong>stream_context_create()</strong>.

<comment>Return:</comment>
  <info>resource</info>  On success a stream resource is returned which may be used together with the other file
            functions (such as <strong>fgets()</strong>, <strong>fgetss()</strong>, <strong>fwrite()</strong>, <strong>fclose()</strong>, and <strong>feof()</strong>), <info>false</info> on failure.

<comment>See Also:</comment>
   * <strong>stream_socket_server()</strong>
   * <strong>stream_set_blocking()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>stream_select()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>fwrite()</strong>
   * <strong>fclose()</strong>
   * <strong>feof()</strong>
   * 


id: stream_socket_enable_crypto
type: function
doc:
<comment>Description:</comment>
  Turns encryption on/off on an already connected socket
  
  Enable or disable encryption on the stream.
  
  Once the crypto settings are established, cryptography can be turned on and off dynamically by
  passing <info>true</info> or <info>false</info> in the <strong>$enable</strong> parameter.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream        </strong>  The stream resource.
  <info>bool    </info>  <strong>$enable        </strong>  Enable/disable cryptography on the stream.
  <info>int     </info>  <strong>$crypto_type   </strong>  Setup encryption on the stream. Valid methods are
                             <info>STREAM_CRYPTO_METHOD_SSLv2_CLIENT</info><info>STREAM_CRYPTO_METHOD_SSLv3_CLIENT</info><info>STREAM_CRYPTO_METHOD_SSLv23_CLIENT</info><info>STREAM_CRYPTO_METHOD_ANY_CLIENT</info><info>STREAM_CRYPTO_METHOD_TLS_CLIENT</info><info>STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT</info><info>STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT</info><info>STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT</info><info>STREAM_CRYPTO_METHOD_SSLv2_SERVER</info><info>STREAM_CRYPTO_METHOD_SSLv3_SERVER</info><info>STREAM_CRYPTO_METHOD_SSLv23_SERVER</info><info>STREAM_CRYPTO_METHOD_ANY_SERVER</info><info>STREAM_CRYPTO_METHOD_TLS_SERVER</info><info>STREAM_CRYPTO_METHOD_TLSv1_0_SERVER</info><info>STREAM_CRYPTO_METHOD_TLSv1_1_SERVER</info><info>STREAM_CRYPTO_METHOD_TLSv1_2_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv2_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv3_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv23_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_ANY_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLS_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv2_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv3_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_SSLv23_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_ANY_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLS_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_0_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_1_SERVER</info>
                             
                             <info>STREAM_CRYPTO_METHOD_TLSv1_2_SERVER</info>
                             
                             If omitted, the <return>crypto_method</return> context option on the stream's SSL
                             context will be used instead.
  <info>resource</info>  <strong>$session_stream</strong>  Seed the stream with settings from <strong>$session_stream</strong>.

<comment>Return:</comment>
  <info>mixed</info>  Returns <info>true</info> on success, <info>false</info> if negotiation has failed or <return>0</return> if there isn't enough data
         and you should try again (only for non-blocking sockets).

<comment>See Also:</comment>
   * 
   * 


id: stream_socket_get_name
type: function
doc:
<comment>Description:</comment>
  Retrieve the name of the local or remote sockets
  
  Returns the local or remote name of a given socket connection.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle   </strong>  The socket to get the name of.
  <info>bool    </info>  <strong>$want_peer</strong>  If set to <info>true</info> the <return>remote</return> socket name will be returned, if set to <info>false</info> the
                        <return>local</return> socket name will be returned.

<comment>Return:</comment>
  <info>string</info>  The name of the socket.

<comment>See Also:</comment>
   * <strong>stream_socket_accept()</strong>


id: stream_socket_pair
type: function
doc:
<comment>Description:</comment>
  Creates a pair of connected, indistinguishable socket streams
    
  
  <strong>stream_socket_pair()</strong> creates a pair of connected, indistinguishable socket streams. This function
  is commonly used in IPC (Inter-Process Communication).

<comment>Param:</comment>
  <info>int</info>  <strong>$domain  </strong>  The protocol family to be used: <info>STREAM_PF_INET</info>, <info>STREAM_PF_INET6</info> or <info>STREAM_PF_UNIX</info>
  <info>int</info>  <strong>$type    </strong>  The type of communication to be used: <info>STREAM_SOCK_DGRAM</info>, <info>STREAM_SOCK_RAW</info>,
                  <info>STREAM_SOCK_RDM</info>, <info>STREAM_SOCK_SEQPACKET</info> or <info>STREAM_SOCK_STREAM</info>
  <info>int</info>  <strong>$protocol</strong>  The protocol to be used: <info>STREAM_IPPROTO_ICMP</info>, <info>STREAM_IPPROTO_IP</info>,
                  <info>STREAM_IPPROTO_RAW</info>, <info>STREAM_IPPROTO_TCP</info> or <info>STREAM_IPPROTO_UDP</info>

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an <info>array</info> with the two socket resources on success, or <info>false</info> on failure.


id: stream_socket_recvfrom
type: function
doc:
<comment>Description:</comment>
  Receives data from a socket, connected or not 
  
  <strong>stream_socket_recvfrom()</strong> accepts data from a remote socket up to <strong>$length</strong> bytes.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket </strong>  The remote socket.
  <info>int     </info>  <strong>$length </strong>  The number of bytes to receive from the <strong>$socket</strong>.
  <info>int     </info>  <strong>$flags  </strong>  The value of <strong>$flags</strong> can be any combination of the following: Possible values
                      for <strong>$flags</strong><info>STREAM_OOB</info> Process OOB (<return>out-of-band</return>) data. <info>STREAM_PEEK</info> Retrieve data
                      from the socket, but do not consume the buffer. Subsequent calls to <strong>fread()</strong> or
                      <strong>stream_socket_recvfrom()</strong> will see the same data.
  <info>string  </info>  <strong>$address</strong>  If <strong>$address</strong> is provided it will be populated with the address of the remote
                      socket.

<comment>Return:</comment>
  <info>string</info>  Returns the read data, as a string

<comment>See Also:</comment>
   * <strong>stream_socket_sendto()</strong>
   * <strong>stream_socket_client()</strong>
   * <strong>stream_socket_server()</strong>


id: stream_socket_sendto
type: function
doc:
<comment>Description:</comment>
  Sends a message to a socket, whether it is connected or not 
  
  Sends the specified <strong>$data</strong> through the <strong>$socket</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$socket </strong>  The socket to send <strong>$data</strong> to.
  <info>string  </info>  <strong>$data   </strong>  The data to be sent.
  <info>int     </info>  <strong>$flags  </strong>  The value of <strong>$flags</strong> can be any combination of the following: possible values
                      for <strong>$flags</strong><info>STREAM_OOB</info> Process OOB (out-of-band) data.
  <info>string  </info>  <strong>$address</strong>  The address specified when the socket stream was created will be used unless
                      an alternate address is specified in <strong>$address</strong>.
                      
                      If specified, it must be in dotted quad (or [ipv6]) format.

<comment>Return:</comment>
  <info>int</info>  Returns a result code, as an integer.

<comment>See Also:</comment>
   * <strong>stream_socket_recvfrom()</strong>
   * <strong>stream_socket_client()</strong>
   * <strong>stream_socket_server()</strong>


id: stream_socket_server
type: function
doc:
<comment>Description:</comment>
  Create an Internet or Unix domain server socket
  
  Creates a stream or datagram socket on the specified <strong>$local_socket</strong>.
  
  This function only creates a socket, to begin accepting connections use <strong>stream_socket_accept()</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$local_socket</strong>  The type of socket created is determined by the transport specified using
                           standard URL formatting: <return>transport://target</return>.
                           
                           For Internet Domain sockets (<info>AF_INET</info>) such as TCP and UDP, the <return>target</return>
                           portion of the  <strong>$remote_socket</strong> parameter should consist of a hostname or
                           IP address followed by a colon and a port number.  For Unix domain
                           sockets, the <return>target</return> portion should point to the socket file on the
                           filesystem.
                           
                           Depending on the environment, Unix domain sockets may not be available. A
                           list of available transports can be retrieved using
                           <strong>stream_get_transports()</strong>. See  for a list of bulitin transports.
  <info>int     </info>  <strong>$errno       </strong>  If the optional <strong>$errno</strong> and <strong>$errstr</strong> arguments are present they will be set
                           to indicate the actual system level error that occurred in the
                           system-level <return>socket()</return>, <return>bind()</return>, and <return>listen()</return> calls. If the value returned
                           in <strong>$errno</strong> is  <return>0</return> and the function returned <info>false</info>, it is an indication that
                           the error occurred before the <return>bind()</return> call. This is most likely due to a
                           problem initializing the socket.  Note that the <strong>$errno</strong> and <strong>$errstr</strong>
                           arguments will always be passed by reference.
  <info>string  </info>  <strong>$errstr      </strong>  See <strong>$errno</strong> description.
  <info>int     </info>  <strong>$flags       </strong>  A bitmask field which may be set to any combination of socket creation
                           flags.
                           
                           For UDP sockets, you must use <info>STREAM_SERVER_BIND</info> as the <strong>$flags</strong> parameter.
  <info>resource</info>  <strong>$context     </strong>  

<comment>Return:</comment>
  <info>resource</info>  Returns the created stream, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>stream_socket_client()</strong>
   * <strong>stream_set_blocking()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>fwrite()</strong>
   * <strong>fclose()</strong>
   * <strong>feof()</strong>
   * Curl extension


id: stream_socket_shutdown
type: function
doc:
<comment>Description:</comment>
  Shutdown a full-duplex connection
  
  Shutdowns (partially or not) a full-duplex connection.
  
  The associated buffer, or buffers, may or may not be emptied.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  An open stream (opened with <strong>stream_socket_client()</strong>, for example)
  <info>int     </info>  <strong>$mode  </strong>  One of the following constants: <info>STREAM_SHUT_RD</info> (disable further receptions),
                     <info>STREAM_SHUT_WR</info> (disable further transmissions) or <info>STREAM_SHUT_RDWR</info> (disable
                     further receptions and transmissions).

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>fclose()</strong>


id: stream_supports_lock
type: function
doc:
<comment>Description:</comment>
  Tells whether the stream supports locking
  
  Tells whether the stream supports locking through  <strong>flock()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The stream to check.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.

<comment>See Also:</comment>
   * <strong>flock()</strong>


id: stream_wrapper_register
type: function
doc:
<comment>Description:</comment>
  Register a URL wrapper implemented as a PHP class
  
  Allows you to implement your own protocol handlers and streams for use with all the other
  filesystem functions (such as <strong>fopen()</strong>, <strong>fread()</strong> etc.).

<comment>Param:</comment>
  <info>string</info>  <strong>$protocol</strong>  The wrapper name to be registered.
  <info>string</info>  <strong>$class   </strong>  The classname which implements the <strong>$protocol</strong>.
  <info>int   </info>  <strong>$flags   </strong>  Should be set to <info>STREAM_IS_URL</info> if <strong>$protocol</strong> is a URL protocol. Default is 0,
                     local stream.

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.
        
        <strong>stream_wrapper_register()</strong> will return <info>false</info> if the <strong>$protocol</strong> already has a handler.

<comment>See Also:</comment>
   * The  prototype class
   * 
   * <strong>stream_wrapper_unregister()</strong>
   * <strong>stream_wrapper_restore()</strong>
   * <strong>stream_get_wrappers()</strong>


id: stream_wrapper_restore
type: function
doc:
<comment>Description:</comment>
  Restores a previously unregistered built-in wrapper
  
  Restores a built-in wrapper previously unregistered with <strong>stream_wrapper_unregister()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$protocol</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: stream_wrapper_unregister
type: function
doc:
<comment>Description:</comment>
  Unregister a URL wrapper
  
  Allows you to disable an already defined stream wrapper. Once the wrapper has been disabled you
  may override it with a user-defined wrapper using <strong>stream_wrapper_register()</strong> or reenable it later
  on with <strong>stream_wrapper_restore()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$protocol</strong>  

<comment>Return:</comment>
  <info>bool</info>  Restituisce <info>true</info> in caso di successo, <info>false</info> in caso di fallimento.


id: strftime
type: function
doc:
<comment>Description:</comment>
  Formatta una data/orario locale accordandola/o alle impostazioni locali according to locale
  settings


id: stripos
type: function
doc:
<comment>Description:</comment>
  Trova la prima occorrenza in una stringa senza distinzione tra maiuscole e minuscole


id: strnatcasecmp
type: function
doc:
<comment>Description:</comment>
  Versione insensibile alle maiuscole/minuscole di confronto tra stringhe tramite
       l'algoritmo dell"ordine naturale"


id: strncasecmp
type: function
doc:
<comment>Description:</comment>
  Confronto sicuro con i testi binari, insensibile alle lettere
       maiuscole/minuscole sui primi n caratteri


id: strncmp
type: function
doc:
<comment>Description:</comment>
  Confronto tra stringhe sui primi n caratteri, sicuro con i dati binari


id: strpbrk
type: function
doc:
<comment>Description:</comment>
  Ricerca in una stringa uno qualsiasi dei caratteri di un dato set


id: strptime
type: function
doc:
<comment>Description:</comment>
  Parse a time/date generated with strftime
      
  
  <strong>strptime()</strong> returns an array with the <strong>$timestamp</strong> parsed, or <info>false</info> on error.
  
  Month and weekday names and other language dependent strings respect the current locale set with
  <strong>setlocale()</strong> (<info>LC_TIME</info>).

<comment>Param:</comment>
  <info>string</info>  <strong>$timestamp</strong>  The string to parse (e.g. returned from <strong>strftime()</strong>).
  <info>string</info>  <strong>$format   </strong>  The format used in <strong>$timestamp</strong> (e.g. the same as used in <strong>strftime()</strong>). Note that
                      some of the format options available to <strong>strftime()</strong> may not have any effect
                      within <strong>strptime()</strong>; the exact subset that are supported will vary based on the
                      operating system and C library in use.
                      
                      For more information about the format options, read the <strong>strftime()</strong> page.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array o <info>false</info> in caso di fallimento.
              
              The following parameters are returned in the arrayparametersDescription<return>"tm_sec"</return>Seconds
              after the minute (0-61)<return>"tm_min"</return>Minutes after the hour (0-59)<return>"tm_hour"</return>Hour since
              midnight (0-23)<return>"tm_mday"</return>Day of the month (1-31)<return>"tm_mon"</return>Months since January
              (0-11)<return>"tm_year"</return>Years since 1900<return>"tm_wday"</return>Days since Sunday (0-6)<return>"tm_yday"</return>Days since
              January 1 (0-365)<return>"unparsed"</return>the <strong>$timestamp</strong> part which was not recognized using the
              specified <strong>$format</strong>

<comment>See Also:</comment>
   * <strong>checkdate()</strong>
   * <strong>strftime()</strong>
   * <strong>date_parse_from_format()</strong>
   * <strong>DateTime::createFromFormat()</strong>


