# php_manual

id: db2_prepare
type: function
doc:
<comment>Description:</comment>
  Prepares an SQL statement to be executed
    
  
  <strong>db2_prepare()</strong> creates a prepared SQL statement which can include 0 or more parameter markers (<return>?</return>
  characters) representing parameters for input, output, or input/output. You can pass parameters to
  the prepared statement using <strong>db2_bind_param()</strong>, or for input values only, as an array passed to
  <strong>db2_execute()</strong>.
  
  There are three main advantages to using prepared statements in your application: Performance:
  when you prepare a statement, the database server creates an optimized access plan for retrieving
  data with that statement. Subsequently issuing the prepared statement with <strong>db2_execute()</strong> enables
  the statements to reuse that access plan and avoids the overhead of dynamically creating a new
  access plan for every statement you issue. Security: when you prepare a statement, you can include
  parameter markers for input values. When you execute a prepared statement with input values for
  placeholders, the database server checks each input value to ensure that the type matches the
  column definition or parameter definition. Advanced functionality: Parameter markers not only
  enable you to pass input values to prepared SQL statements, they also enable you to retrieve OUT
  and INOUT parameters from stored procedures using <strong>db2_bind_param()</strong>.
  
  Performance: when you prepare a statement, the database server creates an optimized access plan
  for retrieving data with that statement. Subsequently issuing the prepared statement with
  <strong>db2_execute()</strong> enables the statements to reuse that access plan and avoids the overhead of
  dynamically creating a new access plan for every statement you issue.
  
  Security: when you prepare a statement, you can include parameter markers for input values. When
  you execute a prepared statement with input values for placeholders, the database server checks
  each input value to ensure that the type matches the column definition or parameter definition.
  
  Advanced functionality: Parameter markers not only enable you to pass input values to prepared SQL
  statements, they also enable you to retrieve OUT and INOUT parameters from stored procedures using
  <strong>db2_bind_param()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>string  </info>  <strong>$statement </strong>  An SQL statement, optionally containing one or more parameter markers..
  <info>array   </info>  <strong>$options   </strong>  An associative array containing statement options. You can use this
                         parameter to request a scrollable cursor on database servers that support
                         this functionality.
                         
                         For a description of valid statement options, see  <strong>db2_set_option()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource if the SQL statement was successfully parsed and prepared
            by the database server. Returns <info>false</info> if the database server returned an error. You can
            determine which error was returned by calling <strong>db2_stmt_error()</strong> or <strong>db2_stmt_errormsg()</strong>.

<comment>See Also:</comment>
   * <strong>db2_bind_param()</strong>
   * <strong>db2_execute()</strong>
   * <strong>db2_stmt_error()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_primary_keys
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing primary keys for a table
    
  
  Returns a result set listing the primary keys for a table.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the tables. If <strong>$schema</strong> is <info>null</info>,
                         <strong>db2_primary_keys()</strong> matches the schema for the current connection.
  <info>string  </info>  <strong>$table-name</strong>  The name of the table.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the primary
            keys for the specified table. The result set is composed of the following columns:
            Column nameDescriptionTABLE_CAT Name of the catalog for the table containing the primary
            key. The value is NULL if this table does not have catalogs. TABLE_SCHEM Name of the
            schema for the table containing the primary key. TABLE_NAMEName of the table containing
            the primary key.COLUMN_NAMEName of the column containing the primary
            key.KEY_SEQ1-indexed position of the column in the key.PK_NAMEThe name of the primary
            key.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_procedure_columns
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing stored procedure parameters
    
  
  Returns a result set listing the parameters for one or more stored procedures.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the procedures. This parameter accepts a search
                         pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$procedure </strong>  The name of the procedure. This parameter accepts a search pattern
                         containing <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$parameter </strong>  The name of the parameter. This parameter accepts a search pattern
                         containing <return>_</return> and <return>%</return> as wildcards. If this parameter is <info>null</info>, all parameters
                         for the specified stored procedures are returned.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the parameters
            for the stored procedures matching the specified parameters. The rows are composed of
            the following columns: Column nameDescriptionPROCEDURE_CATThe catalog that contains the
            procedure. The value is <info>null</info> if this table does not have catalogs.PROCEDURE_SCHEMName of
            the schema that contains the stored procedure.PROCEDURE_NAMEName of the
            procedure.COLUMN_NAMEName of the parameter.COLUMN_TYPE An integer value representing the
            type of the parameter: Return valueParameter type1 (SQL_PARAM_INPUT)Input (IN)
            parameter.2 (SQL_PARAM_INPUT_OUTPUT)Input/output (INOUT) parameter.3
            (SQL_PARAM_OUTPUT)Output (OUT) parameter. DATA_TYPEThe SQL data type for the parameter
            represented as an integer value.TYPE_NAMEA string representing the data type for the
            parameter.COLUMN_SIZEAn integer value representing the size of the
            parameter.BUFFER_LENGTH Maximum number of bytes necessary to store data for this
            parameter. DECIMAL_DIGITS The scale of the parameter, or <info>null</info> where scale is not
            applicable. NUM_PREC_RADIX An integer value of either <return>10</return> (representing an exact numeric
            data type), <return>2</return> (representing an approximate numeric data type), or <info>null</info> (representing a
            data type for which radix is not applicable). NULLABLEAn integer value representing
            whether the parameter is nullable or not.REMARKSDescription of the
            parameter.COLUMN_DEFDefault value for the parameter.SQL_DATA_TYPEAn integer value
            representing the size of the parameter.SQL_DATETIME_SUB Returns an integer value
            representing a datetime subtype code, or <info>null</info> for SQL data types to which this does not
            apply. CHAR_OCTET_LENGTH Maximum length in octets for a character data type parameter,
            which matches COLUMN_SIZE for single-byte character set data, or <info>null</info> for non-character
            data types. ORDINAL_POSITIONThe 1-indexed position of the parameter in the CALL
            statement.IS_NULLABLE A string value where 'YES' means that the parameter accepts or
            returns <info>null</info> values and 'NO' means that the parameter does not accept or return <info>null</info>
            values.
            
            An integer value representing the type of the parameter: Return valueParameter type1
            (SQL_PARAM_INPUT)Input (IN) parameter.2 (SQL_PARAM_INPUT_OUTPUT)Input/output (INOUT)
            parameter.3 (SQL_PARAM_OUTPUT)Output (OUT) parameter.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_procedures
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the stored procedures registered in a database
    
  
  Returns a result set listing the stored procedures registered in a database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the procedures. This parameter accepts a search
                         pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$procedure </strong>  The name of the procedure. This parameter accepts a search pattern
                         containing <return>_</return> and <return>%</return> as wildcards.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the stored
            procedures matching the specified parameters. The rows are composed of the following
            columns: Column nameDescriptionPROCEDURE_CATThe catalog that contains the procedure. The
            value is <info>null</info> if this table does not have catalogs.PROCEDURE_SCHEMName of the schema
            that contains the stored procedure.PROCEDURE_NAMEName of the
            procedure.NUM_INPUT_PARAMSNumber of input (IN) parameters for the stored
            procedure.NUM_OUTPUT_PARAMSNumber of output (OUT) parameters for the stored
            procedure.NUM_RESULT_SETSNumber of result sets returned by the stored
            procedure.REMARKSAny comments about the stored procedure.PROCEDURE_TYPEAlways returns <return>1</return>,
            indicating that the stored procedure does not return a return value.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_result
type: function
doc:
<comment>Description:</comment>
  Returns a single column from a row in the result set
    
  
  Use <strong>db2_result()</strong> to return the value of a specified column in the current row of a result set. You
  must call <strong>db2_fetch_row()</strong> before calling <strong>db2_result()</strong> to set the location of the result set
  pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt  </strong>  A valid <return>stmt</return> resource.
  <info>mixed   </info>  <strong>$column</strong>  Either an integer mapping to the 0-indexed field in the result set, or a string
                     matching the name of the column.

<comment>Return:</comment>
  <info>mixed</info>  Returns the value of the requested field if the field exists in the result set. Returns
         NULL if the field does not exist, and issues a warning.

<comment>See Also:</comment>
   * <strong>db2_fetch_array()</strong>
   * <strong>db2_fetch_assoc()</strong>
   * <strong>db2_fetch_both()</strong>
   * <strong>db2_fetch_object()</strong>
   * <strong>db2_fetch_row()</strong>


id: db2_rollback
type: function
doc:
<comment>Description:</comment>
  Rolls back a transaction
    
  
  Rolls back an in-progress transaction on the specified connection resource and begins a new
  transaction. PHP applications normally default to AUTOCOMMIT mode, so <strong>db2_rollback()</strong> normally has
  no effect unless AUTOCOMMIT has been turned off for the connection resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid database connection resource variable as returned from
                         <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>db2_autocommit()</strong>
   * <strong>db2_commit()</strong>


id: db2_server_info
type: function
doc:
<comment>Description:</comment>
  Returns an object with properties that describe the DB2 database server
  
  This function returns an object with read-only properties that return information about the IBM
  DB2, Cloudscape, or Apache Derby database server. The following table lists the database server
  properties: Database server propertiesProperty nameReturn typeDescriptionDBMS_NAMEstringThe name
  of the database server to which you are connected. For DB2 servers this is a combination of <return>DB2</return>
  followed by the operating system on which the database server is running.DBMS_VERstringThe version
  of the database server, in the form of a string "MM.mm.uuuu" where MM is the major version,  mm is
  the minor version, and uuuu is the update. For example, "08.02.0001" represents major version 8,
  minor version 2, update 1. DB_CODEPAGEintThe code page of the database to which you are
  connected.DB_NAMEstringThe name of the database to which you are connected.DFT_ISOLATIONstringThe
  default transaction isolation level supported by the server: UR Uncommitted read: changes are
  immediately visible by all concurrent transactions. CS Cursor stability: a row read by one
  transaction can be altered and committed by a second concurrent transaction. RS Read stability: a
  transaction can add or remove rows matching a search condition or a pending transaction. RR
  Repeatable read: data affected by pending transaction is not available to other transactions. NC
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.  IDENTIFIER_QUOTE_CHARstringThe character used to delimit an
  identifier.INST_NAMEstringThe instance on the database server that contains the
  database.ISOLATION_OPTIONarrayAn array of the isolation options supported by the database server.
  The isolation options are described in the DFT_ISOLATION property.KEYWORDSarrayAn array of the
  keywords reserved by the database server.LIKE_ESCAPE_CLAUSEbool<info>true</info> if the database server
  supports the use of <return>%</return> and <return>_</return> wildcard characters. <info>false</info> if the database server does not support
  these wildcard characters.MAX_COL_NAME_LENintMaximum length of a column name supported by the
  database server, expressed in bytes.MAX_IDENTIFIER_LENintMaximum length of an SQL identifier
  supported by the database server, expressed in characters.MAX_INDEX_SIZEintMaximum size of columns
  combined in an index supported by the database server, expressed in
  bytes.MAX_PROC_NAME_LENintMaximum length of a procedure name supported by the database server,
  expressed in bytes.MAX_ROW_SIZEintMaximum length of a row in a base table supported by the
  database server, expressed in bytes.MAX_SCHEMA_NAME_LENintMaximum length of a schema name
  supported by the database server, expressed in bytes.MAX_STATEMENT_LENintMaximum length of an SQL
  statement supported by the database server, expressed in bytes.MAX_TABLE_NAME_LENintMaximum length
  of a table name supported by the database server, expressed in bytes.NON_NULLABLE_COLUMNSbool<info>true</info>
  if the database server supports columns that can be defined as NOT NULL, <info>false</info> if the database
  server does not support columns defined as NOT NULL.PROCEDURESbool<info>true</info> if the database server
  supports the use of the CALL statement to call stored procedures, <info>false</info> if the database server
  does not support the CALL statement.SPECIAL_CHARSstringA string containing all of the characters
  other than a-Z, 0-9, and underscore that can be used in an identifier
  name.SQL_CONFORMANCEstringThe level of conformance to the ANSI/ISO SQL-92 specification offered by
  the database server: ENTRY Entry-level SQL-92 compliance. FIPS127 FIPS-127-2 transitional
  compliance. FULL Full level SQL-92 compliance. INTERMEDIATE Intermediate level SQL-92 compliance.
  
  The default transaction isolation level supported by the server: UR Uncommitted read: changes are
  immediately visible by all concurrent transactions. CS Cursor stability: a row read by one
  transaction can be altered and committed by a second concurrent transaction. RS Read stability: a
  transaction can add or remove rows matching a search condition or a pending transaction. RR
  Repeatable read: data affected by pending transaction is not available to other transactions. NC
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.
  
  Uncommitted read: changes are immediately visible by all concurrent transactions.
  
  Cursor stability: a row read by one transaction can be altered and committed by a second
  concurrent transaction.
  
  Read stability: a transaction can add or remove rows matching a search condition or a pending
  transaction.
  
  Repeatable read: data affected by pending transaction is not available to other transactions.
  
  No commit: any changes are visible at the end of a successful operation. Explicit commits and
  rollbacks are not allowed.
  
  The level of conformance to the ANSI/ISO SQL-92 specification offered by the database server:
  ENTRY Entry-level SQL-92 compliance. FIPS127 FIPS-127-2 transitional compliance. FULL Full level
  SQL-92 compliance. INTERMEDIATE Intermediate level SQL-92 compliance.
  
  Entry-level SQL-92 compliance.
  
  FIPS-127-2 transitional compliance.
  
  Full level SQL-92 compliance.
  
  Intermediate level SQL-92 compliance.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  Specifies an active DB2 client connection.

<comment>Return:</comment>
  <info>object</info>  Returns an object on a successful call. Returns <info>false</info> on failure.

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


id: db2_set_option
type: function
doc:
<comment>Description:</comment>
  Set options for connection or statement resources
  
  Sets options for a statement resource or a connection resource. You cannot set options for result
  set resources.

<comment>Param:</comment>
  <info>resource</info>  <strong>$resource        </strong>  A valid statement resource as returned from <strong>db2_prepare()</strong> or a valid
                               connection resource as returned from <strong>db2_connect()</strong> or <strong>db2_pconnect()</strong>.
  <info>array   </info>  <strong>$options         </strong>  An associative array containing valid statement or connection
                               options. This parameter can be used to change autocommit values,
                               cursor types (scrollable or forward), and to specify the case of the
                               column names (lower, upper, or natural) that will appear in a result
                               set. <strong>$autocommit</strong> Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for
                               the specified connection resource.  Passing <return>DB2_AUTOCOMMIT_OFF</return> turns
                               autocommit off for the specified connection resource. <strong>$cursor</strong> Passing
                               <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a statement
                               resource. This is the default cursor type, and is supported by all
                               database servers.  Passing <return>DB2_SCROLLABLE</return> specifies a scrollable
                               cursor for a statement resource. Scrollable cursors enable result set
                               rows to be accessed in non-sequential order, but are only supported
                               by IBM DB2 Universal Database databases. <strong>$binmode</strong> Passing <return>DB2_BINARY</return>
                               specifies that binary data will be returned as is. This is the
                               default mode. This is the equivalent of setting <return>ibm_db2.binmode=1</return> in
                               php.ini.  Passing <return>DB2_CONVERT</return> specifies that binary data will be
                               converted to hexadecimal encoding, and will be returned as such. This
                               is the equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.  Passing
                               <return>DB2_PASSTHRU</return> specifies that binary data will be converted to <info>null</info>.
                               This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
                               <strong>$db2_attr_case</strong> Passing <return>DB2_CASE_LOWER</return> specifies that column names of
                               the result set are returned in lower case.  Passing <return>DB2_CASE_UPPER</return>
                               specifies that column names of the result set are returned in upper
                               case.  Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the
                               result set are returned in natural case. <strong>$deferred_prepare</strong> Passing
                               <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the specified
                               statement resource.  Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred
                               prepare off for the specified statement resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for the specified
                               connection resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_OFF</return> turns autocommit off for the specified
                               connection resource.
                               
                               Passing <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a
                               statement resource. This is the default cursor type, and is supported
                               by all database servers.
                               
                               Passing <return>DB2_SCROLLABLE</return> specifies a scrollable cursor for a statement
                               resource. Scrollable cursors enable result set rows to be accessed in
                               non-sequential order, but are only supported by IBM DB2 Universal
                               Database databases.
                               
                               Passing <return>DB2_BINARY</return> specifies that binary data will be returned as is.
                               This is the default mode. This is the equivalent of setting
                               <return>ibm_db2.binmode=1</return> in php.ini.
                               
                               Passing <return>DB2_CONVERT</return> specifies that binary data will be converted to
                               hexadecimal encoding, and will be returned as such. This is the
                               equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.
                               
                               Passing <return>DB2_PASSTHRU</return> specifies that binary data will be converted to
                               <info>null</info>. This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
                               
                               Passing <return>DB2_CASE_LOWER</return> specifies that column names of the result set
                               are returned in lower case.
                               
                               Passing <return>DB2_CASE_UPPER</return> specifies that column names of the result set
                               are returned in upper case.
                               
                               Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the result
                               set are returned in natural case.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the
                               specified statement resource.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred  prepare off for the
                               specified statement resource.
                               
                               The following new i5/OS options are available in ibm_db2 version
                               1.5.1  and later. These options apply only when running PHP and
                               ibm_db2 natively on i5 systems. <strong>$i5_fetch_only</strong><return>DB2_I5_FETCH_ON</return> -
                               Cursors are read-only  and cannot be used for positioned updates or
                               deletes. This  is the default unless <return>SQL_ATTR_FOR_FETCH_ONLY</return>
                               environment has been set to <return>SQL_FALSE</return>. <return>DB2_I5_FETCH_OFF</return> - Cursors can
                               be used  for positioned updates and deletes.
                               
                               <return>DB2_I5_FETCH_ON</return> - Cursors are read-only  and cannot be used for
                               positioned updates or deletes. This  is the default unless
                               <return>SQL_ATTR_FOR_FETCH_ONLY</return>  environment has been set to <return>SQL_FALSE</return>.
                               
                               <return>DB2_I5_FETCH_OFF</return> - Cursors can be used  for positioned updates and
                               deletes.
                               
                               The following new option is available in ibm_db2 version 1.8.0 and
                               later. <strong>$rowcount</strong><return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the
                               full row count prior to fetching, which means that  <strong>db2_num_rows()</strong>
                               returns the number of rows selected  even when a <return>ROLLFORWARD_ONLY</return>
                               cursor is used. <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the
                               full row count prior to fetching.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the full row count
                               prior to fetching, which means that  <strong>db2_num_rows()</strong> returns the
                               number of rows selected  even when a <return>ROLLFORWARD_ONLY</return> cursor is used.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the full row count
                               prior to fetching.
                               
                               The following new options are available in ibm_db2 version 1.7.0 and
                               later. <strong>$trusted_user</strong> To switch the user to a trusted user, pass the
                               User ID (String)  of the trusted user as the value of this key. This
                               option can  be set on a connection resource only. To use this option,
                               trusted context must be enabled on the connection resource.
                               <strong>$trusted_password</strong> The password (String) that corresponds to the user
                               specified by the trusted_user key.
                               
                               To switch the user to a trusted user, pass the User ID (String)  of
                               the trusted user as the value of this key. This option can  be set on
                               a connection resource only. To use this option, trusted context must
                               be enabled on the connection resource.
                               
                               The password (String) that corresponds to the user specified by the
                               trusted_user key.
                               
                               The following new options are available in ibm_db2 version 1.6.0 and
                               later.  These options provide useful tracking information that can be
                               accessed during  execution with <strong>db2_get_option()</strong>.  When the value in
                               each option is being set, some servers might not handle  the entire
                               length provided and might truncate the value.  To ensure that the
                               data specified in each option is converted correctly  when
                               transmitted to a host system, use only the characters A through Z,  0
                               through 9, and the underscore (_) or period (.).
                               <strong>$userid</strong><return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated
                               character string used to identify the client user ID sent to the host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 16 characters.  This user-id is not
                               to be confused with the authentication user-id, it is for
                               identification purposes only and is not used for any authorization.
                               <strong>$acctstr</strong><return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated
                               character string used to identify the client accounting string sent
                               to the  host database server when using DB2 Connect.  DB2 for z/OS
                               and OS/390 servers support up to a length of 200 characters.
                               <strong>$applname</strong><return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated
                               character string used to identify the client application name sent to
                               the  host database server when using DB2 Connect.  DB2 for z/OS and
                               OS/390 servers support up to a length of 32 characters.
                               <strong>$wrkstnname</strong><return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated
                               character string used to identify the client workstation name sent to
                               the  host database server when using DB2 Connect.  DB2 for z/OS and
                               OS/390 servers support up to a length of 18 characters.
                               
                               When the value in each option is being set, some servers might not
                               handle  the entire length provided and might truncate the value.
                               
                               To ensure that the data specified in each option is converted
                               correctly  when transmitted to a host system, use only the characters
                               A through Z,  0 through 9, and the underscore (_) or period (.).
                               
                               <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character
                               string used to identify the client user ID sent to the host  database
                               server when using DB2 Connect.  DB2 for z/OS and OS/390 servers
                               support up to a length of 16 characters.  This user-id is not to be
                               confused with the authentication user-id, it is for  identification
                               purposes only and is not used for any authorization.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 16
                               characters.  This user-id is not to be confused with the
                               authentication user-id, it is for  identification purposes only and
                               is not used for any authorization.
                               
                               <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character
                               string used to identify the client accounting string sent to the
                               host database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 200 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 200
                               characters.
                               
                               <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client application name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 32 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 32
                               characters.
                               
                               <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client workstation name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 18 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 18
                               characters.
  <info>        </info>  <strong>$autocommit      </strong>  Passing <return>DB2_AUTOCOMMIT_ON</return> turns autocommit on for the specified
                               connection resource.
                               
                               Passing <return>DB2_AUTOCOMMIT_OFF</return> turns autocommit off for the specified
                               connection resource.
  <info>        </info>  <strong>$cursor          </strong>  Passing <return>DB2_FORWARD_ONLY</return> specifies a forward-only cursor for a
                               statement resource. This is the default cursor type, and is supported
                               by all database servers.
                               
                               Passing <return>DB2_SCROLLABLE</return> specifies a scrollable cursor for a statement
                               resource. Scrollable cursors enable result set rows to be accessed in
                               non-sequential order, but are only supported by IBM DB2 Universal
                               Database databases.
  <info>        </info>  <strong>$binmode         </strong>  Passing <return>DB2_BINARY</return> specifies that binary data will be returned as is.
                               This is the default mode. This is the equivalent of setting
                               <return>ibm_db2.binmode=1</return> in php.ini.
                               
                               Passing <return>DB2_CONVERT</return> specifies that binary data will be converted to
                               hexadecimal encoding, and will be returned as such. This is the
                               equivalent of setting <return>ibm_db2.binmode=2</return> in php.ini.
                               
                               Passing <return>DB2_PASSTHRU</return> specifies that binary data will be converted to
                               <info>null</info>. This is the equivalent of setting <return>ibm_db2.binmode=3</return> in php.ini.
  <info>        </info>  <strong>$db2_attr_case   </strong>  Passing <return>DB2_CASE_LOWER</return> specifies that column names of the result set
                               are returned in lower case.
                               
                               Passing <return>DB2_CASE_UPPER</return> specifies that column names of the result set
                               are returned in upper case.
                               
                               Passing <return>DB2_CASE_NATURAL</return> specifies that column names of the result
                               set are returned in natural case.
  <info>        </info>  <strong>$deferred_prepare</strong>  Passing <return>DB2_DEFERRED_PREPARE_ON</return> turns deferred  prepare on for the
                               specified statement resource.
                               
                               Passing <return>DB2_DEFERRED_PREPARE_OFF</return> turns deferred  prepare off for the
                               specified statement resource.
  <info>        </info>  <strong>$i5_fetch_only   </strong>  <return>DB2_I5_FETCH_ON</return> - Cursors are read-only  and cannot be used for
                               positioned updates or deletes. This  is the default unless
                               <return>SQL_ATTR_FOR_FETCH_ONLY</return>  environment has been set to <return>SQL_FALSE</return>.
                               
                               <return>DB2_I5_FETCH_OFF</return> - Cursors can be used  for positioned updates and
                               deletes.
  <info>        </info>  <strong>$rowcount        </strong>  <return>DB2_ROWCOUNT_PREFETCH_ON</return> - Client can request  the full row count
                               prior to fetching, which means that  <strong>db2_num_rows()</strong> returns the
                               number of rows selected  even when a <return>ROLLFORWARD_ONLY</return> cursor is used.
                               
                               <return>DB2_ROWCOUNT_PREFETCH_OFF</return> - Client cannot request the full row count
                               prior to fetching.
  <info>        </info>  <strong>$trusted_user    </strong>  To switch the user to a trusted user, pass the User ID (String)  of
                               the trusted user as the value of this key. This option can  be set on
                               a connection resource only. To use this option, trusted context must
                               be enabled on the connection resource.
  <info>        </info>  <strong>$trusted_password</strong>  The password (String) that corresponds to the user specified by the
                               trusted_user key.
  <info>        </info>  <strong>$userid          </strong>  <return>SQL_ATTR_INFO_USERID</return> - A pointer to a null-terminated  character
                               string used to identify the client user ID sent to the host  database
                               server when using DB2 Connect.  DB2 for z/OS and OS/390 servers
                               support up to a length of 16 characters.  This user-id is not to be
                               confused with the authentication user-id, it is for  identification
                               purposes only and is not used for any authorization.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 16
                               characters.  This user-id is not to be confused with the
                               authentication user-id, it is for  identification purposes only and
                               is not used for any authorization.
  <info>        </info>  <strong>$acctstr         </strong>  <return>SQL_ATTR_INFO_ACCTSTR</return> - A pointer to a null-terminated  character
                               string used to identify the client accounting string sent to the
                               host database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 200 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 200
                               characters.
  <info>        </info>  <strong>$applname        </strong>  <return>SQL_ATTR_INFO_APPLNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client application name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 32 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 32
                               characters.
  <info>        </info>  <strong>$wrkstnname      </strong>  <return>SQL_ATTR_INFO_WRKSTNNAME</return> - A pointer to a null-terminated  character
                               string used to identify the client workstation name sent to the  host
                               database server when using DB2 Connect.  DB2 for z/OS and OS/390
                               servers support up to a length of 18 characters.
                               
                               DB2 for z/OS and OS/390 servers support up to a length of 18
                               characters.
  <info>int     </info>  <strong>$type            </strong>  An integer value that specifies the type of resource that was passed
                               into the function. The type of resource and this value must
                               correspond.
                               
                               Passing <return>1</return> as the value specifies that a connection resource has been
                               passed into the function.
                               
                               Passing any integer not equal to <return>1</return> as the value specifies that a
                               statement resource has been passed into the function.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>db2_connect()</strong>
   * <strong>db2_pconnect()</strong>
   * <strong>db2_exec()</strong>
   * <strong>db2_prepare()</strong>
   * <strong>db2_cursor_type()</strong>


id: db2_special_columns
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the unique row identifier columns for a table
    
  
  Returns a result set listing the unique row identifier columns for a table.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the tables.
  <info>string  </info>  <strong>$table_name</strong>  The name of the table.
  <info>int     </info>  <strong>$scope     </strong>  Integer value representing the minimum duration for which the unique row
                         identifier is valid. This can be one of the following values: Integer
                         valueSQL constantDescription0SQL_SCOPE_CURROWRow identifier is valid only
                         while the cursor is positioned on the row.1SQL_SCOPE_TRANSACTIONRow
                         identifier is valid for the duration of the
                         transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the duration of
                         the connection.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows with unique row
            identifier information for a table. The rows are composed of the following columns:
            Column nameDescriptionSCOPEInteger valueSQL constantDescription0SQL_SCOPE_CURROWRow
            identifier is valid only while the cursor is positioned on the
            row.1SQL_SCOPE_TRANSACTIONRow identifier is valid for the duration of the
            transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the duration of the
            connection.COLUMN_NAMEName of the unique column.DATA_TYPESQL data type for the
            column.TYPE_NAMECharacter string representation of the SQL data type for the
            column.COLUMN_SIZEAn integer value representing the size of the column.BUFFER_LENGTH
            Maximum number of bytes necessary to store data from this column. DECIMAL_DIGITS The
            scale of the column, or <info>null</info> where scale is not applicable. NUM_PREC_RADIX An integer
            value of either <return>10</return> (representing an exact numeric data type), <return>2</return> (representing an
            approximate numeric data type), or <info>null</info> (representing a data type for which radix is not
            applicable). PSEUDO_COLUMNAlways returns 1.
            
            Integer valueSQL constantDescription0SQL_SCOPE_CURROWRow identifier is valid only while
            the cursor is positioned on the row.1SQL_SCOPE_TRANSACTIONRow identifier is valid for
            the duration of the transaction.2SQL_SCOPE_SESSIONRow identifier is valid for the
            duration of the connection.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_statistics
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the index and statistics for a table
    
  
  Returns a result set listing the index and statistics for a table.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema that contains the targeted table. If this parameter is <info>null</info>, the
                         statistics and indexes are returned for the schema of the current user.
  <info>        </info>  <strong>$table_name</strong>  The name of the table.
  <info>bool    </info>  <strong>$unique    </strong>  An integer value representing the type of index information to return. <strong>$0</strong>
                         Return only the information for unique indexes on the table. <strong>$1</strong> Return the
                         information for all indexes on the table.
                         
                         Return only the information for unique indexes on the table.
                         
                         Return the information for all indexes on the table.
  <info>        </info>  <strong>$0         </strong>  Return only the information for unique indexes on the table.
  <info>        </info>  <strong>$1         </strong>  Return the information for all indexes on the table.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the statistics
            and indexes for the base tables matching the specified parameters. The rows are composed
            of the following columns: Column nameDescriptionTABLE_CATThe catalog that contains the
            table. The value is <info>null</info> if this table does not have catalogs.TABLE_SCHEMName of the
            schema that contains the table.TABLE_NAMEName of the table.NON_UNIQUE An integer value
            representing whether the index prohibits unique values, or whether the row represents
            statistics on the table itself: Return valueParameter type0 (SQL_FALSE)The index allows
            duplicate values.1 (SQL_TRUE)The index values must be unique.<info>null</info>This row is statistics
            information for the table itself. INDEX_QUALIFIERA string value representing the
            qualifier that would have to be prepended to INDEX_NAME to fully qualify the
            index.INDEX_NAMEA string representing the name of the index.TYPE An integer value
            representing the type of information contained in this row of the result set: Return
            valueParameter type0 (SQL_TABLE_STAT)The row contains statistics about the table
            itself.1 (SQL_INDEX_CLUSTERED)The row contains information about a clustered index.2
            (SQL_INDEX_HASH)The row contains information about a hashed index.3 (SQL_INDEX_OTHER)The
            row contains information about a type of index that is neither clustered nor hashed.
            ORDINAL_POSITIONThe 1-indexed position of the column in the index. <info>null</info> if the row
            contains statistics information about the table itself.COLUMN_NAMEThe name of the column
            in the index. <info>null</info> if the row contains statistics information about the table
            itself.ASC_OR_DESC<return>A</return> if the column is sorted in ascending order, <return>D</return> if the column is
            sorted in descending order, <info>null</info> if the row contains statistics information about the
            table itself. CARDINALITY If the row contains information about an index, this column
            contains an integer value representing the number of unique values in the index.  If the
            row contains information about the table itself, this column contains an integer value
            representing the number of rows in the table. PAGES If the row contains information
            about an index, this column contains an integer value representing the number of pages
            used to store the index.  If the row contains information about the table itself, this
            column contains an integer value representing the number of pages used to store the
            table. FILTER_CONDITIONAlways returns <info>null</info>.
            
            An integer value representing whether the index prohibits unique values, or whether the
            row represents statistics on the table itself: Return valueParameter type0
            (SQL_FALSE)The index allows duplicate values.1 (SQL_TRUE)The index values must be
            unique.<info>null</info>This row is statistics information for the table itself.
            
            An integer value representing the type of information contained in this row of the
            result set: Return valueParameter type0 (SQL_TABLE_STAT)The row contains statistics
            about the table itself.1 (SQL_INDEX_CLUSTERED)The row contains information about a
            clustered index.2 (SQL_INDEX_HASH)The row contains information about a hashed index.3
            (SQL_INDEX_OTHER)The row contains information about a type of index that is neither
            clustered nor hashed.
            
            If the row contains information about an index, this column contains an integer value
            representing the number of unique values in the index.
            
            If the row contains information about the table itself, this column contains an integer
            value representing the number of rows in the table.
            
            If the row contains information about an index, this column contains an integer value
            representing the number of pages used to store the index.
            
            If the row contains information about the table itself, this column contains an integer
            value representing the number of pages used to store the table.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_table_privileges()</strong>
   * <strong>db2_tables()</strong>


id: db2_stmt_error
type: function
doc:
<comment>Description:</comment>
  Returns a string containing the SQLSTATE returned by an SQL statement
    
  
  Returns a string containing the SQLSTATE value returned by an SQL statement.
  
  If you do not pass a statement resource as an argument to <strong>db2_stmt_error()</strong>, the driver returns the
  SQLSTATE value associated with the last attempt to return a statement resource, for example, from
  <strong>db2_prepare()</strong> or <strong>db2_exec()</strong>.
  
  To learn what the SQLSTATE value means, you can issue the following command at a DB2 Command Line
  Processor prompt: db2 '? <strong>$sqlstate-value</strong>'. You can also call <strong>db2_stmt_errormsg()</strong> to retrieve an
  explicit error message and the associated SQLCODE value.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing an SQLSTATE value.

<comment>See Also:</comment>
   * <strong>db2_conn_error()</strong>
   * <strong>db2_conn_errormsg()</strong>
   * <strong>db2_stmt_errormsg()</strong>


id: db2_stmt_errormsg
type: function
doc:
<comment>Description:</comment>
  Returns a string containing the last SQL statement error message
    
  
  Returns a string containing the last SQL statement error message.
  
  If you do not pass a statement resource as an argument to <strong>db2_stmt_errormsg()</strong>, the driver returns
  the error message associated with the last attempt to return a statement resource, for example,
  from <strong>db2_prepare()</strong> or <strong>db2_exec()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stmt</strong>  A valid statement resource.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the error message and SQLCODE value for the last error that
          occurred issuing an SQL statement.

<comment>See Also:</comment>
   * <strong>db2_conn_error()</strong>
   * <strong>db2_conn_errormsg()</strong>
   * <strong>db2_stmt_error()</strong>


id: db2_table_privileges
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the tables and associated privileges in a database
    
  
  Returns a result set listing the tables and associated privileges in a database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the tables. This parameter accepts a search
                         pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$table_name</strong>  The name of the table. This parameter accepts a search pattern containing <return>_</return>
                         and <return>%</return> as wildcards.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the privileges
            for the tables that match the specified parameters. The rows are composed of the
            following columns: Column nameDescriptionTABLE_CATThe catalog that contains the table.
            The value is <info>null</info> if this table does not have catalogs.TABLE_SCHEMName of the schema
            that contains the table.TABLE_NAMEName of the table.GRANTORAuthorization ID of the user
            who granted the privilege.GRANTEEAuthorization ID of the user to whom the privilege was
            granted.PRIVILEGE The privilege that has been granted. This can be one of ALTER,
            CONTROL, DELETE, INDEX, INSERT, REFERENCES, SELECT, or UPDATE. IS_GRANTABLE A string
            value of "YES" or "NO" indicating whether the grantee can grant the privilege to other
            users.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_tables()</strong>


id: db2_tables
type: function
doc:
<comment>Description:</comment>
  Returns a result set listing the tables and associated metadata in a database
    
  
  Returns a result set listing the tables and associated metadata in a database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$connection</strong>  A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.
  <info>string  </info>  <strong>$qualifier </strong>  A qualifier for DB2 databases running on OS/390 or z/OS servers. For other
                         databases, pass <info>null</info> or an empty string.
  <info>string  </info>  <strong>$schema    </strong>  The schema which contains the tables. This parameter accepts a search
                         pattern containing <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$table-name</strong>  The name of the table.  This parameter accepts a search pattern containing
                         <return>_</return> and <return>%</return> as wildcards.
  <info>string  </info>  <strong>$table-type</strong>  A list of comma-delimited table type identifiers. To match all table types,
                         pass <info>null</info> or an empty string. Valid table type identifiers include: ALIAS,
                         HIERARCHY TABLE, INOPERATIVE VIEW, NICKNAME, MATERIALIZED QUERY TABLE,
                         SYSTEM TABLE, TABLE, TYPED TABLE, TYPED VIEW, and VIEW.

<comment>Return:</comment>
  <info>resource</info>  Returns a statement resource with a result set containing rows describing the tables
            that match the specified parameters. The rows are composed of the following columns:
            Column nameDescriptionTABLE_CATThe catalog that contains the table. The value is <info>null</info> if
            this table does not have catalogs.TABLE_SCHEMName of the schema that contains the
            table.TABLE_NAMEName of the table.TABLE_TYPETable type identifier for the
            table.REMARKSDescription of the table.

<comment>See Also:</comment>
   * <strong>db2_column_privileges()</strong>
   * <strong>db2_columns()</strong>
   * <strong>db2_foreign_keys()</strong>
   * <strong>db2_primary_keys()</strong>
   * <strong>db2_procedure_columns()</strong>
   * <strong>db2_procedures()</strong>
   * <strong>db2_special_columns()</strong>
   * <strong>db2_statistics()</strong>
   * <strong>db2_table_privileges()</strong>


id: dba_close
type: function
doc:
<comment>Description:</comment>
  Close a DBA database
  
  <strong>dba_close()</strong> closes the established database and frees all resources of the specified database
  handle.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>dba_open()</strong>
   * <strong>dba_popen()</strong>


id: dba_delete
type: function
doc:
<comment>Description:</comment>
  Delete DBA entry specified by key
  
  <strong>dba_delete()</strong> deletes the specified entry from the database.

<comment>Param:</comment>
  <info>stringarray</info>  <strong>$key</strong>  The key of the entry which is deleted.
  <info>resource   </info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>


id: dba_exists
type: function
doc:
<comment>Description:</comment>
  Check whether key exists
  
  <strong>dba_exists()</strong> checks whether the specified <strong>$key</strong> exists in the database.

<comment>Param:</comment>
  <info>stringarray</info>  <strong>$key</strong>  The key the check is performed for.
  <info>resource   </info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

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

<comment>See Also:</comment>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>


id: dba_fetch
type: function
doc:
<comment>Description:</comment>
  Fetch data specified by key
  
  <strong>dba_fetch()</strong> fetches the data specified by <strong>$key</strong> from the database specified with <strong>$handle</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$key   </strong>  The key the data is specified by.
                     
                     When working with inifiles this function accepts arrays as keys where index 0
                     is the group and index 1 is the value name. See: <strong>dba_key_split()</strong>.
  <info>int     </info>  <strong>$skip  </strong>  The number of key-value pairs to ignore when using cdb databases.  This value
                     is ignored for all other databases which do not support multiple keys with the
                     same name.
  <info>resource</info>  <strong>$handle</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the associated string if the key/data pair is found, <info>false</info>  otherwise.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_insert()</strong>
   * <strong>dba_replace()</strong>
   * <strong>dba_key_split()</strong>


id: dba_firstkey
type: function
doc:
<comment>Description:</comment>
  Fetch first key
  
  <strong>dba_firstkey()</strong> returns the first key of the database and resets the internal key pointer. This
  permits a linear search through the whole database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the key on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_nextkey()</strong>
   * <strong>dba_key_split()</strong>
   * Example 2 in the DBA examples


id: dba_handlers
type: function
doc:
<comment>Description:</comment>
  List all the handlers available
  
  <strong>dba_handlers()</strong> list all the handlers supported by this extension.

<comment>Param:</comment>
  <info>bool</info>  <strong>$full_info</strong>  Turns on/off full information display in the result.

<comment>Return:</comment>
  <info>array</info>  Returns an array of database handlers. If <strong>$full_info</strong> is set to <info>true</info>, the array will be
         associative with the handlers names as keys, and their version information as value.
         Otherwise, the result will be an indexed array of handlers names.
         
         When the internal cdb library is used you will see  <return>cdb</return> and <return>cdb_make</return>.


id: dba_insert
type: function
doc:
<comment>Description:</comment>
  Insert entry
  
  <strong>dba_insert()</strong> inserts the entry described with <strong>$key</strong> and <strong>$value</strong> into the database.

<comment>Param:</comment>
  <info>stringarray</info>  <strong>$key  </strong>  The key of the entry to be inserted. If this key already exist in the
                       database, this function will fail. Use <strong>dba_replace()</strong> if you need to replace
                       an existent key.
  <info>string     </info>  <strong>$value</strong>  The value to be inserted.
  <info>resource   </info>  <strong>$dba  </strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_replace()</strong>


id: dba_key_split
type: function
doc:
<comment>Description:</comment>
  Splits a key in string representation into array representation
    
  
  <strong>dba_key_split()</strong> splits a key (string representation) into an array representation.

<comment>Param:</comment>
  <info>stringfalsenull</info>  <strong>$key</strong>  The key in string representation.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array of the form <return>array(0 =&gt; group, 1 =&gt;  value_name)</return>. This function
              will return <info>false</info> if  <strong>$key</strong> is <info>null</info> or <info>false</info>.

<comment>See Also:</comment>
   * <strong>dba_firstkey()</strong>
   * <strong>dba_nextkey()</strong>
   * <strong>dba_fetch()</strong>


id: dba_list
type: function
doc:
<comment>Description:</comment>
  List all open database files
  
  <strong>dba_list()</strong> list all open database files.

<comment>Return:</comment>
  <info>array</info>  An associative array, in the form <return>resourceid =&gt; filename</return>.


id: dba_nextkey
type: function
doc:
<comment>Description:</comment>
  Fetch next key
  
  <strong>dba_nextkey()</strong> returns the next key of the database and advances the internal key pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the key on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_firstkey()</strong>
   * <strong>dba_key_split()</strong>
   * Example 2 in the DBA examples


id: dba_open
type: function
doc:
<comment>Description:</comment>
  Open database
  
  <strong>dba_open()</strong> establishes a database instance for <strong>$path</strong> with <strong>$mode</strong> using <strong>$handler</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$path   </strong>  Commonly a regular path in your filesystem.
  <info>string</info>  <strong>$mode   </strong>  It is <return>r</return> for read access, <return>w</return> for read/write access to an already existing
                    database, <return>c</return> for read/write access and database creation if it doesn't currently
                    exist, and <return>n</return> for create, truncate and read/write access. The database is created
                    in BTree mode, other modes (like Hash or Queue) are not supported.
                    
                    Additionally you can set the database lock method with the next char.  Use <return>l</return> to
                    lock the database with a .lck file or <return>d</return> to lock the databasefile itself. It is
                    important that all of your applications do this consistently.
                    
                    If you want to test the access and do not want to wait for the lock  you can add
                    <return>t</return> as third character. When you are  absolutely sure that you do not require
                    database locking you can do  so by using <return>-</return> instead of <return>l</return> or <return>d</return>. When none of <return>d</return>,  <return>l</return>
                    or <return>-</return> is used, dba will lock on the database file as it would with <return>d</return>.
                    
                    There can only be one writer for one database file. When you use dba on  a web
                    server and more than one request requires write operations they can only be done
                    one after another. Also read during write is not allowed. The dba extension uses
                    locks to prevent this. See the following table: DBA lockingalready open<strong>$mode</strong> =
                    "rl"<strong>$mode</strong> = "rlt"<strong>$mode</strong> = "wl"<strong>$mode</strong> = "wlt"<strong>$mode</strong> = "rd"<strong>$mode</strong> = "rdt"<strong>$mode</strong> =
                    "wd"<strong>$mode</strong> = "wdt"not openokokokokokokokok<strong>$mode</strong> =
                    "rl"okokwaitfalseillegalillegalillegalillegal<strong>$mode</strong> =
                    "wl"waitfalsewaitfalseillegalillegalillegalillegal<strong>$mode</strong> =
                    "rd"illegalillegalillegalillegalokokwaitfalse<strong>$mode</strong> =
                    "wd"illegalillegalillegalillegalwaitfalsewaitfalse ok: the second call will be
                    successfull.wait: the second call waits until <strong>dba_close()</strong> is called for the
                    first.false: the second call returns false.illegal: you must not mix <return>"l"</return> and <return>"d"</return>
                    modifiers for <strong>$mode</strong> parameter.
  <info>string</info>  <strong>$handler</strong>  The name of the handler which shall be used for accessing <strong>$path</strong>. It is passed
                    all optional parameters given to <strong>dba_open()</strong> and  can act on behalf of them.
  <info>string</info>  <strong>$args   </strong>  Optional <info>string</info> parameters which are passed to the driver.
                    
                    The <return>cdb</return>, <return>cdb_make</return>, <return>flatfile</return>, <return>inifile</return>, <return>qdbm</return> and <return>tcadb</return> drivers do not support
                    additional parameters.
                    
                    The <return>db1</return>, <return>db2</return>, <return>db3</return>, <return>db4</return>, <return>dbm</return>, <return>gdbm</return>, and <return>ndbm</return> drivers supports a single additional
                    parameter <return>$filemode</return>, which has the same meaning as the <return>$mode</return> parameter of
                    <strong>chmod()</strong>, and defaults to <return>0644</return>.
                    
                    The <return>lmdb</return> driver accepts two additional parameters. The first allows to specify
                    the <return>$filemode</return> (see description above), and the second to specify the <return>$mapsize</return>,
                    where the value should be a multiple of the page size of the OS, or zero, to use
                    the default mapsize. The <return>$mapsize</return> parameter is supported as of PHP 7.3.14 and
                    7.4.2, respectively.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a positive handle on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_popen()</strong>
   * <strong>dba_close()</strong>


id: dba_optimize
type: function
doc:
<comment>Description:</comment>
  Optimize database
  
  <strong>dba_optimize()</strong> optimizes the underlying database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: dba_popen
type: function
doc:
<comment>Description:</comment>
  Open database persistently
  
  <strong>dba_popen()</strong> establishes a persistent database instance for <strong>$path</strong> with <strong>$mode</strong> using <strong>$handler</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$path   </strong>  Commonly a regular path in your filesystem.
  <info>string</info>  <strong>$mode   </strong>  It is <return>r</return> for read access, <return>w</return> for read/write access to an already existing
                    database, <return>c</return> for read/write access and database creation if it doesn't currently
                    exist, and <return>n</return> for create, truncate and read/write access.
  <info>string</info>  <strong>$handler</strong>  The name of the handler which shall be used for accessing <strong>$path</strong>. It is passed
                    all optional parameters given to <strong>dba_popen()</strong> and  can act on behalf of them.
  <info>mixed </info>  <strong>$args   </strong>  Optional <info>string</info> parameters which are passed to the driver.
                    
                    The <return>cdb</return>, <return>cdb_make</return>, <return>flatfile</return>, <return>inifile</return>, <return>qdbm</return> and <return>tcadb</return> drivers do not support
                    additional parameters.
                    
                    The <return>db1</return>, <return>db2</return>, <return>db3</return>, <return>db4</return>, <return>dbm</return>, <return>gdbm</return>, and <return>ndbm</return> drivers supports a single additional
                    parameter <return>$filemode</return>, which has the same meaning as the <return>$mode</return> parameter of
                    <strong>chmod()</strong>, and defaults to <return>0644</return>.
                    
                    The <return>lmdb</return> driver accepts two additional parameters. The first allows to specify
                    the <return>$filemode</return> (see description above), and the second to specify the <return>$mapsize</return>,
                    where the value should be a multiple of the page size of the OS, or zero, to use
                    the default mapsize. The <return>$mapsize</return> parameter is supported as of PHP 7.3.14 and
                    7.4.2, respectively.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a positive handle on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_open()</strong>
   * <strong>dba_close()</strong>


id: dba_replace
type: function
doc:
<comment>Description:</comment>
  Replace or insert entry
  
  <strong>dba_replace()</strong> replaces or inserts the entry described with <strong>$key</strong> and <strong>$value</strong> into the database
  specified by <strong>$dba</strong>.

<comment>Param:</comment>
  <info>stringarray</info>  <strong>$key  </strong>  The key of the entry to be replaced.
  <info>string     </info>  <strong>$value</strong>  The value to be replaced.
  <info>resource   </info>  <strong>$dba  </strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dba_exists()</strong>
   * <strong>dba_delete()</strong>
   * <strong>dba_fetch()</strong>
   * <strong>dba_insert()</strong>


id: dba_sync
type: function
doc:
<comment>Description:</comment>
  Synchronize database
  
  <strong>dba_sync()</strong> synchronizes the database. This will probably  trigger a physical write to the disk, if
  supported.

<comment>Param:</comment>
  <info>resource</info>  <strong>$dba</strong>  The database handler, returned by <strong>dba_open()</strong> or <strong>dba_popen()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: dbase_add_record
type: function
doc:
<comment>Description:</comment>
  Adds a record to a database
  
  Adds the given data to the database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>array   </info>  <strong>$data    </strong>  An indexed array of data. The number of items must be equal to the number of
                       fields in the database, otherwise <strong>dbase_add_record()</strong> will fail.
                       
                       If you're using <strong>dbase_get_record()</strong> return value for this parameter, remember
                       to reset the key named <return>deleted</return>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dbase_delete_record()</strong>
   * <strong>dbase_replace_record()</strong>


id: dbase_close
type: function
doc:
<comment>Description:</comment>
  Closes a database
  
  Closes the given database resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dbase_open()</strong>
   * <strong>dbase_create()</strong>


id: dbase_create
type: function
doc:
<comment>Description:</comment>
  Creates a database
  
  <strong>dbase_create()</strong> creates a dBase database with the given definition. If the file already exists, it
  is not truncated. <strong>dbase_pack()</strong> can be called to force truncation.
  
  Această funcție este afectată de
  open_basedir.

<comment>Param:</comment>
  <info>string</info>  <strong>$path  </strong>  The path of the database. It can be a relative or absolute path to the file where
                   dBase will store your data.
  <info>array </info>  <strong>$fields</strong>  An array of arrays, each array describing the format of one field of the
                   database. Each field consists of a name, a character indicating the field type,
                   and optionally, a length, a precision and a nullable flag. The supported field
                   types are listed in the introduction section.
                   
                   The fieldnames are limited in length and must not exceed 10 chars.
  <info>int   </info>  <strong>$type  </strong>  The type of database to be created. Either <info>DBASE_TYPE_DBASE</info> or <info>DBASE_TYPE_FOXPRO</info>.

<comment>Return:</comment>
  <info>resource</info>  Returns a database resource if the database is successfully created, or <info>false</info> if an
            error occurred.

<comment>See Also:</comment>
   * <strong>dbase_open()</strong>
   * <strong>dbase_close()</strong>


id: dbase_delete_record
type: function
doc:
<comment>Description:</comment>
  Deletes a record from a database
  
  Marks the given record to be deleted from the database.
  
  To actually remove the record from the database, you must also call <strong>dbase_pack()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>int     </info>  <strong>$number  </strong>  An integer which spans from 1 to the number of records in the database (as
                       returned by <strong>dbase_numrecords()</strong>).

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dbase_add_record()</strong>
   * <strong>dbase_replace_record()</strong>


id: dbase_get_header_info
type: function
doc:
<comment>Description:</comment>
  Gets the header info of a database
  
  Returns information on the column structure of the given database resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>array</info>  An indexed array with an entry for each column in the database. The array index starts at
         0.
         
         Each array element contains an associative array of column information, as described here:
         name The name of the column type The human-readable name for the dbase type of the column
         (i.e. date, boolean, etc.) The supported field types are listed in the introduction
         section. length The number of bytes this column can hold precision The number of digits of
         decimal precision for the column format A suggested <strong>printf()</strong> format specifier for the
         column offset The byte offset of the column from the start of the row
         
         The name of the column
         
         The human-readable name for the dbase type of the column (i.e. date, boolean, etc.) The
         supported field types are listed in the introduction section.
         
         The number of bytes this column can hold
         
         The number of digits of decimal precision for the column
         
         A suggested <strong>printf()</strong> format specifier for the column
         
         The byte offset of the column from the start of the row
         
         If the database header information cannot be read, <info>false</info> is returned.


id: dbase_get_record
type: function
doc:
<comment>Description:</comment>
  Gets a record from a database as an indexed array
    
  
  Gets a record from a database as an indexed array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>int     </info>  <strong>$number  </strong>  The index of the record between <return>1</return> and <return>dbase_numrecords($dbase_identifier)</return>.

<comment>Return:</comment>
  <info>array</info>  An indexed array with the record. This array will also include an associative key named
         <return>deleted</return> which is set to 1 if the record has been  marked for deletion (see
         <strong>dbase_delete_record()</strong>).
         
         Fiecare câmp este convertit în tipul PHP corespunzător cu excepția:  Datele rămân ca șiruri
         de caractere.  Valorile DateTime sunt convertite în șiruri de caractere.  Valorile întregi
         din afara domeniului <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> sunt întoarse ca șiruri de caractere.
         Anterior dbase 7.0.0, valorile boolean-e (<return>L</return>) erau convertite în <return>1</return> sau <return>0</return>.
         
         Datele rămân ca șiruri de caractere.
         
         Valorile DateTime sunt convertite în șiruri de caractere.
         
         Valorile întregi din afara domeniului <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> sunt întoarse ca șiruri de
         caractere.
         
         Anterior dbase 7.0.0, valorile boolean-e (<return>L</return>) erau convertite în <return>1</return> sau <return>0</return>.
         
         On error, <strong>dbase_get_record()</strong> will return <info>false</info>.

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


id: dbase_get_record_with_names
type: function
doc:
<comment>Description:</comment>
  Gets a record from a database as an associative array
    
  
  Gets a record from a dBase database as an associative array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>        </info>  <strong>$_number </strong>  The index of the record between <return>1</return> and <return>dbase_numrecords($dbase_identifier)</return>.

<comment>Return:</comment>
  <info>array</info>  An associative array with the record. This will also include a key named  <return>deleted</return> which is
         set to 1 if the record has been marked for deletion (see <strong>dbase_delete_record()</strong>). Therefore
         it is not possible to retrieve the value of a field named <return>deleted</return> with this function.
         
         Fiecare câmp este convertit în tipul PHP corespunzător cu excepția:  Datele rămân ca șiruri
         de caractere.  Valorile DateTime sunt convertite în șiruri de caractere.  Valorile întregi
         din afara domeniului <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> sunt întoarse ca șiruri de caractere.
         Anterior dbase 7.0.0, valorile boolean-e (<return>L</return>) erau convertite în <return>1</return> sau <return>0</return>.
         
         Datele rămân ca șiruri de caractere.
         
         Valorile DateTime sunt convertite în șiruri de caractere.
         
         Valorile întregi din afara domeniului <info>PHP_INT_MIN</info>..<info>PHP_INT_MAX</info> sunt întoarse ca șiruri de
         caractere.
         
         Anterior dbase 7.0.0, valorile boolean-e (<return>L</return>) erau convertite în <return>1</return> sau <return>0</return>.
         
         On error, <strong>dbase_get_record_with_names()</strong> will return <info>false</info>.

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


id: dbase_numfields
type: function
doc:
<comment>Description:</comment>
  Gets the number of fields of a database
  
  Gets the number of fields (columns) in the specified database.
  
  Field numbers are between 0 and <return>dbase_numfields($db)-1</return>, while record numbers are between 1 and
  <return>dbase_numrecords($db)</return>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>int</info>  The number of fields in the database, or <info>false</info> if an error occurs.

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


id: dbase_numrecords
type: function
doc:
<comment>Description:</comment>
  Gets the number of records in a database
  
  Gets the number of records (rows) in the specified database.
  
  Records which are marked as deleted are counted as well.
  
  Record numbers are between 1 and <return>dbase_numrecords($db)</return>, while field numbers are between 0 and
  <return>dbase_numfields($db)-1</return>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>int</info>  The number of records in the database, or <info>false</info> if an error occurs.

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


id: dbase_open
type: function
doc:
<comment>Description:</comment>
  Opens a database
  
  <strong>dbase_open()</strong> opens a dBase database with the given access mode.
  
  Această funcție este afectată de
  open_basedir.

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>  The path of the database. It can be a relative or absolute path to the file where
                 dBase will store your data.
  <info>int   </info>  <strong>$mode</strong>  An integer which correspond to those for the open()  system call (Typically 0 means
                 read-only, 1 means write-only, and 2  means read and write).
                 
                 You can't open a dBase file in write-only mode as the function will fail to read
                 the headers information and thus you can't use 1 as <strong>$mode</strong>.
                 
                 As of dbase 7.0.0 you can use <info>DBASE_RDONLY</info> and <info>DBASE_RDWR</info>, respectively, to specify
                 the <strong>$mode</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a database resource on success,  sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dbase_create()</strong>
   * <strong>dbase_close()</strong>


id: dbase_pack
type: function
doc:
<comment>Description:</comment>
  Packs a database
  
  Packs the specified database by permanently deleting all records marked for deletion using
  <strong>dbase_delete_record()</strong>. Note that the file will be truncated after successful packing (contrary to
  dBASE III's PACK command).

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: dbase_replace_record
type: function
doc:
<comment>Description:</comment>
  Replaces a record in a database
  
  Replaces the given record in the database with the given data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$database</strong>  The database resource, returned by <strong>dbase_open()</strong> or <strong>dbase_create()</strong>.
  <info>array   </info>  <strong>$data    </strong>  An indexed array of data. The number of items must be equal to the number of
                       fields in the database, otherwise <strong>dbase_replace_record()</strong> will fail.
                       
                       If you're using <strong>dbase_get_record()</strong> return value for this parameter, remember
                       to reset the key named <return>deleted</return>.
  <info>int     </info>  <strong>$number  </strong>  An integer which spans from 1 to the number of records in the database (as
                       returned by <strong>dbase_numrecords()</strong>).

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>dbase_add_record()</strong>
   * <strong>dbase_delete_record()</strong>


id: dbplus_add
type: function
doc:
<comment>Description:</comment>
  Add a tuple to a relation
  
  Adds a tuple to a <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  
  <info>array   </info>  <strong>$tuple   </strong>  An array of attribute/value pairs to be inserted into the given <strong>$relation</strong>.
                       
                       After successful execution this array will contain the complete data of the
                       newly created tuple, including all implicitly set domain fields like
                       sequences.

<comment>Return:</comment>
  <info>int</info>  The function will return <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

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


id: dbplus_aql
type: function
doc:
<comment>Description:</comment>
  Perform AQL query
  
  Executes an AQL <strong>$query</strong> on the given <strong>$server</strong> and <strong>$dbpath</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$query </strong>  The AQL query to be executed. Further information on the AQL (Algebraic Query
                   Language) is provided in the original db++ manual.
  <info>string</info>  <strong>$server</strong>  
  <info>string</info>  <strong>$dbpath</strong>  

<comment>Return:</comment>
  <info>resource</info>  Returns a relation handle on success. The result data may be fetched from this relation
            by calling <strong>dbplus_next()</strong> and <strong>dbplus_curr()</strong>. Other relation access functions will not
            work on a result relation.


id: dbplus_chdir
type: function
doc:
<comment>Description:</comment>
  Get/Set database virtual current directory
  
  Changes the virtual current directory where relation files will be looked for by <strong>dbplus_open()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$newdir</strong>  The new directory for relation files. You can omit this parameter to query the
                   current working directory.

<comment>Return:</comment>
  <info>string</info>  Returns the absolute path of the current directory.


id: dbplus_close
type: function
doc:
<comment>Description:</comment>
  Close a relation
  
  Closes a relation previously opened by <strong>dbplus_open()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

<comment>Return:</comment>
  <info>mixed</info>  Returns <info>true</info> on success or <info>DBPLUS_ERR_UNKNOWN</info> on failure.


id: dbplus_curr
type: function
doc:
<comment>Description:</comment>
  Get current tuple from relation
  
  Reads the data for the current tuple for the given <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  The data will be passed back in this parameter, as an associative array.

<comment>Return:</comment>
  <info>int</info>  The function will return zero (aka. <info>DBPLUS_ERR_NOERR</info>) on success or a db++ error code on
       failure.

<comment>See Also:</comment>
   * <strong>dbplus_first()</strong>
   * <strong>dbplus_prev()</strong>
   * <strong>dbplus_next()</strong>
   * <strong>dbplus_last()</strong>
   * <strong>dbplus_errcode()</strong>


id: dbplus_errcode
type: function
doc:
<comment>Description:</comment>
  Get error string for given errorcode or last error
  
  Returns a clear error string for the given error code.

<comment>Param:</comment>
  <info>int</info>  <strong>$errno</strong>  The error code. If not provided, the result code of the last db++ operation is
               assumed.

<comment>Return:</comment>
  <info>string</info>  Returns the error message.


id: dbplus_errno
type: function
doc:
<comment>Description:</comment>
  Get error code for last operation
  
  Returns the error code returned by the last db++ operation.

<comment>Return:</comment>
  <info>int</info>  Returns the error code, as an integer.

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


id: dbplus_find
type: function
doc:
<comment>Description:</comment>
  Set a constraint on a relation
  
  Places a constraint on the given <strong>$relation</strong>.
  
  Further calls to functions like <strong>dbplus_curr()</strong> or <strong>dbplus_next()</strong> will only return tuples matching
  the given constraints.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation   </strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$constraints</strong>  Constraints are triplets of strings containing of a domain name, a
                          comparison operator and a comparison value. The <strong>$constraints</strong> parameter
                          array may consist of a collection of string arrays, each of which contains
                          a domain, an operator and a value, or of a single string array containing
                          a multiple of three elements.
                          
                          The comparison operator may be one of the following strings: '==', '&gt;',
                          '&gt;=', '\<', '\<=', '!=', '~' for a regular expression match and 'BAND' or 'BOR' for bitwise operations.
  <info>mixed   </info>  <strong>$tuple      </strong>  

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

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


id: dbplus_first
type: function
doc:
<comment>Description:</comment>
  Get first tuple from relation
  
  Reads the data for the first tuple for the given <strong>$relation</strong>, makes it the current tuple and pass it
  back as an associative array in <strong>$tuple</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

<comment>See Also:</comment>
   * <strong>dbplus_curr()</strong>
   * <strong>dbplus_prev()</strong>
   * <strong>dbplus_next()</strong>
   * <strong>dbplus_last()</strong>
   * <strong>dbplus_errcode()</strong>


id: dbplus_flush
type: function
doc:
<comment>Description:</comment>
  Flush all changes made on a relation
  
  Writes all changes applied to <strong>$relation</strong> since the last flush to disk.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

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


id: dbplus_freealllocks
type: function
doc:
<comment>Description:</comment>
  Free all locks held by this client
  
  Frees all tuple locks held by this client.

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

<comment>See Also:</comment>
   * <strong>dbplus_getlock()</strong>
   * <strong>dbplus_freelock()</strong>
   * <strong>dbplus_freerlocks()</strong>


id: dbplus_freelock
type: function
doc:
<comment>Description:</comment>
  Release write lock on tuple
  
  Releases a write lock on the given <strong>$tuple</strong> previously obtained by <strong>dbplus_getlock()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>string  </info>  <strong>$tuple   </strong>  

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

<comment>See Also:</comment>
   * <strong>dbplus_getlock()</strong>
   * <strong>dbplus_freerlocks()</strong>
   * <strong>dbplus_freealllocks()</strong>


id: dbplus_freerlocks
type: function
doc:
<comment>Description:</comment>
  Free all tuple locks on given relation
  
  Frees all tuple locks held on the given <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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

<comment>See Also:</comment>
   * <strong>dbplus_getlock()</strong>
   * <strong>dbplus_freelock()</strong>
   * <strong>dbplus_freealllocks()</strong>


id: dbplus_getlock
type: function
doc:
<comment>Description:</comment>
  Get a write lock on a tuple
  
  Requests a write lock on the specified <strong>$tuple</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>string  </info>  <strong>$tuple   </strong>  

<comment>Return:</comment>
  <info>int</info>  Returns zero on success or a non-zero error code, especially  <info>DBPLUS_ERR_WLOCKED</info> on failure.

<comment>See Also:</comment>
   * <strong>dbplus_freelock()</strong>
   * <strong>dbplus_freerlocks()</strong>
   * <strong>dbplus_freealllocks()</strong>


id: dbplus_getunique
type: function
doc:
<comment>Description:</comment>
  Get an id number unique to a relation
  
  Obtains a number guaranteed to be unique for the given <strong>$relation</strong> and will pass it back in the
  variable given as <strong>$uniqueid</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>int     </info>  <strong>$uniqueid</strong>  

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.


id: dbplus_info
type: function
doc:
<comment>Description:</comment>
  Get information about a relation
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>string  </info>  <strong>$key     </strong>  
  <info>array   </info>  <strong>$result  </strong>  

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


id: dbplus_last
type: function
doc:
<comment>Description:</comment>
  Get last tuple from relation
  
  Reads the data for the last tuple for the given <strong>$relation</strong>, makes it the current tuple and pass it
  back as an associative array in <strong>$tuple</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

<comment>See Also:</comment>
   * <strong>dbplus_first()</strong>
   * <strong>dbplus_curr()</strong>
   * <strong>dbplus_prev()</strong>
   * <strong>dbplus_next()</strong>


id: dbplus_lockrel
type: function
doc:
<comment>Description:</comment>
  Request write lock on relation
  
  Requests a write lock on the given <strong>$relation</strong>.
  
  Other clients may still query the relation, but can't alter it while it is locked.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_next
type: function
doc:
<comment>Description:</comment>
  Get next tuple from relation
  
  Reads the data for the next tuple for the given <strong>$relation</strong>, makes it the current tuple and will
  pass it back as an associative array in <strong>$tuple</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

<comment>See Also:</comment>
   * <strong>dbplus_first()</strong>
   * <strong>dbplus_curr()</strong>
   * <strong>dbplus_prev()</strong>
   * <strong>dbplus_last()</strong>


id: dbplus_open
type: function
doc:
<comment>Description:</comment>
  Open relation file
  
  Opens the given relation file.

<comment>Param:</comment>
  <info>string</info>  <strong>$name</strong>  Can be either a file name or a relative or absolute path name. This will be mapped
                 in any case to an absolute relation file path on a specific host machine and
                 server.

<comment>Return:</comment>
  <info>resource</info>  On success a relation file resource (cursor) is returned which must be used in any
            subsequent commands referencing the relation. Failure leads to a zero return value, the
            actual error code may be asked for by calling <strong>dbplus_errno()</strong>.


id: dbplus_prev
type: function
doc:
<comment>Description:</comment>
  Get previous tuple from relation
  
  Reads the data for the previous tuple for the given <strong>$relation</strong>, makes it the current tuple and will
  pass it back as an associative array in <strong>$tuple</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  

<comment>Return:</comment>
  <info>int</info>  Returns <info>DBPLUS_ERR_NOERR</info> on success or a db++ error code on failure.

<comment>See Also:</comment>
   * <strong>dbplus_first()</strong>
   * <strong>dbplus_curr()</strong>
   * <strong>dbplus_next()</strong>
   * <strong>dbplus_last()</strong>


id: dbplus_rchperm
type: function
doc:
<comment>Description:</comment>
  Change relation permissions
  
  Changes access permissions as specified by <strong>$mask</strong>, <strong>$user</strong> and <strong>$group</strong>. The values for these are
  operating system specific.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>int     </info>  <strong>$mask    </strong>  
  <info>string  </info>  <strong>$user    </strong>  
  <info>string  </info>  <strong>$group   </strong>  

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


id: dbplus_rcreate
type: function
doc:
<comment>Description:</comment>
  Creates a new DB++ relation
  
  Creates a new relation. Any existing relation sharing the same <strong>$name</strong> will be overwritten if the
  relation is currently not in use and <strong>$overwrite</strong> is set to TRUE.

<comment>Param:</comment>
  <info>string</info>  <strong>$name     </strong>  
  <info>mixed </info>  <strong>$domlist  </strong>  A combination of domains. May be passed as a single domain name string or as
                      an array of domain names.
                      
                      This parameter should contain the domain specification for the new relation
                      within an array of domain description strings. A domain description string
                      consists of a domain name unique to this relation, a slash and a type
                      specification character. See the db++ documentation, especially the
                      dbcreate(1) manpage, for a description of available type specifiers and their
                      meanings.
                      
                      This function will also accept a string with space delimited domain
                      description strings, but it is recommended to use an array
  <info>bool  </info>  <strong>$overwrite</strong>  

<comment>Return:</comment>
  <info>resource</info>  


id: dbplus_rcrtexact
type: function
doc:
<comment>Description:</comment>
  Creates an exact but empty copy of a relation including indices
  
  <strong>dbplus_rcrtexact()</strong> will create an exact but empty copy of the given <strong>$relation</strong> under a new <strong>$name</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$name     </strong>  
  <info>resource</info>  <strong>$relation </strong>  The copied relation, opened by <strong>dbplus_open()</strong>.
  <info>bool    </info>  <strong>$overwrite</strong>  An existing relation by the same <strong>$name</strong> will only be overwritten if this
                        parameter is set to <info>true</info> and no other process is currently using the
                        relation.

<comment>Return:</comment>
  <info>mixed</info>  Returns resource on success or <info>DBPLUS_ERR_UNKNOWN</info> on failure.


id: dbplus_rcrtlike
type: function
doc:
<comment>Description:</comment>
  Creates an empty copy of a relation with default indices
  
  <strong>dbplus_rcrtexact()</strong> will create an  empty copy of the given <strong>$relation</strong> under a new <strong>$name</strong>, but with
  default indices.

<comment>Param:</comment>
  <info>string  </info>  <strong>$name     </strong>  
  <info>resource</info>  <strong>$relation </strong>  The copied relation, opened by <strong>dbplus_open()</strong>.
  <info>int     </info>  <strong>$overwrite</strong>  An existing relation by the same <strong>$name</strong> will only be overwritten if this
                        parameter is set to <info>true</info> and no other process is currently using the
                        relation.

<comment>Return:</comment>
  <info>mixed</info>  Returns resource on success or <info>DBPLUS_ERR_UNKNOWN</info> on failure.


id: dbplus_resolve
type: function
doc:
<comment>Description:</comment>
  Resolve host information for relation
  
  <strong>dbplus_resolve()</strong> will try to resolve the given <strong>$relation_name</strong> and find out internal server id,
  real hostname and the database path on this host.

<comment>Param:</comment>
  <info>string</info>  <strong>$relation_name</strong>  The relation name.

<comment>Return:</comment>
  <info>array</info>  Returns an array containing these values under the keys <return>sid</return>, <return>host</return> and <return>host_path</return> or <info>false</info> on
         error.

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


id: dbplus_restorepos
type: function
doc:
<comment>Description:</comment>
  Restore position
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  

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


id: dbplus_rkeys
type: function
doc:
<comment>Description:</comment>
  Specify new primary key for a relation
  
  <strong>dbplus_rkeys()</strong> will replace the current primary key for <strong>$relation</strong> with the combination of domains
  specified by <strong>$domlist</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>mixed   </info>  <strong>$domlist </strong>  A combination of domains. May be passed as a single domain name string or as
                       an array of domain names.

<comment>Return:</comment>
  <info>mixed</info>  Returns resource on success or <info>DBPLUS_ERR_UNKNOWN</info> on failure.


id: dbplus_ropen
type: function
doc:
<comment>Description:</comment>
  Open relation file local
  
  <strong>dbplus_ropen()</strong> will open the relation <strong>$file</strong> locally for quick access without any client/server
  overhead. Access is read only and only <strong>dbplus_curr()</strong> and <strong>dbplus_next()</strong> may be applied to the
  returned relation.

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

<comment>Return:</comment>
  <info>resource</info>  


id: dbplus_rquery
type: function
doc:
<comment>Description:</comment>
  Perform local (raw) AQL query
  
  <strong>dbplus_rquery()</strong> performs a local (raw) AQL query using an AQL interpreter embedded into the db++
  client library. <strong>dbplus_rquery()</strong> is faster than <strong>dbplus_aql()</strong> but will work on local data only.

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

<comment>Return:</comment>
  <info>resource</info>  


id: dbplus_rrename
type: function
doc:
<comment>Description:</comment>
  Rename a relation
  
  <strong>dbplus_rrename()</strong> will change the name of <strong>$relation</strong> to <strong>$name</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>string  </info>  <strong>$name    </strong>  

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


id: dbplus_rsecindex
type: function
doc:
<comment>Description:</comment>
  Create a new secondary index for a relation
  
  <strong>dbplus_rsecindex()</strong> will create a new secondary index for <strong>$relation</strong> with consists of the domains
  specified by <strong>$domlist</strong> and is of type <strong>$type</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>mixed   </info>  <strong>$domlist </strong>  A combination of domains. May be passed as a single domain name string or as
                       an array of domain names.
  <info>int     </info>  <strong>$type    </strong>  

<comment>Return:</comment>
  <info>mixed</info>  Returns resource on success or <info>DBPLUS_ERR_UNKNOWN</info> on failure.


id: dbplus_runlink
type: function
doc:
<comment>Description:</comment>
  Remove relation from filesystem
  
  <strong>dbplus_runlink()</strong> will close and remove the <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_rzap
type: function
doc:
<comment>Description:</comment>
  Remove all tuples from relation
  
  <strong>dbplus_rzap()</strong> will remove all tuples from <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_savepos
type: function
doc:
<comment>Description:</comment>
  Save position
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_setindex
type: function
doc:
<comment>Description:</comment>
  Set index
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>string  </info>  <strong>$idx_name</strong>  

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


id: dbplus_setindexbynumber
type: function
doc:
<comment>Description:</comment>
  Set index by number
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation  </strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>int     </info>  <strong>$idx_number</strong>  

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


id: dbplus_sql
type: function
doc:
<comment>Description:</comment>
  Perform SQL query
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>string</info>  <strong>$query </strong>  
  <info>string</info>  <strong>$server</strong>  
  <info>string</info>  <strong>$dbpath</strong>  

<comment>Return:</comment>
  <info>resource</info>  


id: dbplus_tcl
type: function
doc:
<comment>Description:</comment>
  Execute TCL code on server side
  
  A db++ server will prepare a TCL interpreter for each client connection. This interpreter will
  enable the server to execute TCL code provided by the client as a sort of stored procedures to
  improve the performance of database operations by avoiding client/server data transfers and
  context switches.
  
  <strong>dbplus_tcl()</strong> needs to pass the client connection id the TCL <strong>$script</strong> code should be executed by.
  <strong>dbplus_resolve()</strong> will provide this connection id. The function will return whatever the TCL code
  returns or a TCL error message if the TCL code fails.

<comment>Param:</comment>
  <info>int   </info>  <strong>$sid   </strong>  
  <info>string</info>  <strong>$script</strong>  

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

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


id: dbplus_tremove
type: function
doc:
<comment>Description:</comment>
  Remove tuple and return new current tuple
  
  <strong>dbplus_tremove()</strong> removes <strong>$tuple</strong> from <strong>$relation</strong> if it perfectly matches a tuple within the
  relation. <strong>$current</strong>, if given, will contain the data of the new current tuple after calling
  <strong>dbplus_tremove()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$tuple   </strong>  
  <info>array   </info>  <strong>$current </strong>  

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


id: dbplus_undo
type: function
doc:
<comment>Description:</comment>
  Undo
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_undoprepare
type: function
doc:
<comment>Description:</comment>
  Prepare undo
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_unlockrel
type: function
doc:
<comment>Description:</comment>
  Give up write lock on relation
  
  Release a write lock previously obtained by <strong>dbplus_lockrel()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_unselect
type: function
doc:
<comment>Description:</comment>
  Remove a constraint from relation
  
  Calling <strong>dbplus_unselect()</strong> will remove a constraint previously set by <strong>dbplus_find()</strong> on <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbplus_update
type: function
doc:
<comment>Description:</comment>
  Update specified tuple in relation
  
  <strong>dbplus_update()</strong> replaces the <strong>$old</strong> tuple with the data from the <strong>$new</strong> one, only if the <strong>$old</strong>
  completely matches a tuple within <strong>$relation</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.
  <info>array   </info>  <strong>$old     </strong>  The old tuple.
  <info>array   </info>  <strong>$new     </strong>  The new tuple.

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


id: dbplus_xlockrel
type: function
doc:
<comment>Description:</comment>
  Request exclusive lock on relation
  
  Request an exclusive lock on <strong>$relation</strong> preventing even read access from other clients.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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

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


id: dbplus_xunlockrel
type: function
doc:
<comment>Description:</comment>
  Free exclusive lock on relation
  
  Releases an exclusive lock previously obtained by <strong>dbplus_xlockrel()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$relation</strong>  A relation opened by <strong>dbplus_open()</strong>.

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


id: dbx_close
type: function
doc:
<comment>Description:</comment>
  Close an open connection/database

<comment>Param:</comment>
  <info>object</info>  <strong>$link_identifier</strong>  The DBX link object to close.

<comment>Return:</comment>
  <info>int</info>  Returns 1 on success and 0 on errors.

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


id: dbx_compare
type: function
doc:
<comment>Description:</comment>
  Compare two rows for sorting purposes
  
  <strong>dbx_compare()</strong> is a helper function for  <strong>dbx_sort()</strong> to ease the make and use of the custom  sorting
  function.

<comment>Param:</comment>
  <info>array </info>  <strong>$row_a     </strong>  First row
  <info>array </info>  <strong>$row_b     </strong>  Second row
  <info>string</info>  <strong>$column_key</strong>  The compared column
  <info>int   </info>  <strong>$flags     </strong>  The <strong>$flags</strong> can be set to specify comparison direction:  <info>DBX_CMP_ASC</info> -
                       ascending order <info>DBX_CMP_DESC</info> - descending order  and the preferred comparison
                       type: <info>DBX_CMP_NATIVE</info> - no type conversion <info>DBX_CMP_TEXT</info> - compare items as
                       strings <info>DBX_CMP_NUMBER</info> - compare items numerically  One of the direction and
                       one of the type constant can be combined with bitwise OR operator (|).
                       
                       <info>DBX_CMP_ASC</info> - ascending order
                       
                       <info>DBX_CMP_DESC</info> - descending order
                       
                       <info>DBX_CMP_NATIVE</info> - no type conversion
                       
                       <info>DBX_CMP_TEXT</info> - compare items as strings
                       
                       <info>DBX_CMP_NUMBER</info> - compare items numerically

<comment>Return:</comment>
  <info>int</info>  Returns <return>0</return> if the <return>row_a[$column_key]</return> is equal to <return>row_b[$column_key]</return>, and <return>1</return> or <return>-1</return> if the former
       is greater or is smaller than the  latter one, respectively, or vice versa if the <strong>$flag</strong>  is
       set to <info>DBX_CMP_DESC</info>.

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


id: dbx_connect
type: function
doc:
<comment>Description:</comment>
  Open a connection/database
  
  Opens a connection to a database.

<comment>Param:</comment>
  <info>mixed </info>  <strong>$module    </strong>  The <strong>$module</strong> parameter can be either a string or a constant, though the latter
                       form is preferred. The possible values are  given below, but keep in mind
                       that they only work if the module is  actually loaded.
                       
                       <info>DBX_MYSQL</info> or <return>"mysql"</return> <info>DBX_ODBC</info> or <return>"odbc"</return> <info>DBX_PGSQL</info> or <return>"pgsql"</return> <info>DBX_MSSQL</info> or
                       <return>"mssql"</return> <info>DBX_FBSQL</info> or <return>"fbsql"</return> <info>DBX_SYBASECT</info> or <return>"sybase_ct"</return> <info>DBX_OCI8</info> or <return>"oci8"</return>
                       <info>DBX_SQLITE</info> or <return>"sqlite"</return>
                       
                       <info>DBX_MYSQL</info> or <return>"mysql"</return>
                       
                       <info>DBX_ODBC</info> or <return>"odbc"</return>
                       
                       <info>DBX_PGSQL</info> or <return>"pgsql"</return>
                       
                       <info>DBX_MSSQL</info> or <return>"mssql"</return>
                       
                       <info>DBX_FBSQL</info> or <return>"fbsql"</return>
                       
                       <info>DBX_SYBASECT</info> or <return>"sybase_ct"</return>
                       
                       <info>DBX_OCI8</info> or <return>"oci8"</return>
                       
                       <info>DBX_SQLITE</info> or <return>"sqlite"</return>
  <info>string</info>  <strong>$host      </strong>  The SQL server host
  <info>string</info>  <strong>$database  </strong>  The database name
  <info>string</info>  <strong>$username  </strong>  The username
  <info>string</info>  <strong>$password  </strong>  The password
  <info>int   </info>  <strong>$persistent</strong>  The <strong>$persistent</strong> parameter can be set to  <info>DBX_PERSISTENT</info>, if so, a persistent
                       connection will be created.

<comment>Return:</comment>
  <info>object</info>  Returns an object on success, <info>false</info> on error. If a connection has been made but the
          database could not be selected, the connection is closed and <info>false</info> is returned.
          
          The returned object has three properties: database It is the name of the currently
          selected database.  handle It is a valid handle for the connected database, and as such it
          can be used in module-specific functions (if required). handle); // dbx_close($link) would
          be better here
          ?>
          ]]> module It is used internally by dbx only, and is actually the module number mentioned
          above.
          
          It is the name of the currently selected database.
          
          It is a valid handle for the connected database, and as such it can be used in
          module-specific functions (if required). handle); // dbx_close($link) would be better here
          ?>
          ]]>
          
          It is used internally by dbx only, and is actually the module number mentioned above.

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


id: dbx_error
type: function
doc:
<comment>Description:</comment>
  Report the error message of the latest function call in the module
    
  
  <strong>dbx_error()</strong> returns the last error message.

<comment>Param:</comment>
  <info>object</info>  <strong>$link_identifier</strong>  The DBX link object returned by <strong>dbx_connect()</strong>

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the error message from the last function call of the
          abstracted module (e.g. mysql module). If there are multiple  connections in the same
          module, just the last error is given. If there are connections on different modules, the
          latest error is returned for the  module specified by the <strong>$link_identifier</strong> parameter.


id: dbx_escape_string
type: function
doc:
<comment>Description:</comment>
  Escape a string so it can safely be used in an sql-statement
    
  
  Escape the given string so that it can safely be used in an sql-statement.

<comment>Param:</comment>
  <info>object</info>  <strong>$link_identifier</strong>  The DBX link object returned by <strong>dbx_connect()</strong>
  <info>string</info>  <strong>$text           </strong>  The string to escape.

<comment>Return:</comment>
  <info>string</info>  Returns the text, escaped where necessary (such as quotes, backslashes etc). On error,
          <info>null</info> is returned.

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


id: dbx_fetch_row
type: function
doc:
<comment>Description:</comment>
  Fetches rows from a query-result that had the 
    DBX_RESULT_UNBUFFERED flag set
  
  <strong>dbx_fetch_row()</strong> fetches rows from a result identifier that had the <info>DBX_RESULT_UNBUFFERED</info> flag set.
  
  When the <info>DBX_RESULT_UNBUFFERED</info> is not set in the  query, <strong>dbx_fetch_row()</strong> will fail as all rows
  have  already been fetched into the results data property.
  
  As a side effect, the rows property of the query-result object is incremented for each successful
  call to  <strong>dbx_fetch_row()</strong>.

<comment>Param:</comment>
  <info>object</info>  <strong>$result_identifier</strong>  A result set returned by <strong>dbx_query()</strong>.

<comment>Return:</comment>
  <info>mixed</info>  Returns an object on success that contains the same information as any row would have in
         the <strong>dbx_query()</strong> result  data property, including columns accessible by index  or fieldname
         when the flags for <strong>dbx_query()</strong> were set that way.
         
         Upon failure, returns <return>0</return> (e.g. when no more rows are available).

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


id: dbx_query
type: function
doc:
<comment>Description:</comment>
  Send a query and fetch all results (if any)
  
  Sends a query and fetch all results.

<comment>Param:</comment>
  <info>object</info>  <strong>$link_identifier</strong>  The DBX link object returned by <strong>dbx_connect()</strong>
  <info>string</info>  <strong>$sql_statement  </strong>  SQL statement.
                            
                            Data inside the query should be properly escaped.
  <info>int   </info>  <strong>$flags          </strong>  The <strong>$flags</strong> parameter is used to control the amount of information that
                            is returned. It may be any combination of the following  constants with
                            the bitwise OR operator (|). The DBX_COLNAMES_* flags  override the
                            dbx.colnames_case setting from php.ini. <info>DBX_RESULT_INDEX</info> It is always
                            set, that is, the returned object  has a data property which is a 2
                            dimensional array indexed numerically. For example, in the expression
                            <return>data[2][3]</return> <return>2</return> stands for the row (or record) number and <return>3</return> stands for the
                            column  (or field) number. The first row and column are indexed at 0.
                            If <info>DBX_RESULT_ASSOC</info> is also specified, the  returning object contains
                            the information related to  <info>DBX_RESULT_INFO</info> too, even if it was not
                            specified.  <info>DBX_RESULT_INFO</info> It provides info about columns, such as
                            field names and field types. <info>DBX_RESULT_ASSOC</info> It effects that the field
                            values can be accessed with the respective  column names used as keys to
                            the returned object's  data property.  Associated results are actually
                            references to the numerically indexed  data, so modifying <return>data[0][0]</return>
                            causes that <return>data[0]['field_name_for_first_column']</return> is modified as well.
                            <info>DBX_RESULT_UNBUFFERED</info> This flag will not create the data property, and
                            the rows property will initially be 0. Use this  flag for large
                            datasets, and use <strong>dbx_fetch_row()</strong> to retrieve the results row by row.
                            The <strong>dbx_fetch_row()</strong> function will return rows that are conformant to the
                            flags set with this query. Incidentally, it will also update the rows
                            each time it is called. <info>DBX_COLNAMES_UNCHANGED</info> The case of the returned
                            column names will not be changed. <info>DBX_COLNAMES_UPPERCASE</info> The case of the
                            returned column names will be changed to  uppercase.
                            <info>DBX_COLNAMES_LOWERCASE</info> The case of the returned column names will be
                            changed to  lowercase.  Note that <info>DBX_RESULT_INDEX</info> is always used,
                            regardless  of the actual value of <strong>$flags</strong> parameter. This means  that
                            only the following combinations are effective:
                            <info>DBX_RESULT_INDEX</info><info>DBX_RESULT_INDEX</info> | <info>DBX_RESULT_INFO</info> <info>DBX_RESULT_INDEX</info> |
                            <info>DBX_RESULT_INFO</info> | <info>DBX_RESULT_ASSOC</info> - this is the default, if  <strong>$flags</strong> is
                            not specified.
                            
                            It is always set, that is, the returned object  has a data property
                            which is a 2 dimensional array indexed numerically. For example, in the
                            expression  <return>data[2][3]</return> <return>2</return> stands for the row (or record) number and <return>3</return>
                            stands for the column  (or field) number. The first row and column are
                            indexed at 0.
                            
                            If <info>DBX_RESULT_ASSOC</info> is also specified, the  returning object contains
                            the information related to  <info>DBX_RESULT_INFO</info> too, even if it was not
                            specified.
                            
                            It provides info about columns, such as field names and field types.
                            
                            It effects that the field values can be accessed with the respective
                            column names used as keys to the returned object's  data property.
                            
                            Associated results are actually references to the numerically indexed
                            data, so modifying <return>data[0][0]</return> causes that
                            <return>data[0]['field_name_for_first_column']</return> is modified as well.
                            
                            This flag will not create the data property, and  the rows property will
                            initially be 0. Use this  flag for large datasets, and use
                            <strong>dbx_fetch_row()</strong> to retrieve the results row by row.
                            
                            The <strong>dbx_fetch_row()</strong> function will return rows that are conformant to the
                            flags set with this query. Incidentally, it will also update the rows
                            each time it is called.
                            
                            The case of the returned column names will not be changed.
                            
                            The case of the returned column names will be changed to  uppercase.
                            
                            The case of the returned column names will be changed to  lowercase.
                            
                            <info>DBX_RESULT_INDEX</info>
                            
                            <info>DBX_RESULT_INDEX</info> | <info>DBX_RESULT_INFO</info>
                            
                            <info>DBX_RESULT_INDEX</info> | <info>DBX_RESULT_INFO</info> | <info>DBX_RESULT_ASSOC</info> - this is the
                            default, if  <strong>$flags</strong> is not specified.

<comment>Return:</comment>
  <info>mixed</info>  <strong>dbx_query()</strong> returns an object or <return>1</return>  on success, and <return>0</return> on failure. The result object is
         returned only if the query given in <strong>$sql_statement</strong> produces a result set (i.e. a SELECT
         query, even if the result set is empty).
         
         The returned object has four or five properties depending on <strong>$flags</strong>: handle It is a valid
         handle for the connected database, and as such it can be used in module specific functions
         (if required). handle, 0);
         ?>
         ]]> cols and rows  These contain the number of columns (or fields) and rows (or records)
         respectively. rows; // number of records
         echo $result->cols; // number of fields 
         ?>
         ]]> info (optional)  It is returned only if either <info>DBX_RESULT_INFO</info> or <info>DBX_RESULT_ASSOC</info> is
         specified in the <strong>$flags</strong> parameter. It is a 2 dimensional array, that has two named rows
         (<return>name</return> and  <return>type</return>) to retrieve column information. lists each field's name and typecols; $i++
         ) { echo $result->info['name'][$i] . "\n"; echo $result->info['type'][$i] . "\n";
         }
         ?>
         ]]>data This property contains the actual resulting data, possibly associated  with column
         names as well depending on <strong>$flags</strong>. If <info>DBX_RESULT_ASSOC</info> is set, it is possible to use
         <return>$result-&gt;data[2]["field_name"]</return>. outputs the content of data property into HTML tabledata
         as $row) { echo "\n"; foreach ($row as $field) { echo "$field"; } echo "\n";
         }
         echo "\n";
         ?>
         ]]>How to handle UNBUFFERED queries
         ]]>
         
         It is a valid handle for the connected database, and as such it can be used in module
         specific functions (if required). handle, 0);
         ?>
         ]]>
         
         These contain the number of columns (or fields) and rows (or records) respectively. rows;
         // number of records
         echo $result->cols; // number of fields 
         ?>
         ]]>
         
         It is returned only if either <info>DBX_RESULT_INFO</info> or <info>DBX_RESULT_ASSOC</info> is specified in the
         <strong>$flags</strong> parameter. It is a 2 dimensional array, that has two named rows (<return>name</return> and  <return>type</return>) to
         retrieve column information.
         
         This property contains the actual resulting data, possibly associated  with column names as
         well depending on <strong>$flags</strong>. If <info>DBX_RESULT_ASSOC</info> is set, it is possible to use
         <return>$result-&gt;data[2]["field_name"]</return>.

<comment>See Also:</comment>
   * <strong>dbx_escape_string()</strong>
   * <strong>dbx_fetch_row()</strong>
   * <strong>dbx_connect()</strong>


id: dbx_sort
type: function
doc:
<comment>Description:</comment>
  Sort a result from a dbx_query by a custom sort function
    
  
  Sort a result from a <strong>dbx_query()</strong> call with a custom sort function.

<comment>Param:</comment>
  <info>object</info>  <strong>$result               </strong>  A result set returned by <strong>dbx_query()</strong>.
  <info>string</info>  <strong>$user_compare_function</strong>  The user-defined comparison function. It must accept two arguments
                                  and return an integer less than, equal to, or greater than zero if
                                  the  first argument is considered to be respectively less than,
                                  equal to,  or greater than the second.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: dcgettext
type: function
doc:
<comment>Description:</comment>
  Overrides the domain for a single lookup
  
  This function allows you to override the current domain for a single message lookup.

<comment>Param:</comment>
  <info>string</info>  <strong>$domain  </strong>  The domain
  <info>string</info>  <strong>$message </strong>  The message
  <info>int   </info>  <strong>$category</strong>  The category

<comment>Return:</comment>
  <info>string</info>  A <info>string</info> on success.

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


id: dcngettext
type: function
doc:
<comment>Description:</comment>
  Plural version of dcgettext
  
  This function allows you to override the current domain for a single plural message lookup.

<comment>Param:</comment>
  <info>string</info>  <strong>$domain  </strong>  The domain
  <info>string</info>  <strong>$singular</strong>  
  <info>string</info>  <strong>$plural  </strong>  
  <info>int   </info>  <strong>$count   </strong>  
  <info>int   </info>  <strong>$category</strong>  

<comment>Return:</comment>
  <info>string</info>  A <info>string</info> on success.

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


id: debug_backtrace
type: function
doc:
<comment>Description:</comment>
  Generates a backtrace
  
  <strong>debug_backtrace()</strong> generates a PHP backtrace.

<comment>Param:</comment>
  <info>int</info>  <strong>$options</strong>  As of 5.3.6, this parameter is a bitmask for the following options:
                 <strong>debug_backtrace()</strong> optionsDEBUG_BACKTRACE_PROVIDE_OBJECT Whether or not to populate
                 the "object" index. DEBUG_BACKTRACE_IGNORE_ARGS Whether or not to omit the "args"
                 index, and thus all the function/method arguments, to save memory.  Before 5.3.6,
                 the only values recognized are <info>true</info> or <info>false</info>, which are the same as  setting or not
                 setting the <info>DEBUG_BACKTRACE_PROVIDE_OBJECT</info> option respectively.
  <info>int</info>  <strong>$limit  </strong>  As of 5.4.0, this parameter can be used to limit the number of stack frames
                 returned. By default (<strong>$limit</strong>=<return>0</return>) it returns all stack frames.

<comment>Return:</comment>
  <info>array</info>  Returns an array of associative <info>array</info>s. The possible returned elements are as follows:
         
         Possible returned elements from <strong>debug_backtrace()</strong>DenumireTipDescrierefunction<info>string</info> The
         current function name.  See also __FUNCTION__. line<info>int</info> The current line number.  See also
         __LINE__. file<info>string</info> The current file name.  See also __FILE__. class<info>string</info> The current
         class name.  See also __CLASS__ object<info>object</info> The current object. type<info>string</info> The current
         call type. If a method call, "-&gt;" is returned. If a static method call, "::" is
         returned. If a function call, nothing is returned. args<info>array</info> If inside a function, this
         lists the functions arguments.  If inside an included file, this lists the included file
         name(s).

<comment>See Also:</comment>
   * <strong>trigger_error()</strong>
   * <strong>debug_print_backtrace()</strong>


id: debug_print_backtrace
type: function
doc:
<comment>Description:</comment>
  Prints a backtrace
      
  
  <strong>debug_print_backtrace()</strong> prints a PHP backtrace. It prints the function calls, included/required
  files and <strong>eval()</strong>ed stuff.

<comment>Param:</comment>
  <info>int</info>  <strong>$options</strong>  As of 5.3.6, this parameter is a bitmask for the following options:
                 <strong>debug_print_backtrace()</strong> optionsDEBUG_BACKTRACE_IGNORE_ARGS Whether or not to omit
                 the "args" index, and thus all the function/method arguments, to save memory.
  <info>int</info>  <strong>$limit  </strong>  As of 5.4.0, this parameter can be used to limit the number of stack frames
                 printed. By default (<strong>$limit</strong>=<return>0</return>) it prints all stack frames.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: debug_zval_dump
type: function
doc:
<comment>Description:</comment>
  Dumps a string representation of an internal zend value to output
  
  Dumps a string representation of an internal zend value to output.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value </strong>  The variable to dump.
  <info>mixed</info>  <strong>$values</strong>  Further variables to dump.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>var_dump()</strong>
   * <strong>debug_backtrace()</strong>
   * References Explained
   * References Explained (by Derick Rethans)


id: decbin
type: function
doc:
<comment>Description:</comment>
  Decimal to binary
  
  Returns a string containing a binary representation of the given <strong>$num</strong> argument.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  Decimal value to convert

<comment>Return:</comment>
  <info>string</info>  Binary string representation of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>bindec()</strong>
   * <strong>decoct()</strong>
   * <strong>dechex()</strong>
   * <strong>base_convert()</strong>
   * <strong>printf()</strong>, using <return>%b</return>,
     <return>%032b</return> or <return>%064b</return> as the format
    
   * <strong>sprintf()</strong>, using <return>%b</return>,
     <return>%032b</return> or <return>%064b</return> as the format
    


id: dechex
type: function
doc:
<comment>Description:</comment>
  Decimal to hexadecimal
  
  Returns a string containing a hexadecimal representation of the given unsigned <strong>$num</strong> argument.
  
  The largest number that can be converted is <info>PHP_INT_MAX</info><return> * 2 + 1</return> (or <return>-1</return>): on 32-bit platforms, this
  will be <return>4294967295</return> in decimal, which results in <strong>dechex()</strong> returning <return>ffffffff</return>.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  The decimal value to convert.
             
             As PHP's <info>int</info> type is signed, but <strong>dechex()</strong> deals with unsigned integers, negative
             integers will be treated as though they were unsigned.

<comment>Return:</comment>
  <info>string</info>  Hexadecimal string representation of <strong>$num</strong>.

<comment>See Also:</comment>
   * <strong>hexdec()</strong>
   * <strong>decbin()</strong>
   * <strong>decoct()</strong>
   * <strong>base_convert()</strong>


id: decoct
type: function
doc:
<comment>Description:</comment>
  Decimal to octal
  
  Returns a string containing an octal representation of the given <strong>$num</strong> argument. The largest number
  that can be converted depends on the platform in use. For 32-bit platforms this is usually
  <return>4294967295</return> in decimal resulting in <return>37777777777</return>. For 64-bit platforms this is usually
  <return>9223372036854775807</return> in decimal resulting in <return>777777777777777777777</return>.

<comment>Param:</comment>
  <info>int</info>  <strong>$num</strong>  Decimal value to convert

<comment>Return:</comment>
  <info>string</info>  Octal string representation of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>octdec()</strong>
   * <strong>decbin()</strong>
   * <strong>dechex()</strong>
   * <strong>base_convert()</strong>


id: define
type: function
doc:
<comment>Description:</comment>
  Defines a named constant
  
  Defines a named constant at runtime.

<comment>Param:</comment>
  <info>string</info>  <strong>$name            </strong>  The name of the constant.
                             
                             It is possible to <strong>define()</strong> constants with reserved or even invalid
                             names, whose value can (only) be retrieved with <strong>constant()</strong>. However,
                             doing so is not recommended.
  <info>mixed </info>  <strong>$value           </strong>  The value of the constant. In PHP 5, <strong>$value</strong> must be a <info>scalar</info> value
                             (<info>int</info>, <info>float</info>, <info>string</info>, <info>bool</info>, or <info>null</info>). In PHP 7, <info>array</info> values are also
                             accepted.
                             
                             While it is possible to define <info>resource</info> constants, it is not
                             recommended and may cause unpredictable behavior.
  <info>bool  </info>  <strong>$case_insensitive</strong>  If set to <info>true</info>, the constant will be defined case-insensitive.  The
                             default behavior is case-sensitive; i.e.  <return>CONSTANT</return> and <return>Constant</return>
                             represent different values.
                             
                             Defining case-insensitive constants is deprecated as of PHP 7.3.0.
                             
                             Case-insensitive constants are stored as lower-case.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>defined()</strong>
   * <strong>constant()</strong>
   * The section on Constants


id: define_syslog_variables
type: function
doc:
<comment>Description:</comment>
  Initializes all syslog related variables
  
  Initializes all variables used in the syslog functions.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.
        
        Această facilitate a fost
        ÎNVECHITĂ începând cu PHP 5.3.0 și
        ELIMINATĂ începând cu PHP 5.4.0.

<comment>See Also:</comment>
   * <strong>openlog()</strong>
   * <strong>syslog()</strong>
   * <strong>closelog()</strong>


id: defined
type: function
doc:
<comment>Description:</comment>
  Checks whether a given named constant exists
  
  Checks whether the given constant exists and is defined.
  
  If you want to see if a variable exists, use <strong>isset()</strong> as <strong>defined()</strong> only applies to constants. If
  you want to see if a function exists, use <strong>function_exists()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$name</strong>  The constant name.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the named constant given by <strong>$name</strong> has been defined, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>define()</strong>
   * <strong>constant()</strong>
   * <strong>get_defined_constants()</strong>
   * <strong>function_exists()</strong>
   * The section on Constants


id: deflate_add
type: function
doc:
<comment>Description:</comment>
  Incrementally deflate data
  
  Incrementally deflates data in the specified context.

<comment>Param:</comment>
  <info>DeflateContext</info>  <strong>$context   </strong>  A context created with <strong>deflate_init()</strong>.
  <info>string        </info>  <strong>$data      </strong>  A chunk of data to compress.
  <info>int           </info>  <strong>$flush_mode</strong>  One of <info>ZLIB_BLOCK</info>, <info>ZLIB_NO_FLUSH</info>, <info>ZLIB_PARTIAL_FLUSH</info>, <info>ZLIB_SYNC_FLUSH</info>
                               (default), <info>ZLIB_FULL_FLUSH</info>, <info>ZLIB_FINISH</info>. Normally you will want to
                               set <info>ZLIB_NO_FLUSH</info> to maximize compression, and <info>ZLIB_FINISH</info> to
                               terminate with the last chunk of data. See the zlib manual for a
                               detailed description of these constants.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a chunk of compressed data,  sau <info>false</info> în cazul eșecului.

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


id: deflate_init
type: function
doc:
<comment>Description:</comment>
  Initialize an incremental deflate context
  
  Initializes an incremental deflate context using the specified <strong>$encoding</strong>.
  
  Note that the <return>window</return> option here only sets the window size of the algorithm, differently from the
  zlib filters where the same parameter also sets the encoding to use; the encoding must be set with
  the <strong>$encoding</strong> parameter.
  
  Limitation: there is currently no way to set the header information on a GZIP compressed stream,
  which are set as follows: GZIP signature (<return>\x1f\x8B</return>); compression method (<return>\x08</return> == DEFLATE); 6 zero
  bytes; the operating system set to the current system (<return>\x00</return> = Windows, <return>\x03</return> = Unix, etc.)

<comment>Param:</comment>
  <info>int  </info>  <strong>$encoding</strong>  One of the <info>ZLIB_ENCODING_*</info> constants.
  <info>array</info>  <strong>$options </strong>  An associative array which may contain the following elements: level The
                    compression level in range -1..9; defaults to -1. memory The compression memory
                    level in range 1..9; defaults to 8. window The zlib window size (logarithmic) in
                    range <return>8</return>..<return>15</return>; defaults to <return>15</return>. zlib changes a window size of <return>8</return> to <return>9</return>, and as of
                    zlib 1.2.8 fails with a warning, if a window size of <return>8</return> is requested for
                    <info>ZLIB_ENCODING_RAW</info> or <info>ZLIB_ENCODING_GZIP</info>. strategy One of <info>ZLIB_FILTERED</info>,
                    <info>ZLIB_HUFFMAN_ONLY</info>, <info>ZLIB_RLE</info>, <info>ZLIB_FIXED</info> or <info>ZLIB_DEFAULT_STRATEGY</info> (the default).
                    dictionary A <info>string</info> or an <info>array</info> of <info>strings</info> of the preset dictionary (default: no
                    preset dictionary).
                    
                    The compression level in range -1..9; defaults to -1.
                    
                    The compression memory level in range 1..9; defaults to 8.
                    
                    The zlib window size (logarithmic) in range <return>8</return>..<return>15</return>; defaults to <return>15</return>. zlib changes
                    a window size of <return>8</return> to <return>9</return>, and as of zlib 1.2.8 fails with a warning, if a window
                    size of <return>8</return> is requested for <info>ZLIB_ENCODING_RAW</info> or <info>ZLIB_ENCODING_GZIP</info>.
                    
                    One of <info>ZLIB_FILTERED</info>, <info>ZLIB_HUFFMAN_ONLY</info>, <info>ZLIB_RLE</info>, <info>ZLIB_FIXED</info> or
                    <info>ZLIB_DEFAULT_STRATEGY</info> (the default).
                    
                    A <info>string</info> or an <info>array</info> of <info>strings</info> of the preset dictionary (default: no preset
                    dictionary).

<comment>Return:</comment>
  <info>DeflateContextfalse</info>  Returns a deflate context resource (<return>zlib.deflate</return>) on success,  sau <info>false</info> în
                       cazul eșecului.

<comment>See Also:</comment>
   * <strong>deflate_add()</strong>
   * <strong>inflate_init()</strong>


id: deg2rad
type: function
doc:
<comment>Description:</comment>
  Converts the number in degrees to the radian equivalent
    
  
  This function converts <strong>$num</strong> from degrees to the radian equivalent.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  Angular value in degrees

<comment>Return:</comment>
  <info>float</info>  The radian equivalent of <strong>$num</strong>

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


id: delete
type: function
doc:
<comment>Description:</comment>
  See unlink or unset
  
  There is no delete keyword or function in the PHP language. If you arrived at this page seeking to
  delete a file, try <strong>unlink()</strong>. To delete a variable from the local scope, check out <strong>unset()</strong>.

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


id: dgettext
type: function
doc:
<comment>Description:</comment>
  Override the current domain
  
  The <strong>dgettext()</strong> function allows you to override the current <strong>$domain</strong> for a single message lookup.

<comment>Param:</comment>
  <info>string</info>  <strong>$domain </strong>  The domain
  <info>string</info>  <strong>$message</strong>  The message

<comment>Return:</comment>
  <info>string</info>  A <info>string</info> on success.

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


id: die
type: function
doc:
<comment>Description:</comment>
  Echivalentă cu exit
  
  Această construcție a limbajului este echivalentă cu <strong>exit()</strong>.


id: dio_close
type: function
doc:
<comment>Description:</comment>
  Closes the file descriptor given by fd
  
  The function <strong>dio_close()</strong> closes the file descriptor <strong>$fd</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd</strong>  The file descriptor returned by <strong>dio_open()</strong>.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: dio_fcntl
type: function
doc:
<comment>Description:</comment>
  Performs a c library fcntl on fd
  
  The <strong>dio_fcntl()</strong> function performs the operation specified by <strong>$cmd</strong> on the file descriptor <strong>$fd</strong>. Some
  commands require additional arguments <strong>$args</strong> to be supplied.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd  </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>int     </info>  <strong>$cmd </strong>  Can be one of the following operations: <info>F_SETLK</info> - Lock is set or cleared. If the
                   lock is held by someone else <strong>dio_fcntl()</strong> returns -1. <info>F_SETLKW</info> - like <info>F_SETLK</info>, but
                   in case the lock is held by someone else,  <strong>dio_fcntl()</strong> waits until the lock is
                   released. <info>F_GETLK</info> - <strong>dio_fcntl()</strong>  returns an associative array (as described
                   below) if someone else prevents lock. If there is no obstruction key "type" will
                   set to <info>F_UNLCK</info>. <info>F_DUPFD</info> - finds the lowest numbered available file descriptor
                   greater than or equal to <strong>$args</strong> and returns them. <info>F_SETFL</info> - Sets the file
                   descriptors flags to  the value specified by <strong>$args</strong>, which can be <info>O_APPEND</info>,
                   <info>O_NONBLOCK</info> or  <info>O_ASYNC</info>. To use <info>O_ASYNC</info>  you will need to use the PCNTL
                   extension.
                   
                   <info>F_SETLK</info> - Lock is set or cleared. If the lock is held by someone else <strong>dio_fcntl()</strong>
                   returns -1.
                   
                   <info>F_SETLKW</info> - like <info>F_SETLK</info>, but in case the lock is held by someone else,
                   <strong>dio_fcntl()</strong> waits until the lock is released.
                   
                   <info>F_GETLK</info> - <strong>dio_fcntl()</strong>  returns an associative array (as described below) if
                   someone else prevents lock. If there is no obstruction key "type" will set to
                   <info>F_UNLCK</info>.
                   
                   <info>F_DUPFD</info> - finds the lowest numbered available file descriptor greater than or
                   equal to <strong>$args</strong> and returns them.
                   
                   <info>F_SETFL</info> - Sets the file descriptors flags to  the value specified by <strong>$args</strong>, which
                   can be <info>O_APPEND</info>, <info>O_NONBLOCK</info> or  <info>O_ASYNC</info>. To use <info>O_ASYNC</info>  you will need to use the
                   PCNTL  extension.
  <info>mixed   </info>  <strong>$args</strong>  <strong>$args</strong> is an associative array, when <strong>$cmd</strong> is <info>F_SETLK</info> or <info>F_SETLLW</info>, with the
                   following keys: <return>start</return> - offset where lock begins <return>length</return> - size of locked area.
                   zero means to end of file <return>whence</return> - Where l_start is relative to: can be
                   <info>SEEK_SET</info>, <info>SEEK_END</info> and <info>SEEK_CUR</info> <return>type</return> - type of lock: can be <info>F_RDLCK</info> (read lock),
                   <info>F_WRLCK</info> (write lock) or <info>F_UNLCK</info> (unlock)
                   
                   <return>start</return> - offset where lock begins
                   
                   <return>length</return> - size of locked area. zero means to end of file
                   
                   <return>whence</return> - Where l_start is relative to: can be  <info>SEEK_SET</info>, <info>SEEK_END</info> and <info>SEEK_CUR</info>
                   
                   <return>type</return> - type of lock: can be <info>F_RDLCK</info> (read lock), <info>F_WRLCK</info> (write lock) or <info>F_UNLCK</info>
                   (unlock)

<comment>Return:</comment>
  <info>mixed</info>  Returns the result of the C call.


id: dio_open
type: function
doc:
<comment>Description:</comment>
  Opens a file (creating it if necessary) at a lower level than the
     C library input/ouput stream functions allow
    
  
  <strong>dio_open()</strong> opens a file and returns a new file descriptor for it.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The pathname of the file to open.
  <info>int   </info>  <strong>$flags   </strong>  The <strong>$flags</strong> parameter is a bitwise-ORed value comprising flags from the
                     following list. This value must include one of <info>O_RDONLY</info>, <info>O_WRONLY</info>, or <info>O_RDWR</info>.
                     Additionally, it may include any combination of the other flags from this list.
                     <info>O_RDONLY</info> - opens the file for read access. <info>O_WRONLY</info> - opens the file for write
                     access. <info>O_RDWR</info> - opens the file for both reading and writing. <info>O_CREAT</info> - creates
                     the file, if it doesn't already exist. <info>O_EXCL</info> - if both <info>O_CREAT</info> and <info>O_EXCL</info> are
                     set and the file already exists, <strong>dio_open()</strong> will fail. <info>O_TRUNC</info> - if the file
                     exists and is opened  for write access, the file will be truncated to zero
                     length. <info>O_APPEND</info> - write operations write data at the end of the file.
                     <info>O_NONBLOCK</info> - sets non blocking mode. <info>O_NOCTTY</info> - prevent the OS from assigning
                     the opened file as the process's controlling terminal when opening a TTY device
                     file.
                     
                     <info>O_RDONLY</info> - opens the file for read access.
                     
                     <info>O_WRONLY</info> - opens the file for write access.
                     
                     <info>O_RDWR</info> - opens the file for both reading and writing.
                     
                     <info>O_CREAT</info> - creates the file, if it doesn't already exist.
                     
                     <info>O_EXCL</info> - if both <info>O_CREAT</info> and <info>O_EXCL</info> are set and the file already exists,
                     <strong>dio_open()</strong> will fail.
                     
                     <info>O_TRUNC</info> - if the file exists and is opened  for write access, the file will be
                     truncated to zero length.
                     
                     <info>O_APPEND</info> - write operations write data at the end of the file.
                     
                     <info>O_NONBLOCK</info> - sets non blocking mode.
                     
                     <info>O_NOCTTY</info> - prevent the OS from assigning the opened file as the process's
                     controlling terminal when opening a TTY device file.
  <info>int   </info>  <strong>$mode    </strong>  If <strong>$flags</strong> contains <info>O_CREAT</info>, <strong>$mode</strong> will set the permissions of the file
                     (creation permissions). <strong>$mode</strong> is required for correct operation when <info>O_CREAT</info> is
                     specified in <strong>$flags</strong> and is ignored otherwise.
                     
                     The actual permissions assigned to the created file will be affected by the
                     process's umask setting as per usual.

<comment>Return:</comment>
  <info>resource</info>  A file descriptor or <info>false</info> on error.

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


id: dio_read
type: function
doc:
<comment>Description:</comment>
  Reads bytes from a file descriptor
  
  The function <strong>dio_read()</strong> reads and returns <strong>$len</strong> bytes from file with descriptor <strong>$fd</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>int     </info>  <strong>$len</strong>  The number of bytes to read. If not specified, <strong>dio_read()</strong> reads 1K sized block.

<comment>Return:</comment>
  <info>string</info>  The bytes read from <strong>$fd</strong>.

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


id: dio_seek
type: function
doc:
<comment>Description:</comment>
  Seeks to pos on fd from whence
  
  The function <strong>dio_seek()</strong> is used to change the file position of the given file descriptor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd    </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>int     </info>  <strong>$pos   </strong>  The new position.
  <info>int     </info>  <strong>$whence</strong>  Specifies how the position <strong>$pos</strong> should be  interpreted: <info>SEEK_SET</info> (default) -
                     specifies that  <strong>$pos</strong> is specified from the beginning of the  file. <info>SEEK_CUR</info> -
                     Specifies that  <strong>$pos</strong> is a count of characters from the current file position.
                     This count may be positive or negative. <info>SEEK_END</info> - Specifies that  <strong>$pos</strong> is a
                     count of characters from the end of the file. A negative count specifies a
                     position within the current  extent of the file; a positive count specifies a
                     position past the  current end. If you set the position past the current end,
                     and  actually write data, you will extend the file with zeros up to that
                     position.
                     
                     <info>SEEK_SET</info> (default) - specifies that  <strong>$pos</strong> is specified from the beginning of
                     the  file.
                     
                     <info>SEEK_CUR</info> - Specifies that  <strong>$pos</strong> is a count of characters from the current file
                     position. This count may be positive or negative.
                     
                     <info>SEEK_END</info> - Specifies that  <strong>$pos</strong> is a count of characters from the end of the
                     file. A negative count specifies a position within the current  extent of the
                     file; a positive count specifies a position past the  current end. If you set
                     the position past the current end, and  actually write data, you will extend
                     the file with zeros up to that position.

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


id: dio_stat
type: function
doc:
<comment>Description:</comment>
  Gets stat information about the file descriptor fd
    
  
  <strong>dio_stat()</strong> returns information about the given file descriptor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd</strong>  The file descriptor returned by <strong>dio_open()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array with the following keys:  "device" - device  "inode" - inode
         "mode" - mode  "nlink" - number of hard links  "uid" - user id  "gid" - group id
         "device_type" - device type (if inode device)  "size" - total size in bytes  "blocksize" -
         blocksize  "blocks" - number of blocks allocated  "atime" - time of last access  "mtime" -
         time of last modification  "ctime" - time of last change  On error <strong>dio_stat()</strong> returns <info>null</info>.
         
         "device" - device
         
         "inode" - inode
         
         "mode" - mode
         
         "nlink" - number of hard links
         
         "uid" - user id
         
         "gid" - group id
         
         "device_type" - device type (if inode device)
         
         "size" - total size in bytes
         
         "blocksize" - blocksize
         
         "blocks" - number of blocks allocated
         
         "atime" - time of last access
         
         "mtime" - time of last modification
         
         "ctime" - time of last change


id: dio_tcsetattr
type: function
doc:
<comment>Description:</comment>
  Sets terminal attributes and baud rate for a serial port
    
  
  <strong>dio_tcsetattr()</strong> sets the terminal attributes and baud rate of the open <strong>$fd</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd     </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>array   </info>  <strong>$options</strong>  The currently available options are:   'baud' - baud rate of the port - can be
                      38400,19200,9600,4800,2400,1800, 1200,600,300,200,150,134,110,75 or 50,
                      default value is 9600.  'bits' - data bits - can be 8,7,6 or 5. Default value
                      is 8.  'stop' - stop bits - can be 1 or 2. Default value is 1.  'parity' - can
                      be 0,1 or 2. Default value is 0.
                      
                      'baud' - baud rate of the port - can be 38400,19200,9600,4800,2400,1800,
                      1200,600,300,200,150,134,110,75 or 50, default value is 9600.
                      
                      'bits' - data bits - can be 8,7,6 or 5. Default value is 8.
                      
                      'stop' - stop bits - can be 1 or 2. Default value is 1.
                      
                      'parity' - can be 0,1 or 2. Default value is 0.

<comment>Return:</comment>
  <info>bool</info>  Nu este întoarsă nici o valoare.


id: dio_truncate
type: function
doc:
<comment>Description:</comment>
  Truncates file descriptor fd to offset bytes 
    
  
  <strong>dio_truncate()</strong> truncates a file to at most  <strong>$offset</strong> bytes in size.
  
  If the file previously was larger than this size, the extra data is  lost. If the file previously
  was shorter, it is unspecified whether the file is left unchanged or is extended. In the latter
  case the extended  part reads as zero bytes.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd    </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>int     </info>  <strong>$offset</strong>  The offset in bytes.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.


id: dio_write
type: function
doc:
<comment>Description:</comment>
  Writes data to fd with optional truncation at length 
    
  
  <strong>dio_write()</strong> writes up to <strong>$len</strong>  bytes from <strong>$data</strong> to file <strong>$fd</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fd  </strong>  The file descriptor returned by <strong>dio_open()</strong>.
  <info>string  </info>  <strong>$data</strong>  The written data.
  <info>int     </info>  <strong>$len </strong>  The length of data to write in bytes. If not specified, the  function writes all
                   the data to the specified file.

<comment>Return:</comment>
  <info>int</info>  Returns the number of bytes written to <strong>$fd</strong>.

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


id: dir
type: function
doc:
<comment>Description:</comment>
  Return an instance of the Directory class
  
  A pseudo-object oriented mechanism for reading a directory.  The given <strong>$directory</strong> is opened.

<comment>Param:</comment>
  <info>string  </info>  <strong>$directory</strong>  Directory to open
  <info>resource</info>  <strong>$context  </strong>  Susținrea contextelor a fost adăugată începând cu PHP 5.0.0. Pentru o
                        descriere a <return>contextelor</return>, referiți-vă la
                        .
                        
                        Susținrea contextelor a fost adăugată începând cu PHP 5.0.0. Pentru o
                        descriere a <return>contextelor</return>, referiți-vă la
                        .

<comment>Return:</comment>
  <info>Directory</info>  Returns an instance of <class>Directory</class>, or <info>null</info> with wrong parameters, or <info>false</info> in case of
             another error.


id: dirname
type: function
doc:
<comment>Description:</comment>
  Returns a parent directory's path
  
  Given a string containing the path of a file or directory, this function will return the parent
  directory's path that is <strong>$levels</strong> up from the current directory.
  
  <strong>dirname()</strong> operates naively on the input string, and is not aware of the actual filesystem, or path
  components such as "<return>..</return>".
  
  <strong>dirname()</strong> is locale aware, so for it to see the  correct directory name with multibyte character
  paths, the matching locale must  be set using the <strong>setlocale()</strong> function.

<comment>Param:</comment>
  <info>string</info>  <strong>$path  </strong>  A path.
                   
                   On Windows, both slash (<return>/</return>) and backslash (<return>\</return>) are used as directory separator
                   character. In other environments, it is the forward slash (<return>/</return>).
  <info>int   </info>  <strong>$levels</strong>  The number of parent directories to go up.
                   
                   This must be an integer greater than 0.

<comment>Return:</comment>
  <info>string</info>  Returns the path of a parent directory. If there are no slashes in <strong>$path</strong>, a dot ('<return>.</return>') is
          returned, indicating the current directory. Otherwise, the returned string is <strong>$path</strong> with
          any trailing <return>/component</return> removed.

<comment>See Also:</comment>
   * <strong>basename()</strong>
   * <strong>pathinfo()</strong>
   * <strong>realpath()</strong>


id: disk_free_space
type: function
doc:
<comment>Description:</comment>
  Returns available space on filesystem or disk partition
  
  Given a string containing a directory, this function will return the number of bytes available on
  the corresponding filesystem or disk partition.

<comment>Param:</comment>
  <info>string</info>  <strong>$directory</strong>  A directory of the filesystem or disk partition.
                      
                      Given a file name instead of a directory, the behaviour of the function is
                      unspecified and may differ between operating systems and PHP versions.

<comment>Return:</comment>
  <info>floatfalse</info>  Returns the number of available bytes as a float sau <info>false</info> în cazul eșecului.

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


id: disk_total_space
type: function
doc:
<comment>Description:</comment>
  Returns the total size of a filesystem or disk partition
  
  Given a string containing a directory, this function will return the total number of bytes on the
  corresponding filesystem or disk partition.

<comment>Param:</comment>
  <info>string</info>  <strong>$directory</strong>  A directory of the filesystem or disk partition.

<comment>Return:</comment>
  <info>floatfalse</info>  Returns the total number of bytes as a float sau <info>false</info> în cazul eșecului.

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


id: diskfreespace
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru disk_free_space
  
  Această funcție este pseudonim pentru:  <strong>disk_free_space()</strong>.


id: dl
type: function
doc:
<comment>Description:</comment>
  Loads a PHP extension at runtime
  
  Loads the PHP extension given by the parameter <strong>$extension_filename</strong>.
  
  Use <strong>extension_loaded()</strong> to test whether a given extension is already available or not. This works
  on both built-in extensions and dynamically loaded ones (either through php.ini or <strong>dl()</strong>).
  
  This function was removed from most SAPIs in PHP 5.3.0, and was removed from PHP-FPM in PHP 7.0.0.

<comment>Param:</comment>
  <info>string</info>  <strong>$extension_filename</strong>  This parameter is only the filename of the extension to load which
                               also depends on your platform. For example, the sockets extension (if
                               compiled as a shared module, not the default!) would be called
                               sockets.so on Unix platforms whereas it is called php_sockets.dll on
                               the Windows platform.
                               
                               The directory where the extension is loaded from depends on your
                               platform:
                               
                               Windows - If not explicitly set in the php.ini, the extension is
                               loaded from C:\php5\ by default.
                               
                               Unix - If not explicitly set in the php.ini, the default extension
                               directory depends on  whether PHP has been built with <return>--enable-debug</return>
                               or not  whether PHP has been built with (experimental) ZTS (Zend
                               Thread Safety) support or not  the current internal
                               <return>ZEND_MODULE_API_NO</return> (Zend internal module API number, which is
                               basically the date on which a major module API change happened, e.g.
                               <return>20010901</return>)  Taking into account the above, the directory then defaults
                               to <return>\<install-dir&gt;/lib/php/extensions/ \<debug-or-not&gt;-\<zts-or-not&gt;-ZEND_MODULE_API_NO</return>, e.g. /usr/local/php/lib/php/extensions/debug-non-zts-20010901 or /usr/local/php/lib/php/extensions/no-debug-zts-20010901.
                               
                               whether PHP has been built with <return>--enable-debug</return> or not
                               
                               whether PHP has been built with (experimental) ZTS (Zend Thread
                               Safety) support or not
                               
                               the current internal <return>ZEND_MODULE_API_NO</return> (Zend internal module API
                               number, which is basically the date on which a major module API
                               change happened, e.g. <return>20010901</return>)

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului. If the functionality of loading modules is not
        available or has been disabled (by setting enable_dl off in php.ini) an <info>E_ERROR</info> is emitted
        and execution is stopped. If <strong>dl()</strong> fails because the specified library couldn't be loaded, in
        addition to <info>false</info> an <info>E_WARNING</info> message is emitted.

<comment>See Also:</comment>
   * Extension Loading Directives
   * <strong>extension_loaded()</strong>


id: dngettext
type: function
doc:
<comment>Description:</comment>
  Plural version of dgettext
  
  The <strong>dngettext()</strong> function allows you to override the current <strong>$domain</strong> for a single plural message
  lookup.

<comment>Param:</comment>
  <info>string</info>  <strong>$domain  </strong>  The domain
  <info>string</info>  <strong>$singular</strong>  
  <info>string</info>  <strong>$plural  </strong>  
  <info>int   </info>  <strong>$count   </strong>  

<comment>Return:</comment>
  <info>string</info>  A <info>string</info> on success.

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


id: dns_check_record
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru checkdnsrr
  
  Această funcție este pseudonim pentru:  <strong>checkdnsrr()</strong>.


id: dns_get_mx
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru getmxrr
  
  Această funcție este pseudonim pentru:  <strong>getmxrr()</strong>.


id: dns_get_record
type: function
doc:
<comment>Description:</comment>
  Fetch DNS Resource Records associated with a hostname
  
  Fetch DNS Resource Records associated with the given <strong>$hostname</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname                  </strong>  <strong>$hostname</strong> should be a valid DNS hostname such as
                                       "<return>www.example.com</return>". Reverse lookups can be generated using
                                       <return>in-addr.arpa</return> notation, but <strong>gethostbyaddr()</strong> is more suitable
                                       for the majority of reverse lookups.
                                       
                                       Per DNS standards, email addresses are given in <return>user.host</return>
                                       format (for example: <return>hostmaster.example.com</return> as opposed to
                                       <return>hostmaster@example.com</return>), be sure to check this value and
                                       modify if necessary before using it with a functions such as
                                       <strong>mail()</strong>.
  <info>int   </info>  <strong>$type                      </strong>  By default, <strong>dns_get_record()</strong> will search for any resource
                                       records associated with <strong>$hostname</strong>.  To limit the query,
                                       specify the optional <strong>$type</strong> parameter. May be any one of the
                                       following: <info>DNS_A</info>, <info>DNS_CNAME</info>, <info>DNS_HINFO</info>, <info>DNS_CAA</info>, <info>DNS_MX</info>,
                                       <info>DNS_NS</info>, <info>DNS_PTR</info>, <info>DNS_SOA</info>, <info>DNS_TXT</info>, <info>DNS_AAAA</info>, <info>DNS_SRV</info>,
                                       <info>DNS_NAPTR</info>, <info>DNS_A6</info>, <info>DNS_ALL</info> or <info>DNS_ANY</info>.
                                       
                                       Because of eccentricities in the performance of libresolv
                                       between platforms, <info>DNS_ANY</info> will not always return every
                                       record, the slower <info>DNS_ALL</info> will collect all records more
                                       reliably.
                                       
                                       <info>DNS_CAA</info> is not supported on Windows.
  <info>array </info>  <strong>$authoritative_name_servers</strong>  Passed by reference and, if given, will be populated with
                                       Resource Records for the Authoritative Name Servers.
  <info>array </info>  <strong>$additional_records        </strong>  Passed by reference and, if given, will be populated with any
                                       Additional Records.
  <info>bool  </info>  <strong>$raw                       </strong>  The <strong>$type</strong> will be interpreted as a raw DNS type ID (the <return>DNS_*</return>
                                       constants cannot be used). The return value will contain a
                                       <return>data</return> key, which needs to be manually parsed.

<comment>Return:</comment>
  <info>arrayfalse</info>  This function returns an array of associative arrays, sau <info>false</info> în cazul eșecului.
              Each associative array contains at minimum the following keys: Basic DNS
              attributesAttributeMeaninghost The record in the DNS namespace to which the rest of
              the associated data refers. class<strong>dns_get_record()</strong> only returns Internet class records
              and as such this parameter will always return <return>IN</return>. type String containing the record
              type.  Additional attributes will also be contained in the resulting array dependant
              on the value of type. See table below. ttl<return>"Time To Live"</return> remaining for this record.
              This will not equal the record's original ttl, but will rather equal the original ttl
              minus whatever length of time has passed since the authoritative name server was
              queried.
              
              Other keys in associative arrays dependant on 'type'TypeExtra Columns<return>A</return><return>ip</return>: An IPv4
              addresses in dotted decimal notation. <return>MX</return><return>pri</return>: Priority of mail exchanger. Lower numbers
              indicate greater priority. <return>target</return>: FQDN of the mail exchanger. See also <strong>dns_get_mx()</strong>.
              <return>CNAME</return><return>target</return>: FQDN of location in DNS namespace to which the record is aliased.
              <return>NS</return><return>target</return>: FQDN of the name server which is authoritative for this hostname. <return>PTR</return><return>target</return>:
              Location within the DNS namespace to which this record points. <return>TXT</return><return>txt</return>: Arbitrary
              string data associated with this record. <return>HINFO</return><return>cpu</return>: IANA number designating the CPU of
              the machine referenced by this record. <return>os</return>: IANA number designating the Operating
              System on the machine referenced by this record. See IANA's <return>Operating System Names</return> for
              the meaning of these values. <return>CAA</return><return>flags</return>: A one-byte bitfield; currently only bit 0 is
              defined, meaning 'critical'; other bits are reserved and should be ignored. <return>tag</return>: The
              CAA tag name (alphanumeric ASCII string). <return>value</return>: The CAA tag value (binary string, may
              use subformats). For additional information see: RFC 6844<return>SOA</return><return>mname</return>: FQDN of the machine
              from which the resource records originated. <return>rname</return>: Email address of the administrative
              contact for this domain. <return>serial</return>: Serial # of this revision of the requested domain.
              <return>refresh</return>: Refresh interval (seconds) secondary name servers should use when updating
              remote copies of this domain. <return>retry</return>: Length of time (seconds) to wait after a failed
              refresh before making a second attempt. <return>expire</return>: Maximum length of time (seconds) a
              secondary DNS server should retain remote copies of the zone data without a successful
              refresh before discarding. <return>minimum-ttl</return>: Minimum length of time (seconds) a client can
              continue to use a DNS resolution before it should request a new resolution from the
              server.  Can be overridden by individual resource records. <return>AAAA</return><return>ipv6</return>: IPv6 address
              <return>A6</return>(PHP &gt;= 5.1.0)<return>masklen</return>: Length (in bits) to inherit from the target specified by
              <strong>$chain</strong>. <return>ipv6</return>: Address for this specific record to merge with <strong>$chain</strong>. <return>chain</return>: Parent
              record to merge with <strong>$ipv6</strong> data. <return>SRV</return><return>pri</return>: (Priority) lowest priorities should be used
              first. <return>weight</return>: Ranking to weight which of commonly prioritized <strong>$targets</strong> should be
              chosen at random. <return>target</return> and <return>port</return>: hostname and port where the requested service can
              be found. For additional information see: RFC 2782 <return>NAPTR</return><return>order</return> and <return>pref</return>: Equivalent to
              <strong>$pri</strong> and <strong>$weight</strong> above. <return>flags</return>, <return>services</return>, <return>regex</return>, and <return>replacement</return>: Parameters as defined
              by RFC 2915.

<comment>See Also:</comment>
   * <strong>dns_get_mx()</strong>
   * <strong>dns_check_record()</strong>


id: dom_import_simplexml
type: function
doc:
<comment>Description:</comment>
  Gets a DOMElement object from a
     SimpleXMLElement object
    
  
  This function takes the node <strong>$node</strong> of class SimpleXML and makes it into a <class>DOMElement</class> node. This
  new object can then be used as a native <class>DOMElement</class> node.

<comment>Param:</comment>
  <info>SimpleXMLElement</info>  <strong>$node</strong>  The <class>SimpleXMLElement</class> node.

<comment>Return:</comment>
  <info>DOMElement</info>  The <class>DOMElement</class> node added or <info>false</info> if any errors occur.

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


id: dotnet
type: class
doc:
<comment>Description:</comment>
  The dotnet class allows you to instantiate a class from a .Net assembly and call its methods and
  access its properties, if the class and the methods and properties are visible to COM.
  
  Neither instantiating static classes nor calling static methods is supported.
  
  Some .Net classes do not implement IDispatch, so while they can be instantiated, calling methods
  or accessing properties on these classes is not supported.
  
  You need to install the .Net runtime on your web server to take advantage of this feature.
  
  .Net framework 4.0 and later are not supported by the <class>dotnet</class> class. If assemblies have been
  registered with regasm.exe, the classes can be instantiated as <class>com</class> objects, though.


id: dotnet::__construct
type: function
doc:
<comment>Description:</comment>
  dotnet class constructor
  
  Constructs a new dotnet object.

<comment>Param:</comment>
  <info>string</info>  <strong>$assembly_name</strong>  Specifies which assembly should be loaded.
  <info>string</info>  <strong>$datatype_name</strong>  Specifices which class in that assembly to instantiate.
  <info>int   </info>  <strong>$codepage     </strong>  Codepage to use for unicode string transformations; see the  class for
                          more details on code pages.


id: doubleval
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru floatval
  
  Această funcție este pseudonim pentru:  <strong>floatval()</strong>.


id: each
type: function
doc:
<comment>Description:</comment>
  Return the current key and value pair from an array and advance the array cursor
  
  Return the current key and value pair from an array and advance the array cursor.
  
  After <strong>each()</strong> has executed, the array cursor will be left on the next element of the array, or past
  the last element if it hits the end of the array. You have to use <strong>reset()</strong> if you want to traverse
  the array again using each.

<comment>Param:</comment>
  <info>array</info>  <strong>$array</strong>  The input array.

<comment>Return:</comment>
  <info>array</info>  Returns the current key and value pair from the array <strong>$array</strong>. This pair is returned in a
         four-element array, with the keys <return>0</return>, <return>1</return>, <return>key</return>, and <return>value</return>. Elements <return>0</return> and <return>key</return> contain the key
         name of the array element, and <return>1</return> and <return>value</return> contain the data.
         
         If the internal pointer for the array points past the end of the array contents, <strong>each()</strong>
         returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>key()</strong>
   * <strong>list()</strong>
   * <strong>current()</strong>
   * <strong>reset()</strong>
   * <strong>next()</strong>
   * <strong>prev()</strong>
   * foreach
   * Object Iteration


id: easter_date
type: function
doc:
<comment>Description:</comment>
  Get Unix timestamp for midnight on Easter of a given year
  
  Returns the Unix timestamp corresponding to midnight on Easter of the given year.
  
  This function will generate a warning if the year is outside of the range for Unix timestamps
  (i.e. typically before 1970 or after 2037 on 32bit systems).
  
  The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first
  full moon which falls on or after the Spring Equinox.  The Equinox is assumed to always fall on
  21st March, so the calculation reduces to determining the date of the full moon and the date of
  the following Sunday.  The algorithm used here was introduced around the year 532 by Dionysius
  Exiguus.  Under the Julian Calendar (for years before 1753) a simple 19-year cycle is used to
  track the phases of the Moon.  Under the Gregorian Calendar (for years after 1753 - devised by
  Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its
  then colonies in September 1752) two correction factors are added to make the cycle more accurate.

<comment>Param:</comment>
  <info>intnull</info>  <strong>$year</strong>  The year as a number between 1970 an 2037. If omitted or <info>null</info>, defaults to the
                  current year according to the local time.
  <info>int    </info>  <strong>$mode</strong>  Allows Easter dates to be calculated based on the Julian calendar when set to
                  <info>CAL_EASTER_ALWAYS_JULIAN</info>. See also calendar constants.

<comment>Return:</comment>
  <info>int</info>  The easter date as a unix timestamp.

<comment>See Also:</comment>
   * <strong>easter_days()</strong> for calculating Easter 
     before 1970 or after 2037
    


id: easter_days
type: function
doc:
<comment>Description:</comment>
  Get number of days after March 21 on which Easter falls for a given year
  
  Returns the number of days after March 21 on which Easter falls for a given year. If no year is
  specified, the current year is assumed.
  
  This function can be used instead of <strong>easter_date()</strong> to calculate Easter for years which fall
  outside the range of Unix timestamps (i.e. before 1970 or after 2037).
  
  The date of Easter Day was defined by the Council of Nicaea in AD325 as the Sunday after the first
  full moon which falls on or after the Spring Equinox.  The Equinox is assumed to always fall on
  21st March, so the calculation reduces to determining the date of the full moon and the date of
  the following Sunday.  The algorithm used here was introduced around the year 532 by Dionysius
  Exiguus.  Under the Julian Calendar (for years before 1753) a simple 19-year cycle is used to
  track the phases of the Moon.  Under the Gregorian Calendar (for years after 1753 - devised by
  Clavius and Lilius, and introduced by Pope Gregory XIII in October 1582, and into Britain and its
  then colonies in September 1752) two correction factors are added to make the cycle more accurate.

<comment>Param:</comment>
  <info>intnull</info>  <strong>$year</strong>  The year as a positive number. If omitted or <info>null</info>, defaults to the current year
                  according to the local time.
  <info>int    </info>  <strong>$mode</strong>  Allows Easter dates to be calculated based on the Gregorian calendar during the
                  years 1582 - 1752 when set to <info>CAL_EASTER_ROMAN</info>. See the calendar constants for
                  more valid constants.

<comment>Return:</comment>
  <info>int</info>  The number of days after March 21st that the Easter Sunday is in the given <strong>$year</strong>.

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


id: echo
type: function
doc:
<comment>Description:</comment>
  Output one or more strings
  
  Outputs all parameters. No additional newline is appended.
  
  <return>echo</return> is not actually a function (it is a language construct), so you are not required to use
  parentheses with it. <return>echo</return> (unlike some other language constructs) does not behave like a function,
  so it cannot always be used in the context of a function. Additionally, if you want to pass more
  than one parameter to <return>echo</return>, the parameters must not be enclosed within parentheses.
  
  <return>echo</return> also has a shortcut syntax, where you can immediately follow the opening tag with an equals
  sign. Prior to PHP 5.4.0, this short syntax only works with the short_open_tag configuration
  setting enabled.  foo.
  ]]>
  
  The major differences to <return>print</return> are that <return>echo</return> accepts an argument list and doesn't have a return
  value.

<comment>Param:</comment>
  <info>string</info>  <strong>$arg </strong>  The parameter to output.
  <info>string</info>  <strong>$args</strong>  

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>print()</strong>
   * <strong>printf()</strong>
   * <strong>flush()</strong>
   * Heredoc syntax


id: eio_busy
type: function
doc:
<comment>Description:</comment>
  Artificially increase load. Could be useful in tests,
    benchmarking
  
  <strong>eio_busy()</strong> artificially increases load taking <strong>$delay</strong> seconds to execute. May be used for
  debugging, or benchmarking.

<comment>Param:</comment>
  <info>int     </info>  <strong>$delay   </strong>  Delay in seconds
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  This callback is called when all the group requests are done.
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_busy()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_cancel
type: function
doc:
<comment>Description:</comment>
  Cancels a request
  
  <strong>eio_cancel()</strong> cancels a request specified by <strong>$req</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$req     </strong>  The request resource
  <info>        </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>        </info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>        </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>resource</info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>        </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: eio_chmod
type: function
doc:
<comment>Description:</comment>
  Change file/directory permissions
  
  <strong>eio_chmod()</strong> changes file, or directory permissions. The new permissions are specified by <strong>$mode</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path to the target file or directory Evitați căile relative
                       
                       Evitați căile relative
  <info>int     </info>  <strong>$mode    </strong>  The new permissions. E.g. <info>0644</info>.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_chmod()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_chown
type: function
doc:
<comment>Description:</comment>
  Change file/directory permissions
  
  Changes file, or directory permissions.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path to file or directory. Evitați căile relative
                       
                       Evitați căile relative
  <info>int     </info>  <strong>$uid     </strong>  User ID. Is ignored when equal to -1.
  <info>int     </info>  <strong>$gid     </strong>  Group ID. Is ignored when equal to -1.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_chown()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_close
type: function
doc:
<comment>Description:</comment>
  Close file
  
  <strong>eio_close()</strong> closes file specified by <strong>$fd</strong>.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_close()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_custom
type: function
doc:
<comment>Description:</comment>
  Execute custom request like any other eio_* call
  
  <strong>eio_custom()</strong> executes custom function specified by <strong>$execute</strong> processing it just like any other
  eio_* call.

<comment>Param:</comment>
  <info>callable</info>  <strong>$execute </strong>  Specifies the request function that should match the following prototype:
                         <strong>$callback</strong> is event completion callback that should match the following
                       prototype:
                        <strong>$data</strong> is the data passed to <strong>$execute</strong> via <strong>$data</strong> argument without
                       modifications <strong>$result</strong> value returned by <strong>$execute</strong>
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_custom()</strong> returns request resource on success or <info>false</info> on error.


id: eio_dup2
type: function
doc:
<comment>Description:</comment>
  Duplicate a file descriptor
  
  <strong>eio_dup2()</strong> duplicates file descriptor.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Source stream, Socket resource, or numeric file descriptor
  <info>mixed   </info>  <strong>$fd2     </strong>  Target stream, Socket resource, or numeric file descriptor
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_dup2()</strong> returns request resource on success or <info>false</info> on error.


id: eio_event_loop
type: function
doc:
<comment>Description:</comment>
  Polls libeio until all requests proceeded
  
  <strong>eio_event_loop()</strong> polls libeio until all requests proceeded.

<comment>Return:</comment>
  <info>bool</info>  <strong>eio_event_loop()</strong> returns <info>true</info> on success or <info>false</info> on error.

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


id: eio_fallocate
type: function
doc:
<comment>Description:</comment>
  Allows the caller to directly manipulate the allocated disk
    space for a file
  
  <strong>eio_fallocate()</strong> allows the caller to directly manipulate the allocated disk space for the file
  specified by <strong>$fd</strong> file descriptor for the byte range starting at <strong>$offset</strong> and continuing for <strong>$length</strong>
  bytes.
  
  <info>EIO_O_CREAT</info> should be logically OR'd with <info>EIO_O_WRONLY</info>, or <info>EIO_O_RDWR</info>

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int     </info>  <strong>$mode    </strong>  Currently only one flag is supported for mode: <info>EIO_FALLOC_FL_KEEP_SIZE</info> (the
                       same as POSIX constant <info>FALLOC_FL_KEEP_SIZE</info>).
  <info>int     </info>  <strong>$offset  </strong>  Specifies start of the byte range.
  <info>int     </info>  <strong>$length  </strong>  Specifies length the byte range.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fallocate()</strong> returns request resource on success or <info>false</info> on error.


id: eio_fchmod
type: function
doc:
<comment>Description:</comment>
  Change file permissions
  
  <strong>eio_fchmod()</strong> changes permissions for the file specified by <strong>$fd</strong> file descriptor.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int     </info>  <strong>$mode    </strong>  The new permissions. E.g. 0644.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fchmod()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_fchown
type: function
doc:
<comment>Description:</comment>
  Change file ownership
  
  <strong>eio_fchown()</strong> changes ownership of the file specified by <strong>$fd</strong> file descriptor.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor.
  <info>int     </info>  <strong>$uid     </strong>  User ID. Is ignored when equal to -1.
  <info>int     </info>  <strong>$gid     </strong>  Group ID. Is ignored when equal to -1.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  

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


id: eio_fdatasync
type: function
doc:
<comment>Description:</comment>
  Synchronize a file's in-core state with storage device
  
  <strong>eio_fdatasync()</strong> synchronizes a file's in-core state with storage device.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fdatasync()</strong> returns request resource on success or <info>false</info> on error.


id: eio_fstat
type: function
doc:
<comment>Description:</comment>
  Get file status
  
  <strong>eio_fstat()</strong> returns file status information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_busy()</strong> returns request resource on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>eio_lstat()</strong>
   * <strong>eio_stat()</strong>


id: eio_fstatvfs
type: function
doc:
<comment>Description:</comment>
  Get file system statistics
  
  <strong>eio_fstatvfs()</strong> returns file system statistics in <strong>$result</strong> of <strong>$callback</strong>.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  A file descriptor of a file within the mounted file system.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fstatvfs()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_fsync
type: function
doc:
<comment>Description:</comment>
  Synchronize a file's in-core state with storage device
  
  Synchronize a file's in-core state with storage device

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_fsync()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_ftruncate
type: function
doc:
<comment>Description:</comment>
  Truncate a file
  
  <strong>eio_ftruncate()</strong> causes a regular file referenced by <strong>$fd</strong> file descriptor to be truncated to
  precisely <strong>$length</strong> bytes.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor.
  <info>int     </info>  <strong>$offset  </strong>  Offset from beginning of the file
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_ftruncate()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_futime
type: function
doc:
<comment>Description:</comment>
  Change file last access and modification times
  
  <strong>eio_futime()</strong> changes file last access and modification times.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>
  <info>float   </info>  <strong>$atime   </strong>  Access time
  <info>float   </info>  <strong>$mtime   </strong>  Modification time
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_futime()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_get_event_stream
type: function
doc:
<comment>Description:</comment>
  Get stream representing a variable used in internal communications with libeio
  
  <strong>eio_get_event_stream()</strong> acquires stream representing a variable used in internal communications
  with libeio. Could be used to bind with some event loop provided by other PECL extension, for
  example libevent.

<comment>Return:</comment>
  <info>mixed</info>  <strong>eio_get_event_stream()</strong> returns stream on success; otherwise, <info>null</info>


id: eio_get_last_error
type: function
doc:
<comment>Description:</comment>
  Returns string describing the last error associated with a request resource
  
  <strong>eio_get_last_error()</strong> returns string describing the last error associated with <strong>$req</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$req</strong>  The request resource

<comment>Return:</comment>
  <info>string</info>  <strong>eio_get_last_error()</strong> returns string describing the last error associated with the request
          resource specified by <strong>$req</strong>.
          
          Această funcție este EXPERIMENTALĂ.
          Comportamentul acestei funcții, denumirea sa și orice alte aspecte documentate
          în privința acestei funcții pot să fie modificate fără preaviz într-o versiune
          viitoare a PHP. Utilizați această funcție la propriul risc.


id: eio_grp
type: function
doc:
<comment>Description:</comment>
  Creates a request group
  
  <strong>eio_grp()</strong> creates a request group.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_grp()</strong> returns request group resource on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>eio_grp_cancel()</strong>
   * <strong>eio_grp_add()</strong>


id: eio_grp_add
type: function
doc:
<comment>Description:</comment>
  Adds a request to the request group
  
  <strong>eio_grp_add()</strong> adds a request to the request group.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp</strong>  The request group resource returned by <strong>eio_grp()</strong>
  <info>resource</info>  <strong>$req</strong>  The request resource

<comment>Return:</comment>
  <info>void</info>  <strong>eio_grp_add()</strong> doesn't return a value.

<comment>See Also:</comment>
   * <strong>eio_grp()</strong>
   * <strong>eio_grp_cancel()</strong>
   * <strong>eio_grp_limit()</strong>


id: eio_grp_cancel
type: function
doc:
<comment>Description:</comment>
  Cancels a request group
  
  <strong>eio_grp_cancel()</strong> cancels a group request specified by <strong>$grp</strong> request group resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp</strong>  The request group resource returned by <strong>eio_grp()</strong>.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>eio_grp()</strong>
   * <strong>eio_grp_add()</strong>


id: eio_grp_limit
type: function
doc:
<comment>Description:</comment>
  Set group limit
  
  Limit number of requests in the request group.

<comment>Param:</comment>
  <info>resource</info>  <strong>$grp  </strong>  The request group resource.
  <info>int     </info>  <strong>$limit</strong>  Number of requests in the group.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: eio_init
type: function
doc:
<comment>Description:</comment>
  (Re-)initialize Eio
  
  <strong>eio_init()</strong> (re-)initializes Eio. It allocates memory for internal structures of libeio and Eio
  itself. You may call <strong>eio_init()</strong> before using Eio functions. Otherwise it will be called internally
  first time you invoke an Eio function in a process.
  
   Această facilitate învechită
  cu siguranță va fi
  eliminată în viitor. Since Eio 1.1.0 <strong>eio_init()</strong> is deprecated. In Eio 1.0.0 because of libeio's
  restrictions you must call <strong>eio_init()</strong> in child process, if you fork one by any means. You have to
  avoid using Eio in parent process, if you use it in childs.
  
  Această facilitate învechită
  cu siguranță va fi
  eliminată în viitor. Since Eio 1.1.0 <strong>eio_init()</strong> is deprecated. In Eio 1.0.0 because of libeio's
  restrictions you must call <strong>eio_init()</strong> in child process, if you fork one by any means. You have to
  avoid using Eio in parent process, if you use it in childs.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.


id: eio_link
type: function
doc:
<comment>Description:</comment>
  Create a hardlink for file
  
  <strong>eio_link()</strong> creates a hardlink <strong>$new_path</strong> for a file specified by <strong>$path</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Source file path.
  <info>string  </info>  <strong>$new_path</strong>  Target file path.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  

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


id: eio_lstat
type: function
doc:
<comment>Description:</comment>
  Get file status
  
  <strong>eio_lstat()</strong> returns file status information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  The file path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_lstat()</strong> returns request resource on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>eio_stat()</strong>
   * <strong>eio_fstat()</strong>


id: eio_mkdir
type: function
doc:
<comment>Description:</comment>
  Create directory
  
  <strong>eio_mkdir()</strong> creates directory with specified access <strong>$mode</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path for the new directory.
  <info>int     </info>  <strong>$mode    </strong>  Access mode, e.g. 0755
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_mkdir()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_mknod
type: function
doc:
<comment>Description:</comment>
  Create a special or ordinary file
  
  <strong>eio_mknod()</strong> creates ordinary or special(often) file.
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path for the new node(file).
  <info>int     </info>  <strong>$mode    </strong>  Specifies both the permissions to use and the type of node to be created. It
                       should be a combination (using bitwise OR) of one of the file types listed
                       below and the permissions for the new node(e.g. 0640).
                        Possible file types are: <info>EIO_S_IFREG</info>(regular file), <info>EIO_S_IFCHR</info>(character
                       file), <info>EIO_S_IFBLK</info>(block special file), <info>EIO_S_IFIFO</info>(FIFO - named pipe) and
                       <info>EIO_S_IFSOCK</info>(UNIX domain socket).
                        To specify permissions EIO_S_I* constants could be used.
  <info>int     </info>  <strong>$dev     </strong>  If  the  file type is <info>EIO_S_IFCHR</info> or <info>EIO_S_IFBLK</info> then dev specifies the major
                       and minor numbers of the newly created device special file. Otherwise <strong>$dev</strong>
                       ignored. See mknod(2) man page for details.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_mknod()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_nop
type: function
doc:
<comment>Description:</comment>
  Does nothing, except go through the whole request cycle
  
  <strong>eio_nop()</strong> does nothing, except go through the whole request cycle. Could be useful in debugging.

<comment>Param:</comment>
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_nop()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_npending
type: function
doc:
<comment>Description:</comment>
  Returns number of finished, but unhandled requests
  
  <strong>eio_npending()</strong> returns number of finished, but unhandled requests

<comment>Return:</comment>
  <info>int</info>  <strong>eio_npending()</strong> returns number of finished, but unhandled requests.

<comment>See Also:</comment>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nthreads()</strong>


id: eio_nready
type: function
doc:
<comment>Description:</comment>
  Returns number of not-yet handled requests

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nready()</strong> returns number of not-yet handled requests

<comment>See Also:</comment>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nthreads()</strong>


id: eio_nreqs
type: function
doc:
<comment>Description:</comment>
  Returns number of requests to be processed
  
  <strong>eio_nreqs()</strong> could be called in a custom loop calling <strong>eio_poll()</strong>.

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nreqs()</strong> returns number of requests to be processed.

<comment>See Also:</comment>
   * <strong>eio_poll()</strong>
   * <strong>eio_nready()</strong>


id: eio_nthreads
type: function
doc:
<comment>Description:</comment>
  Returns number of threads currently in use

<comment>Return:</comment>
  <info>int</info>  <strong>eio_nthreads()</strong> returns number of threads currently in use.

<comment>See Also:</comment>
   * <strong>eio_npending()</strong>
   * <strong>eio_nready()</strong>
   * <strong>eio_nreqs()</strong>
   * <strong>eio_set_max_idle()</strong>
   * <strong>eio_set_max_parallel()</strong>
   * <strong>eio_set_min_parallel()</strong>


id: eio_open
type: function
doc:
<comment>Description:</comment>
  Opens a file
  
  <strong>eio_open()</strong> opens file specified by <strong>$path</strong> in access mode <strong>$mode</strong> with

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path of the file to be opened.  In some SAPIs(e.g. PHP-FPM) it could fail, if
                       you don't specify full path.
                       
                       In some SAPIs(e.g. PHP-FPM) it could fail, if you don't specify full path.
  <info>int     </info>  <strong>$flags   </strong>  One of EIO_O_* constants, or their combinations. EIO_O_* constants have the
                       same meaning, as their corresponding O_* counterparts defined in <return>fnctl.h</return> C
                       header file. Default is <info>EIO_O_RDWR</info>.
  <info>int     </info>  <strong>$mode    </strong>  One of EIO_S_I* constants, or their combination (via bitwise OR operator).
                       The constants have the same meaning as their S_I* counterparts defined in
                       sys/stat.h C header file. Required, if a file is created. Otherwise ignored.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_open()</strong> returns file descriptor in <strong>$result</strong> argument of <strong>$callback</strong> on success;
            otherwise, <strong>$result</strong> is equal to <info>-1</info>.

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


id: eio_poll
type: function
doc:
<comment>Description:</comment>
  Can be to be called whenever there are pending requests that need finishing
  
  <strong>eio_poll()</strong> can be used to implement special event loop. For this <strong>eio_nreqs()</strong> could be used to test
  if there are unprocessed requests.
  
  Applicable only when implementing userspace event loop.

<comment>Return:</comment>
  <info>int</info>  If any request invocation returns a non-zero value, returns that value. Otherwise, it returns
       <info>0</info>.

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


id: eio_read
type: function
doc:
<comment>Description:</comment>
  Read from a file descriptor at given offset
  
  <strong>eio_read()</strong> reads up to <strong>$length</strong> bytes from <strong>$fd</strong> file descriptor at <strong>$offset</strong>. The read bytes are
  stored in <strong>$result</strong> argument of <strong>$callback</strong>.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor
  <info>int     </info>  <strong>$length  </strong>  Maximum number of bytes to read.
  <info>int     </info>  <strong>$offset  </strong>  Offset within the file.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_read()</strong> stores read bytes in <strong>$result</strong> argument of <strong>$callback</strong> function.

<comment>See Also:</comment>
   * <strong>eio_open()</strong>
   * <strong>eio_write()</strong>
   * <strong>eio_close()</strong>
   * <strong>eio_event_loop()</strong>


id: eio_readahead
type: function
doc:
<comment>Description:</comment>
  Perform file readahead into page cache
  
  <strong>eio_readahead()</strong> populates the page cache with data from a file so that subsequent reads from that
  file will not block on disk I/O. See <return>READAHEAD(2)</return> man page for details.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor
  <info>int     </info>  <strong>$offset  </strong>  Starting point from which data is to be read.
  <info>int     </info>  <strong>$length  </strong>  Number of bytes to be read.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_readahead()</strong> returns request resource on success or <info>false</info> on error.


id: eio_readdir
type: function
doc:
<comment>Description:</comment>
  Reads through a whole directory
  
  Reads through a whole directory(via the <return>opendir</return>, <return>readdir</return> and <return>closedir</return> system calls) and returns
  either the names or an array in <strong>$result</strong> argument of <strong>$callback</strong> function, depending on the <strong>$flags</strong>
  argument.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Directory path.
  <info>int     </info>  <strong>$flags   </strong>  Combination of EIO_READDIR_* constants.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_readdir()</strong> returns request resource on success, or <info>false</info> on error. Sets <strong>$result</strong>
            argument of <strong>$callback</strong> function according to <strong>$flags</strong>:
            
            <info>EIO_READDIR_DENTS</info> (<info>int</info>) <strong>eio_readdir()</strong> flag. If specified, the result argument of the
            callback becomes an array with the following keys: <return>'names'</return> - array of directory names
            <return>'dents'</return> - array of <return>struct eio_dirent</return>-like arrays having the following keys each: <return>'name'</return>
            - the directory name; <return>'type'</return> - one of EIO_DT_* constants; <return>'inode'</return> - the inode number, if
            available, otherwise unspecified; <info>EIO_READDIR_DIRS_FIRST</info> (<info>int</info>)  When this flag is
            specified, the names will be returned in an order where likely directories come first,
            in optimal stat order. <info>EIO_READDIR_STAT_ORDER</info> (<info>int</info>)  When this flag is specified, then
            the names will be returned in an order suitable for <return>stat</return>'ing each one. When planning to
            <strong>stat()</strong> all files in the given directory, the returned order will likely be fastest.
            <info>EIO_READDIR_FOUND_UNKNOWN</info> (<info>int</info>)
             
            
            <strong>eio_readdir()</strong> flag. If specified, the result argument of the callback becomes an array
            with the following keys: <return>'names'</return> - array of directory names <return>'dents'</return> - array of <return>struct
            eio_dirent</return>-like arrays having the following keys each: <return>'name'</return> - the directory name;
            <return>'type'</return> - one of EIO_DT_* constants; <return>'inode'</return> - the inode number, if available, otherwise
            unspecified;
            
            When this flag is specified, the names will be returned in an order where likely
            directories come first, in optimal stat order.
            
            When this flag is specified, then the names will be returned in an order suitable for
            <return>stat</return>'ing each one. When planning to <strong>stat()</strong> all files in the given directory, the
            returned order will likely be fastest.
            
            Node types: <info>EIO_DT_UNKNOWN</info> (<info>int</info>)  Unknown node type(very common). Further <strong>stat()</strong> needed.
            <info>EIO_DT_FIFO</info> (<info>int</info>)  FIFO node type <info>EIO_DT_CHR</info> (<info>int</info>)  Node type <info>EIO_DT_MPC</info> (<info>int</info>)
            Multiplexed char device (v7+coherent) node type <info>EIO_DT_DIR</info> (<info>int</info>)  Directory node type
            <info>EIO_DT_NAM</info> (<info>int</info>)  Xenix special named file node type <info>EIO_DT_BLK</info> (<info>int</info>)  Node type
            <info>EIO_DT_MPB</info> (<info>int</info>)  Multiplexed block device (v7+coherent) <info>EIO_DT_REG</info> (<info>int</info>)  Node type
            <info>EIO_DT_NWK</info> (<info>int</info>)  <info>EIO_DT_CMP</info> (<info>int</info>)  HP-UX network special node type <info>EIO_DT_LNK</info> (<info>int</info>)
            Link node type <info>EIO_DT_SOCK</info> (<info>int</info>)  Socket node type <info>EIO_DT_DOOR</info> (<info>int</info>)  Solaris door node
            type <info>EIO_DT_WHT</info> (<info>int</info>)  Node type <info>EIO_DT_MAX</info> (<info>int</info>)  Highest node type value
            
            Unknown node type(very common). Further <strong>stat()</strong> needed.
            
            FIFO node type
            
            Node type
            
            Multiplexed char device (v7+coherent) node type
            
            Directory node type
            
            Xenix special named file node type
            
            Node type
            
            Multiplexed block device (v7+coherent)
            
            Node type
            
            HP-UX network special node type
            
            Link node type
            
            Socket node type
            
            Solaris door node type
            
            Node type
            
            Highest node type value


id: eio_readlink
type: function
doc:
<comment>Description:</comment>
  Read value of a symbolic link

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Source symbolic link path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_readlink()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_realpath
type: function
doc:
<comment>Description:</comment>
  Get the canonicalized absolute pathname
  
  <strong>eio_realpath()</strong> returns the canonicalized absolute pathname in <strong>$result</strong> argument of <strong>$callback</strong>
  function.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Short pathname
  <info>int     </info>  <strong>$pri     </strong>  
  <info>callable</info>  <strong>$callback</strong>  
  <info>string  </info>  <strong>$data    </strong>  

<comment>Return:</comment>
  <info>resource</info>  


id: eio_rename
type: function
doc:
<comment>Description:</comment>
  Change the name or location of a file
  
  <strong>eio_rename()</strong> renames or moves a file to new location.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Source path
  <info>string  </info>  <strong>$new_path</strong>  Target path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_rename()</strong> returns request resource on success or <info>false</info> on error.


id: eio_rmdir
type: function
doc:
<comment>Description:</comment>
  Remove a directory
  
  <strong>eio_rmdir()</strong> removes a directory.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Directory path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_rmdir()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_seek
type: function
doc:
<comment>Description:</comment>
  Repositions the offset of the open file associated with the fd argument to the argument offset
  according to the directive whence
  
  <strong>eio_seek()</strong> repositions the offset of the open file associated with  stream, Socket resource, or
  file descriptor specified by <strong>$fd</strong> to the argument <strong>$offset</strong> according to the directive <strong>$whence</strong> as
  follows: <info>EIO_SEEK_SET</info> - Set position equal to <strong>$offset</strong> bytes.<info>EIO_SEEK_CUR</info> - Set position to current
  location plus <strong>$offset</strong>.<info>EIO_SEEK_END</info> - Set position to end-of-file plus <strong>$offset</strong>.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor
  <info>int     </info>  <strong>$offset  </strong>  Starting point from which data is to be read.
  <info>        </info>  <strong>$length  </strong>  Number of bytes to be read.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_seek()</strong> returns request resource on success or <info>false</info> on error.


id: eio_sendfile
type: function
doc:
<comment>Description:</comment>
  Transfer data between file descriptors
  
  <strong>eio_sendfile()</strong> copies  data between one file descriptor and another. See <return>SENDFILE(2)</return> man page for
  details.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$out_fd  </strong>  Output stream, Socket resource, or file descriptor. Should be opened for
                       writing.
  <info>mixed   </info>  <strong>$in_fd   </strong>  Input stream, Socket resource, or file descriptor. Should be opened for
                       reading.
  <info>int     </info>  <strong>$offset  </strong>  Offset within the source file.
  <info>int     </info>  <strong>$length  </strong>  Number of bytes to copy.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>string  </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_sendfile()</strong> returns request resource on success or <info>false</info> on error.


id: eio_set_max_idle
type: function
doc:
<comment>Description:</comment>
  Set maximum number of idle threads

<comment>Param:</comment>
  <info>int</info>  <strong>$nthreads</strong>  Number of idle threads.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>eio_nthreads()</strong>
   * <strong>eio_set_min_parallel()</strong>
   * <strong>eio_set_max_parallel()</strong>


id: eio_set_max_parallel
type: function
doc:
<comment>Description:</comment>
  Set maximum parallel threads

<comment>Param:</comment>
  <info>int</info>  <strong>$nthreads</strong>  Number of parallel threads

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>eio_nthreads()</strong>
   * <strong>eio_set_max_idle()</strong>
   * <strong>eio_set_min_parallel()</strong>


id: eio_set_max_poll_reqs
type: function
doc:
<comment>Description:</comment>
  Set maximum number of requests processed in a poll

<comment>Param:</comment>
  <info>int</info>  <strong>$nreqs</strong>  Number of requests

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.


id: eio_set_max_poll_time
type: function
doc:
<comment>Description:</comment>
  Set maximum poll time
  
  Polling stops, if poll took longer than <strong>$nseconds</strong> seconds.

<comment>Param:</comment>
  <info>float</info>  <strong>$nseconds</strong>  Number of seconds

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.


id: eio_set_min_parallel
type: function
doc:
<comment>Description:</comment>
  Set minimum parallel thread number

<comment>Param:</comment>
  <info>string</info>  <strong>$nthreads</strong>  Number of parallel threads.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

<comment>See Also:</comment>
   * <strong>eio_nthreads()</strong>
   * <strong>eio_set_max_idle()</strong>
   * <strong>eio_set_max_parallel()</strong>


id: eio_stat
type: function
doc:
<comment>Description:</comment>
  Get file status
  
  <strong>eio_stat()</strong> returns file status information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  The file path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_stat()</strong> returns request resource on success or <info>false</info> on error. On success assigns
            <strong>$result</strong> argument of <strong>$callback</strong> to an array.

<comment>See Also:</comment>
   * <strong>eio_lstat()</strong>
   * <strong>eio_fstat()</strong>


id: eio_statvfs
type: function
doc:
<comment>Description:</comment>
  Get file system statistics
  
  <strong>eio_statvfs()</strong> returns file system statistics information in <strong>$result</strong> argument of <strong>$callback</strong>

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Pathname of any file within the mounted file system
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_statvfs()</strong> returns request resource on success or <info>false</info> on error. On success assigns
            <strong>$result</strong> argument of <strong>$callback</strong> to an array.


id: eio_symlink
type: function
doc:
<comment>Description:</comment>
  Create a symbolic link
  
  <strong>eio_symlink()</strong> creates a symbolic link <strong>$new_path</strong> to <strong>$path</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Source path
  <info>string  </info>  <strong>$new_path</strong>  Target path
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_symlink()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_sync
type: function
doc:
<comment>Description:</comment>
  Commit buffer cache to disk

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_sync()</strong> returns request resource on success or <info>false</info> on error.


id: eio_sync_file_range
type: function
doc:
<comment>Description:</comment>
  Sync a file segment with disk
  
  <strong>eio_sync_file_range()</strong> permits fine control when synchronizing the open file referred to by the
  file descriptor <strong>$fd</strong> with disk.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  File descriptor
  <info>int     </info>  <strong>$offset  </strong>  The starting byte of the file range to be synchronized
  <info>int     </info>  <strong>$nbytes  </strong>  Specifies the length of the range to be synchronized, in bytes. If <strong>$nbytes</strong> is
                       zero, then all bytes from <strong>$offset</strong> through to the end of file are
                       synchronized.
  <info>int     </info>  <strong>$flags   </strong>  A bit-mask. Can include any of the following values:
                       <info>EIO_SYNC_FILE_RANGE_WAIT_BEFORE</info>, <info>EIO_SYNC_FILE_RANGE_WRITE</info>,
                       <info>EIO_SYNC_FILE_RANGE_WAIT_AFTER</info>. These flags have the same meaning as their
                       SYNC_FILE_RANGE_* counterparts(see <return>SYNC_FILE_RANGE(2)</return> man page).
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_sync_file_range()</strong> returns request resource on success or <info>false</info> on error.


id: eio_syncfs
type: function
doc:
<comment>Description:</comment>
  Calls Linux' syncfs syscall, if available

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  File descriptor
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_syncfs()</strong> returns request resource on success or <info>false</info> on error.


id: eio_truncate
type: function
doc:
<comment>Description:</comment>
  Truncate a file
  
  <strong>eio_truncate()</strong> causes the regular file named by <strong>$path</strong> to be truncated to a size of precisely
  <strong>$length</strong> bytes

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  File path
  <info>int     </info>  <strong>$offset  </strong>  Offset from beginning of the file.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_busy()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_unlink
type: function
doc:
<comment>Description:</comment>
  Delete a name and possibly the file it refers to
  
  <strong>eio_unlink()</strong> deletes  a  name from the file system.

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path to file
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_unlink()</strong> returns request resource on success or <info>false</info> on error.


id: eio_utime
type: function
doc:
<comment>Description:</comment>
  Change file last access and modification times

<comment>Param:</comment>
  <info>string  </info>  <strong>$path    </strong>  Path to the file.
  <info>float   </info>  <strong>$atime   </strong>  Access time
  <info>float   </info>  <strong>$mtime   </strong>  Modification time
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_utime()</strong> returns request resource on success or <info>false</info> on error.

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


id: eio_write
type: function
doc:
<comment>Description:</comment>
  Write to file
  
  <strong>eio_write()</strong> writes up to <strong>$length</strong> bytes from <strong>$str</strong> at <strong>$offset</strong> offset from the beginning of the file.

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$fd      </strong>  Stream, Socket resource, or numeric file descriptor, e.g. returned by
                       <strong>eio_open()</strong>
  <info>string  </info>  <strong>$str     </strong>  Source string
  <info>int     </info>  <strong>$length  </strong>  Maximum number of bytes to write.
  <info>int     </info>  <strong>$offset  </strong>  Offset from the beginning of file.
  <info>int     </info>  <strong>$pri     </strong>  Prioritatea cererii: <info>EIO_PRI_DEFAULT</info>, <info>EIO_PRI_MIN</info>, <info>EIO_PRI_MAX</info> sau <info>null</info>.
                       Dacă este transmis <info>null</info>, <strong>$pri</strong> este stabilit intern la
                       valoarea <info>EIO_PRI_DEFAULT</info>.
  <info>callable</info>  <strong>$callback</strong>  Funcția <strong>$callback</strong>
                       este apelată atunci când o interpelare este încheiată. Ea trebuie să
                       corespundă
                       următorului prototip: 
                       <strong>$data</strong>sunt niște date personalizate transmise în cerere.<strong>$result</strong>conține
                       rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.<strong>$req</strong>este o resursă a cererii opțională ce
                       poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
                       
                       sunt niște date personalizate transmise în cerere.
                       
                       conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
                       
                       este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  sunt niște date personalizate transmise în cerere.
  <info>        </info>  <strong>$result  </strong>  conține rezultatul specific cererii; în esență, valoarea întoarsă
                       de apelul de sistem corespunzător.
  <info>        </info>  <strong>$req     </strong>  este o resursă a cererii opțională ce poate fi utilizată cu
                       funcții precum <strong>eio_get_last_error()</strong>
  <info>mixed   </info>  <strong>$data    </strong>  Arbitrary variable passed to <strong>$callback</strong>.

<comment>Return:</comment>
  <info>resource</info>  <strong>eio_write()</strong> returns request resource on success or <info>false</info> on error.

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


id: empty
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este vidă
  
  Determină dacă o variabilă este considerată vidă. O variabilă este considerată vidă dacă ea nu
  există, sau dacă valoarea ei este egală cu <info>false</info>. Funcția <strong>empty()</strong> nu generează o avertizare dacă
  variabila nu există.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabla pentru a fi verificată
               
               Anterior versiunii PHP 5.5, <strong>empty()</strong> susține doar variabile; orice altceva va duce la
               o eroare de interpretare. Cu alte cuvinte, următoarea comandă nu va funcționa:
               empty(trim($name)). În loc, utilizați trim($name) == false.
               
               Nici o avertizare nu este generată dacă variabila nu există. Aceasta înseamnă că
               <strong>empty()</strong> este în esență varianta prescurtată a !isset($var) || $var == false.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>false</info> dacă <strong>$var</strong> are o valoare nevidă și neegală cu zero. În caz contrar, întoarce
        <info>true</info>.
        
        Următoarele valori sunt considerate a fi vide: <return>""</return> (un string vid)<return>0</return> (0 în calitate de
        integer)<return>0.0</return> (0 în calitate de float)<return>"0"</return> (0 în calitate de string)<info>null</info><info>false</info><return>array()</return> (un tablou
        vid)

<comment>See Also:</comment>
   * <strong>isset()</strong>
   * __isset()
   * <strong>unset()</strong>
   * <strong>array_key_exists()</strong>
   * <strong>count()</strong>
   * <strong>strlen()</strong>
   * Tabelele de comparare a tipurilor


id: enchant_broker_describe
type: function
doc:
<comment>Description:</comment>
  Enumerates the Enchant providers
  
  Enumerates the Enchant providers and tells you some rudimentary information about them. The same
  info is provided through phpinfo().

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an <info>array</info> of available Enchant providers with their details.


id: enchant_broker_dict_exists
type: function
doc:
<comment>Description:</comment>
  Whether a dictionary exists or not. Using non-empty tag
  
  Tells if a dictionary exists or not, using a non-empty tags

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>string       </info>  <strong>$tag   </strong>  non-empty tag in the LOCALE format, ex: us_US, ch_DE, etc.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> when the tag exist or <info>false</info> when not.

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


id: enchant_broker_free
type: function
doc:
<comment>Description:</comment>
  Free the broker resource and its dictionaries
  
  Free a broker resource with all its dictionaries.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: enchant_broker_free_dict
type: function
doc:
<comment>Description:</comment>
  Free a dictionary resource
  
  Free a dictionary resource.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>enchant_broker_request_dict()</strong>
   * <strong>enchant_broker_request_pwl_dict()</strong>


id: enchant_broker_get_dict_path
type: function
doc:
<comment>Description:</comment>
  Get the directory path for a given backend
  
  Get the directory path for a given backend.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>int          </info>  <strong>$type  </strong>  The type of the dictionaries, i.e. <info>ENCHANT_MYSPELL</info> or <info>ENCHANT_ISPELL</info>.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the path of the dictionary directory on success sau <info>false</info> în cazul eșecului.

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


id: enchant_broker_get_error
type: function
doc:
<comment>Description:</comment>
  Returns the last error of the broker
  
  Returns the last error which occurred in this broker.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.

<comment>Return:</comment>
  <info>stringfalse</info>  Return the msg string if an error was found or <info>false</info>


id: enchant_broker_init
type: function
doc:
<comment>Description:</comment>
  Create a new broker object capable of requesting

<comment>Return:</comment>
  <info>EnchantBrokerfalse</info>  Returns a broker resource on success or <info>false</info>.

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


id: enchant_broker_list_dicts
type: function
doc:
<comment>Description:</comment>
  Returns a list of available dictionaries
  
  Returns a list of available dictionaries with their details.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an <info>array</info> of available dictionaries with their details.

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


id: enchant_broker_request_dict
type: function
doc:
<comment>Description:</comment>
  Create a new dictionary using a tag
  
  create a new dictionary using tag, the non-empty language tag you wish to request a dictionary for
  ("en_US", "de_DE", ...)

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>string       </info>  <strong>$tag   </strong>  A tag describing the locale, for example en_US, de_DE

<comment>Return:</comment>
  <info>EnchantDictionaryfalse</info>  Returns a dictionary resource on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>enchant_dict_describe()</strong>
   * <strong>enchant_broker_dict_exists()</strong>
   * <strong>enchant_broker_free_dict()</strong>


id: enchant_broker_request_pwl_dict
type: function
doc:
<comment>Description:</comment>
  Creates a dictionary using a PWL file
  
  Creates a dictionary using a PWL file. A PWL file is personal word file one word per line.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker  </strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>string       </info>  <strong>$filename</strong>  Path to the PWL file. If there is no such file, a new one will be
                            created if possible.

<comment>Return:</comment>
  <info>EnchantDictionaryfalse</info>  Returns a dictionary resource on success sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>enchant_dict_describe()</strong>
   * <strong>enchant_broker_dict_exists()</strong>
   * <strong>enchant_broker_free_dict()</strong>


id: enchant_broker_set_dict_path
type: function
doc:
<comment>Description:</comment>
  Set the directory path for a given backend
  
  Set the directory path for a given backend.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker</strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>int          </info>  <strong>$type  </strong>  The type of the dictionaries, i.e. <info>ENCHANT_MYSPELL</info> or <info>ENCHANT_ISPELL</info>.
  <info>string       </info>  <strong>$path  </strong>  The path of the dictionary directory.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

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


id: enchant_broker_set_ordering
type: function
doc:
<comment>Description:</comment>
  Declares a preference of dictionaries to use for the language
  
  Declares a preference of dictionaries to use for the language described/referred to by 'tag'. The
  ordering is a comma delimited list of provider names. As a special exception, the "*" tag can be
  used as a language tag to declare a default ordering for any language that does not explicitly
  declare an ordering.

<comment>Param:</comment>
  <info>EnchantBroker</info>  <strong>$broker  </strong>  An Enchant broker returned by <strong>enchant_broker_init()</strong>.
  <info>string       </info>  <strong>$tag     </strong>  Language tag. The special "*" tag can be used as a language tag to
                            declare a default ordering for any language that does not explicitly
                            declare an ordering.
  <info>string       </info>  <strong>$ordering</strong>  Comma delimited list of provider names

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.


id: enchant_dict_add_to_personal
type: function
doc:
<comment>Description:</comment>
  Add a word to personal word list
  
  Add a word to personal word list of the given dictionary.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word      </strong>  The word to add

<comment>Return:</comment>
  <info>void</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>enchant_broker_request_pwl_dict()</strong>
   * <strong>enchant_broker_request_dict()</strong>


id: enchant_dict_add_to_session
type: function
doc:
<comment>Description:</comment>
  Add 'word' to this spell-checking session
  
  Add a word to the given dictionary. It will be added only for the active spell-checking session.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word      </strong>  The word to add

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: enchant_dict_check
type: function
doc:
<comment>Description:</comment>
  Check whether a word is correctly spelled or not
  
  If the word is correctly spelled return <info>true</info>, otherwise return <info>false</info>

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word      </strong>  The word to check

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the word is spelled correctly, <info>false</info> if not.


id: enchant_dict_describe
type: function
doc:
<comment>Description:</comment>
  Describes an individual dictionary
  
  Returns the details of the dictionary.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.

<comment>Return:</comment>
  <info>array</info>  Întoarce valoarea <info>true</info> în cazul
         succesului sau <info>false</info> în cazul eșecului.


id: enchant_dict_get_error
type: function
doc:
<comment>Description:</comment>
  Returns the last error of the current spelling-session
  
  Returns the last error of the current spelling-session

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the error message as string or <info>false</info> if no error occurred.


id: enchant_dict_is_in_session
type: function
doc:
<comment>Description:</comment>
  Whether or not 'word' exists in this spelling-session
  
  Tells whether or not a word already exists in the current session.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word      </strong>  The word to lookup

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the word exists or <info>false</info>

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


id: enchant_dict_quick_check
type: function
doc:
<comment>Description:</comment>
  Check the word is correctly spelled and provide suggestions
  
  If the word is correctly spelled return <info>true</info>, otherwise return <info>false</info>, if suggestions variable is
  provided, fill it with spelling alternatives.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary </strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong>
                                   or <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word       </strong>  The word to check
  <info>array            </info>  <strong>$suggestions</strong>  If the word is not correctly spelled, this variable will contain
                                   an array of suggestions.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the word is correctly spelled or <info>false</info>

<comment>See Also:</comment>
   * <strong>enchant_dict_check()</strong>
   * <strong>enchant_dict_suggest()</strong>


id: enchant_dict_store_replacement
type: function
doc:
<comment>Description:</comment>
  Add a correction for a word
  
  Add a correction for 'mis' using 'cor'. Notes that you replaced @mis with @cor, so it's possibly
  more likely that future occurrences of @mis will be replaced with @cor. So it might bump @cor up
  in the suggestion list.

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$misspelled</strong>  The work to fix
  <info>string           </info>  <strong>$correct   </strong>  The correct word

<comment>Return:</comment>
  <info>void</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.


id: enchant_dict_suggest
type: function
doc:
<comment>Description:</comment>
  Will return a list of values if any of those pre-conditions are not met

<comment>Param:</comment>
  <info>EnchantDictionary</info>  <strong>$dictionary</strong>  An Enchant dictionary returned by <strong>enchant_broker_request_dict()</strong> or
                                  <strong>enchant_broker_request_pwl_dict()</strong>.
  <info>string           </info>  <strong>$word      </strong>  Word to use for the suggestions.

<comment>Return:</comment>
  <info>array</info>  Will returns an array of suggestions if the word is bad spelled.

<comment>See Also:</comment>
   * <strong>enchant_dict_check()</strong>
   * <strong>enchant_dict_quick_check()</strong>


id: end
type: function
doc:
<comment>Description:</comment>
  Set the internal pointer of an array to its last element
  
  <strong>end()</strong> advances <strong>$array</strong>'s internal pointer to the last element, and returns its value.

<comment>Param:</comment>
  <info>arrayobject</info>  <strong>$array</strong>  The array.  This array is passed by reference because it is modified by the
                       function.  This means you must pass it a real variable and not a function
                       returning an array because only actual variables may be passed by reference.

<comment>Return:</comment>
  <info>mixed</info>  Returns the value of the last element or <info>false</info> for empty array.

<comment>See Also:</comment>
   * <strong>current()</strong>
   * <strong>each()</strong>
   * <strong>prev()</strong>
   * <strong>reset()</strong>
   * <strong>next()</strong>
   * <strong>array_key_last()</strong>


id: ereg
type: function
doc:
<comment>Description:</comment>
  Regular expression match
  
  Searches a <strong>$string</strong> for matches to the regular expression given in <strong>$pattern</strong> in a case-sensitive
  way.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern</strong>  Case sensitive regular expression.
  <info>string</info>  <strong>$string </strong>  The input string.
  <info>array </info>  <strong>$regs   </strong>  If matches are found for parenthesized substrings of <strong>$pattern</strong> and the function
                    is called with the third argument <strong>$regs</strong>, the matches will be stored in the
                    elements of the array <strong>$regs</strong>.
                    
                    $regs[1] will contain the substring which starts at the first left parenthesis;
                    $regs[2] will contain the substring starting at the second, and so on. $regs[0]
                    will contain a copy of the complete string matched.

<comment>Return:</comment>
  <info>int</info>  Returns the length of the matched string if a match for <strong>$pattern</strong> was found in <strong>$string</strong>, or
       <info>false</info> if no matches were found or an error occurred.
       
       If the optional parameter <strong>$regs</strong> was not passed or the length of the matched string is <return>0</return>, this
       function returns <return>1</return>.

<comment>See Also:</comment>
   * <strong>eregi()</strong>
   * <strong>ereg_replace()</strong>
   * <strong>eregi_replace()</strong>
   * <strong>preg_match()</strong>
   * <strong>strpos()</strong>
   * <strong>strstr()</strong>
   * <strong>quotemeta()</strong>


id: ereg_replace
type: function
doc:
<comment>Description:</comment>
  Replace regular expression
  
  This function scans <strong>$string</strong> for matches to <strong>$pattern</strong>, then replaces the matched text with
  <strong>$replacement</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern    </strong>  A POSIX extended regular expression.
  <info>string</info>  <strong>$replacement</strong>  If <strong>$pattern</strong> contains parenthesized substrings, <strong>$replacement</strong> may contain
                        substrings of the form <return>\digit</return>, which will be replaced by the text matching
                        the digit'th parenthesized substring;  <return>\0</return> will produce the entire contents
                        of string. Up to nine substrings may be used. Parentheses may be nested, in
                        which case they are counted by the opening parenthesis.
  <info>string</info>  <strong>$string     </strong>  The input string.

<comment>Return:</comment>
  <info>string</info>  The modified string is returned. If no matches are found in  <strong>$string</strong>, then it will be
          returned unchanged.

<comment>See Also:</comment>
   * <strong>ereg()</strong>
   * <strong>eregi()</strong>
   * <strong>eregi_replace()</strong>
   * <strong>str_replace()</strong>
   * <strong>preg_replace()</strong>
   * <strong>quotemeta()</strong>


id: eregi
type: function
doc:
<comment>Description:</comment>
  Case insensitive regular expression match
  
  This function is identical to <strong>ereg()</strong> except that it ignores case distinction when matching
  alphabetic characters.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern</strong>  Case insensitive regular expression.
  <info>string</info>  <strong>$string </strong>  The input string.
  <info>array </info>  <strong>$regs   </strong>  If matches are found for parenthesized substrings of <strong>$pattern</strong> and the function
                    is called with the third argument <strong>$regs</strong>, the matches will be stored in the
                    elements of the array <strong>$regs</strong>.
                    
                    $regs[1] will contain the substring which starts at the first left parenthesis;
                    $regs[2] will contain the substring starting at the second, and so on. $regs[0]
                    will contain a copy of the complete string matched.

<comment>Return:</comment>
  <info>int</info>  Returns the length of the matched string if a match for <strong>$pattern</strong> was found in <strong>$string</strong>, or
       <info>false</info> if no matches were found or an error occurred.
       
       If the optional parameter <strong>$regs</strong> was not passed or the length of the matched string is <return>0</return>, this
       function returns <return>1</return>.

<comment>See Also:</comment>
   * <strong>ereg()</strong>
   * <strong>ereg_replace()</strong>
   * <strong>eregi_replace()</strong>
   * <strong>preg_match()</strong>
   * <strong>stripos()</strong>
   * <strong>stristr()</strong>
   * <strong>quotemeta()</strong>


id: eregi_replace
type: function
doc:
<comment>Description:</comment>
  Replace regular expression case insensitive
  
  This function is identical to <strong>ereg_replace()</strong> except that this ignores case distinction when
  matching alphabetic characters.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern    </strong>  A POSIX extended regular expression.
  <info>string</info>  <strong>$replacement</strong>  If <strong>$pattern</strong> contains parenthesized substrings, <strong>$replacement</strong> may contain
                        substrings of the form <return>\digit</return>, which will be replaced by the text matching
                        the digit'th parenthesized substring;  <return>\0</return> will produce the entire contents
                        of string. Up to nine substrings may be used. Parentheses may be nested, in
                        which case they are counted by the opening parenthesis.
  <info>string</info>  <strong>$string     </strong>  The input string.

<comment>Return:</comment>
  <info>string</info>  The modified string is returned. If no matches are found in  <strong>$string</strong>, then it will be
          returned unchanged.

<comment>See Also:</comment>
   * <strong>ereg()</strong>
   * <strong>eregi()</strong>
   * <strong>ereg_replace()</strong>
   * <strong>preg_replace()</strong>
   * <strong>quotemeta()</strong>


id: error_clear_last
type: function
doc:
<comment>Description:</comment>
  Clear the most recent error

<comment>Return:</comment>
  <info>void</info>  Clears the most recent errors, making it unable to be retrieved with <strong>error_get_last()</strong>.

<comment>See Also:</comment>
   * Error constants


id: error_get_last
type: function
doc:
<comment>Description:</comment>
  Get the last occurred error
  
  Gets information about the last error that occurred.

<comment>Return:</comment>
  <info>arraynull</info>  Returns an associative array describing the last error with keys "type", "message",
             "file" and "line". If the error has been caused by a PHP internal function then the
             "message" begins with its name. Returns <info>null</info> if there hasn't been an error yet.

<comment>See Also:</comment>
   * Error constants
   * Variable $php_errormsg
   * <strong>error_clear_last()</strong>
   * Directive <strong>$display_errors</strong>
   * Directive <strong>$html_errors</strong>
   * Directive <strong>$xmlrpc_errors</strong>


id: error_log
type: function
doc:
<comment>Description:</comment>
  Trimite un mesaj de eroare către rutinele definite de prelucrare a erorilor
  
  Trimite un mesaj de eroare în log-ul de erori al server-ului web, sau într-un fișier.

<comment>Param:</comment>
  <info>string</info>  <strong>$message      </strong>  Mesajul de eroare ce trebuie logat.
  <info>int   </info>  <strong>$message_type </strong>  Indică unde ar trebui să fie trimisă eroarea. Tipurile posibile ale
                          mesajului sunt următoarele:
                          
                          Tipurile de logări <strong>error_log()</strong>0<strong>$message</strong> este transmis log-ului de sistem
                          al PHP utilizând mecanismul de logare al Sistemului de Operare, sau un
                          fișier, în dependență de setările directivei de configurare error_log.
                          Aceasta este opțiunea implicită. 1<strong>$message</strong> este transmis prin email spre
                          adresa indicată în parametrul <strong>$destination</strong>. Acesta este unicul tip de
                          mesaj, unde se utilizează al patrulea parametru <strong>$extra_headers</strong>. 2 Această
                          opțiune nu mai există deja. 3<strong>$message</strong> este adăugat la sfârșitul fișierului
                          <strong>$destination</strong>. Sfârșitul de linie nu este adăugat automat la string-ul
                          <strong>$message</strong>. 4<strong>$message</strong> este transmis direct spre funcția de logare SAPI.
  <info>string</info>  <strong>$destination  </strong>  Destinația. Semnificația acesteia depinde de valoarea parametrului
                          <strong>$message_type</strong> descris mai sus.
  <info>string</info>  <strong>$extra_headers</strong>  Antete suplimentare. Acestea sunt utilizate în caz că parametrul
                          <strong>$message_type</strong> are valoarea <return>1</return>. Acest tip de mesaj utilizează aceeași
                          funcție internă ca și <strong>mail()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.


id: error_reporting
type: function
doc:
<comment>Description:</comment>
  Stabilește ce erori PHP vor fi raportate
  
  Funcția <strong>error_reporting()</strong> stabilește directiva error_reporting în timpul rulării. PHP posedă multe
  nivele de erori, iar utilizarea acestei funcții vă permite să stabiliți nivelul ce va fi activ pe
  durata execuției script-ului dumneavoastră. Dacă parametrul opțional <strong>$level</strong> nu este stabilit,
  <strong>error_reporting()</strong> va întoarce doar nivelul curent de raportare a erorilor.

<comment>Param:</comment>
  <info>int</info>  <strong>$level</strong>  Noul nivel error_reporting. Poate fi indicat fie printr-o mască de biți, sau prin
               constante denumite. Utilizarea constantelor denumite este încurajată pentru a se
               asigura compatibilitatea cu versiunile viitoare. Odată cu adăugarea noilor nivele de
               erori, domeniul constantelor întregi crește, de aceea nivelele de erori vechi bazate
               pe constante întregi nu se vor comporta întotdeauna conform așteptărilor.
               
               Constantele disponibile ale nivelelor de erori sunt enumărate mai jos. Semnificațiile
               acestor nivele de erori sunt descrise în constante predefinite.

<comment>Return:</comment>
  <info>int</info>  Întoarce vechiul nivel error_reporting sau nivelul curent dacă parametrul <strong>$level</strong> nu este
       furnizat.

<comment>See Also:</comment>
   * Directiva display_errors
   * Directiva html_errors
   * Directiva xmlrpc_errors
   * <strong>ini_set()</strong>


id: escapeshellarg
type: function
doc:
<comment>Description:</comment>
  Escape a string to be used as a shell argument
  
  <strong>escapeshellarg()</strong> adds single quotes around a string and quotes/escapes any existing single quotes
  allowing you to pass a string directly to a shell function and having it be treated as a single
  safe argument.  This function should be used to escape individual arguments to shell functions
  coming from user input.  The shell functions include <strong>exec()</strong>, <strong>system()</strong> and the backtick operator.
  
  On Windows, <strong>escapeshellarg()</strong> instead replaces percent signs, exclamation marks (delayed variable
  substitution) and double quotes with spaces and adds double quotes around the string.

<comment>Param:</comment>
  <info>string</info>  <strong>$arg</strong>  The argument that will be escaped.

<comment>Return:</comment>
  <info>string</info>  The escaped string.

<comment>See Also:</comment>
   * <strong>escapeshellcmd()</strong>
   * <strong>exec()</strong>
   * <strong>popen()</strong>
   * <strong>system()</strong>
   * backtick operator


id: escapeshellcmd
type: function
doc:
<comment>Description:</comment>
  Escape shell metacharacters
  
  <strong>escapeshellcmd()</strong> escapes any characters in a string that might be used to trick a shell command
  into executing arbitrary commands.  This function should be used to make sure that any data coming
  from user input is escaped before this data is passed to the <strong>exec()</strong> or <strong>system()</strong> functions, or to
  the backtick operator.
  
  Following characters are preceded by a backslash: <return>&#;`|*?~\<&gt;^()[]{}$\</return>, <return>\x0A</return> and <return>\xFF</return>. <return>'</return> and <return>"</return> are escaped only if they are not paired. On Windows, all these characters plus <return>%</return> and <return>!</return> are preceded by a caret (<return>^</return>).

<comment>Param:</comment>
  <info>string</info>  <strong>$command</strong>  The command that will be escaped.

<comment>Return:</comment>
  <info>string</info>  The escaped string.

<comment>See Also:</comment>
   * <strong>escapeshellarg()</strong>
   * <strong>exec()</strong>
   * <strong>popen()</strong>
   * <strong>system()</strong>
   * backtick operator


id: eval
type: function
doc:
<comment>Description:</comment>
  Evaluate a string as PHP code
  
  Evaluates the given <strong>$code</strong> as PHP.
  
  The <strong>eval()</strong> language construct is very dangerous because it allows execution of arbitrary PHP code.
  Its use thus is discouraged. If you have carefully verified that there is no other option than to
  use this construct, pay special attention not to pass any user provided data into it without
  properly validating it beforehand.

<comment>Param:</comment>
  <info>string</info>  <strong>$code</strong>  Valid PHP code to be evaluated.
                 
                 The code must not be wrapped in opening and closing PHP tags, i.e. <return>'echo "Hi!";'</return>
                 must be passed instead of <return>'\<?php echo "Hi!"; ?&gt;'</return>. It is still possible to leave and re-enter PHP mode though using the appropriate PHP tags, e.g. <return>'echo "In PHP mode!"; ?&gt;In HTML mode!\<?php echo "Back in PHP mode!";'</return>.
                 
                 Apart from that the passed code must be valid PHP. This includes that all
                 statements must be properly terminated using a semicolon. <return>'echo "Hi!"'</return> for example
                 will cause a parse error, whereas <return>'echo "Hi!";'</return> will work.
                 
                 A <return>return</return> statement will immediately terminate the evaluation of the code.
                 
                 The code will be executed in the scope of the code calling <strong>eval()</strong>. Thus any
                 variables defined or changed in the <strong>eval()</strong> call will remain visible after it
                 terminates.

<comment>Return:</comment>
  <info>mixed</info>  <strong>eval()</strong> returns <info>null</info> unless  <return>return</return> is called in the evaluated code, in which case the value
         passed to <return>return</return> is returned. As of PHP 7, if there is a parse error in the evaluated code,
         <strong>eval()</strong> throws a ParseError exception. Before PHP 7, in this case <strong>eval()</strong> returned <info>false</info> and
         execution of the following code continued normally. It is not possible to catch a parse
         error in <strong>eval()</strong> using <strong>set_error_handler()</strong>.

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


id: exec
type: function
doc:
<comment>Description:</comment>
  Execute an external program
  
  <strong>exec()</strong> executes the given <strong>$command</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$command    </strong>  The command that will be executed.
  <info>array </info>  <strong>$output     </strong>  If the <strong>$output</strong> argument is present, then the specified array will be filled
                        with every line of output from the command.  Trailing whitespace, such as
                        <return>\n</return>, is not included in this array.  Note that if the array already contains
                        some elements, <strong>exec()</strong> will append to the end of the array. If you do not
                        want the function to append elements, call <strong>unset()</strong> on the array before
                        passing it to <strong>exec()</strong>.
  <info>int   </info>  <strong>$result_code</strong>  If the <strong>$result_code</strong> argument is present along with the <strong>$output</strong> argument,
                        then the return status of the executed command will be written to this
                        variable.

<comment>Return:</comment>
  <info>stringfalse</info>  The last line from the result of the command.  If you need to execute a  command and
               have all the data from the command passed directly back without  any interference,
               use the <strong>passthru()</strong> function.
               
               Returns <info>false</info> on failure.
               
               To get the output of the executed command, be sure to set and use the <strong>$output</strong>
               parameter.

<comment>See Also:</comment>
   * <strong>system()</strong>
   * <strong>passthru()</strong>
   * <strong>escapeshellcmd()</strong>
   * <strong>pcntl_exec()</strong>
   * backtick operator


id: exif_imagetype
type: function
doc:
<comment>Description:</comment>
  Determine the type of an image
  
  <strong>exif_imagetype()</strong> reads the first bytes of an image and checks its signature.
  
  <strong>exif_imagetype()</strong> can be used to avoid calls to other  exif functions with unsupported file types
  or in conjunction with $_SERVER['HTTP_ACCEPT'] to check  whether or not the viewer is able to see
  a specific image in the browser.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The image being checked.

<comment>Return:</comment>
  <info>intfalse</info>  When a correct signature is found, the appropriate constant value will be returned
            otherwise the return value is <info>false</info>. The return value is the same value that
            <strong>getimagesize()</strong> returns in index 2 but <strong>exif_imagetype()</strong> is much faster.
            
            <strong>exif_imagetype()</strong> will emit an <info>E_NOTICE</info> and return <info>false</info> if it is unable to read enough
            bytes from the file to determine the image type.

<comment>See Also:</comment>
   * <strong>image_type_to_mime_type()</strong>
   * <strong>getimagesize()</strong>


id: exif_read_data
type: function
doc:
<comment>Description:</comment>
  Reads the EXIF headers from an image file
  
  <strong>exif_read_data()</strong> reads the EXIF headers from an image file. This way you can read meta data
  generated by digital cameras.
  
  EXIF headers tend to be present in JPEG/TIFF images generated by digital cameras, but
  unfortunately each digital camera maker has a different idea of how to actually tag their images,
  so you can't always rely on a specific Exif header being present.
  
  <return>Height</return> and <return>Width</return> are computed the  same way <strong>getimagesize()</strong> does so their values must not be  part
  of any header returned.  Also, <return>html</return> is a  height/width text string to be used inside normal HTML.
  
  When an Exif header contains a Copyright note, this itself can contain two values. As the solution
  is inconsistent in the Exif 2.10 standard, the <return>COMPUTED</return> section will return both entries
  <return>Copyright.Photographer</return> and <return>Copyright.Editor</return> while the <return>IFD0</return> sections contains the byte array with
  the NULL character that splits both entries. Or just the first entry if the datatype was wrong
  (normal behaviour of Exif). The <return>COMPUTED</return> will also contain the entry <return>Copyright</return> which is either the
  original copyright string, or a comma separated list of the photo and editor copyright.
  
  The tag <return>UserComment</return> has the same problem as the Copyright tag. It can store two values.  First the
  encoding used, and second the value itself. If so the <return>IFD</return> section only contains the encoding or a
  byte array. The <return>COMPUTED</return> section will store both in the entries <return>UserCommentEncoding</return> and
  <return>UserComment</return>. The entry <return>UserComment</return> is available in both cases so it should be used in preference
  to the value in <return>IFD0</return> section.
  
  <strong>exif_read_data()</strong> also validates EXIF data tags according to the EXIF specification
  (http://exif.org/Exif2-2.PDF, page 20).
  
  Windows Me/XP can both wipe the Exif headers when connecting to a camera.

<comment>Param:</comment>
  <info>resourcestring</info>  <strong>$file             </strong>  The location of the image file. This can either be a path to
                                      the file (stream wrappers are also supported as usual) or a
                                      stream <info>resource</info>.
  <info>stringnull    </info>  <strong>$required_sections</strong>  Is a comma separated list of sections that need to be present
                                      in file  to produce a result <info>array</info>.  If none of the requested
                                      sections could be found the return value is <info>false</info>.
                                      FILEFileName, FileSize, FileDateTime, SectionsFoundCOMPUTED
                                      html, Width, Height, IsColor, and more if available.  Height
                                      and  Width are computed the same way <strong>getimagesize()</strong> does so
                                      their values must not be part of any header returned.  Also,
                                      <return>html</return> is a height/width text string to be used inside normal
                                      HTML. ANY_TAGAny information that has a Tag e.g. <return>IFD0</return>, <return>EXIF</return>,
                                      ...IFD0 All tagged data of IFD0. In normal imagefiles this
                                      contains image size and so forth. THUMBNAIL A file is supposed
                                      to contain a thumbnail if it has a second <return>IFD</return>. All tagged
                                      information about the embedded thumbnail is stored in  this
                                      section. COMMENTComment headers of JPEG images.EXIF The EXIF
                                      section is a sub section of <return>IFD0</return>. It contains more detailed
                                      information about an image. Most of these entries are digital
                                      camera related.
  <info>bool          </info>  <strong>$as_arrays        </strong>  Specifies whether or not each section becomes an array. The
                                      <strong>$required_sections</strong> <return>COMPUTED</return>, <return>THUMBNAIL</return>, and <return>COMMENT</return>  always
                                      become arrays as they may contain values whose names conflict
                                      with other sections.
  <info>bool          </info>  <strong>$read_thumbnail   </strong>  When set to <info>true</info> the thumbnail itself is read.  Otherwise,
                                      only the tagged data is read.

<comment>Return:</comment>
  <info>arrayfalse</info>  It returns an associative <info>array</info> where the array indexes are  the header names and the
              array values are the values associated with  those headers. If no data can be
              returned,  <strong>exif_read_data()</strong> will return <info>false</info>.

<comment>See Also:</comment>
   * <strong>exif_thumbnail()</strong>
   * <strong>getimagesize()</strong>
   * 


id: exif_tagname
type: function
doc:
<comment>Description:</comment>
  Get the header name for an index

<comment>Param:</comment>
  <info>int</info>  <strong>$index</strong>  The Tag ID for which a Tag Name will be looked up.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the header name, or <info>false</info> if <strong>$index</strong> is not a defined EXIF tag id.

<comment>See Also:</comment>
   * <strong>exif_imagetype()</strong>
   * EXIF Specification
   * EXIF Tags


id: exif_thumbnail
type: function
doc:
<comment>Description:</comment>
  Retrieve the embedded thumbnail of an image
  
  <strong>exif_thumbnail()</strong> reads the embedded thumbnail of an image.
  
  If you want to deliver thumbnails through this function, you should send the mimetype information
  using the <strong>header()</strong> function.
  
  It is possible that <strong>exif_thumbnail()</strong> cannot create an  image but can determine its size. In this
  case, the return value is  <info>false</info> but <strong>$width</strong> and <strong>$height</strong>  are set.

<comment>Param:</comment>
  <info>resourcestring</info>  <strong>$file      </strong>  The location of the image file. This can either be a path to the file
                               or a stream <info>resource</info>.
  <info>int           </info>  <strong>$width     </strong>  The return width of the returned thumbnail.
  <info>int           </info>  <strong>$height    </strong>  The returned height of the returned thumbnail.
  <info>int           </info>  <strong>$image_type</strong>  The returned image type of the returned thumbnail.  This is either
                               TIFF or JPEG.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the embedded thumbnail, or <info>false</info> if the image contains no  thumbnail.

<comment>See Also:</comment>
   * <strong>exif_read_data()</strong>
   * <strong>image_type_to_mime_type()</strong>


id: exit
type: function
doc:
<comment>Description:</comment>
  Output a message and terminate the current script
  
  Terminates execution of the script. Shutdown functions and object destructors will always be
  executed even if <return>exit</return> is called.
  
  <return>exit</return> is a language construct and it can be called without parentheses if no <strong>$status</strong> is passed.

<comment>Param:</comment>
  <info>string</info>  <strong>$status</strong>  If <strong>$status</strong> is a string, this function prints the <strong>$status</strong> just before exiting.
                   
                   If <strong>$status</strong> is an <info>int</info>, that value will be used as the exit status and not printed.
                   Exit statuses should be in the range 0 to 254, the exit status 255 is reserved by
                   PHP and shall not be used. The status 0 is used to terminate the program
                   successfully.

<comment>Return:</comment>
  <info>void</info>  Nu este întoarsă nici o valoare.

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


id: exp
type: function
doc:
<comment>Description:</comment>
  Calculates the exponent of e
  
  Returns <info>e</info> raised to the power of <strong>$num</strong>.
  
  '<info>e</info>' is the base of the natural system of logarithms, or approximately 2.718282.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The argument to process

<comment>Return:</comment>
  <info>float</info>  'e' raised to the power of <strong>$num</strong>

<comment>See Also:</comment>
   * <strong>log()</strong>
   * <strong>pow()</strong>


id: expect_expectl
type: function
doc:
<comment>Description:</comment>
  Waits until the output from a process matches one
    of the patterns, a specified time period has passed, or an EOF is seen
    
  
  Waits until the output from a process matches one of the patterns, a specified time period has
  passed, or an EOF is seen.
  
  If <strong>$match</strong> is provided, then it is filled with the result of search. The matched string can be
  found in <strong>$match[0]</strong>. The match substrings (according to the parentheses) in the original pattern
  can be found in <strong>$match[1]</strong>, <strong>$match[2]</strong>, and so on, up to <strong>$match[9]</strong> (the limitation of libexpect).

<comment>Param:</comment>
  <info>resource</info>  <strong>$expect</strong>  An Expect stream, previously opened with <strong>expect_popen()</strong>.
  <info>array   </info>  <strong>$cases </strong>  An array of expect cases. Each expect case is an indexed array, as described in
                     the following table: Expect Case ArrayIndex KeyValue TypeDescriptionIs
                     MandatoryDefault Value0stringpattern, that will be matched against the output
                     from the streamyes1mixedvalue, that will be returned by this function, if the
                     pattern matchesyes2integer pattern type, one of: <info>EXP_GLOB</info>, <info>EXP_EXACT</info> or
                     <info>EXP_REGEXP</info> no<info>EXP_GLOB</info>

<comment>Return:</comment>
  <info>int</info>  Returns value associated with the pattern that was matched.
       
       On failure this function returns: <info>EXP_EOF</info>, <info>EXP_TIMEOUT</info> or <info>EXP_FULLBUFFER</info>

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


id: expect_popen
type: function
doc:
<comment>Description:</comment>
  Execute command via Bourne shell, and open the PTY stream to
    the process
  
  Execute command via Bourne shell, and open the PTY stream to the process.

<comment>Param:</comment>
  <info>string</info>  <strong>$command</strong>  Command to execute.

<comment>Return:</comment>
  <info>resource</info>  Returns an open PTY stream to the processes <return>stdio</return>, <return>stdout</return>, and <return>stderr</return>.
            
            On failure this function returns <info>false</info>.

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


id: explode
type: function
doc:
<comment>Description:</comment>
  Split a string by a string
  
  Returns an array of strings, each of which is a substring of <strong>$string</strong> formed by splitting it on
  boundaries formed by the string <strong>$separator</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$separator</strong>  The boundary string.
  <info>string</info>  <strong>$string   </strong>  The input string.
  <info>int   </info>  <strong>$limit    </strong>  If <strong>$limit</strong> is set and positive, the returned array will contain a maximum of
                      <strong>$limit</strong> elements with the last element containing the rest of <strong>$string</strong>.
                      
                      If the <strong>$limit</strong> parameter is negative, all components except the last -<strong>$limit</strong>
                      are returned.
                      
                      If the <strong>$limit</strong> parameter is zero, then this is treated as 1.

<comment>Return:</comment>
  <info>array</info>  Returns an <info>array</info> of <info>string</info>s created by splitting the <strong>$string</strong> parameter on boundaries formed
         by the <strong>$separator</strong>.
         
         If <strong>$separator</strong> is an empty <info>string</info> (""), <strong>explode()</strong> will return <info>false</info>. If <strong>$separator</strong> contains
         a value that is not contained in <strong>$string</strong> and a negative <strong>$limit</strong> is used, then an empty <info>array</info>
         will be returned, otherwise an <info>array</info> containing <strong>$string</strong> will be returned.

<comment>See Also:</comment>
   * <strong>preg_split()</strong>
   * <strong>str_split()</strong>
   * <strong>mb_split()</strong>
   * <strong>str_word_count()</strong>
   * <strong>strtok()</strong>
   * <strong>implode()</strong>


id: expm1
type: function
doc:
<comment>Description:</comment>
  Returns exp(number) - 1, computed in a way that is accurate even
     when the value of number is close to zero
    
  
  <strong>expm1()</strong> returns the equivalent to 'exp(<strong>$num</strong>) -  1' computed in a way that is accurate even if the
  value of <strong>$num</strong> is near zero, a case where 'exp (<strong>$num</strong>) - 1' would be inaccurate due to subtraction
  of two numbers that are nearly equal.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The argument to process

<comment>Return:</comment>
  <info>float</info>  'e' to the power of <strong>$num</strong> minus one

<comment>See Also:</comment>
   * <strong>log1p()</strong>
   * <strong>exp()</strong>


id: expression
type: function
doc:
<comment>Description:</comment>
  Bind prepared statement variables as parameters
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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

<comment>Return:</comment>
  <info>object</info>  


id: extension_loaded
type: function
doc:
<comment>Description:</comment>
  Find out whether an extension is loaded
  
  Finds out whether the extension is loaded.

<comment>Param:</comment>
  <info>string</info>  <strong>$name</strong>  The extension name. This parameter is case-insensitive.
                 
                 You can see the names of various extensions by using <strong>phpinfo()</strong> or if you're using
                 the <return>CGI</return> or <return>CLI</return> version of PHP you can use the -m switch to list all available
                 extensions:

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the extension identified by <strong>$name</strong> is loaded, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>get_loaded_extensions()</strong>
   * <strong>get_extension_funcs()</strong>
   * <strong>phpinfo()</strong>
   * <strong>dl()</strong>
   * <strong>function_exists()</strong>


id: extract
type: function
doc:
<comment>Description:</comment>
  Import variables into the current symbol table from an array
  
  Import variables from an array into the current symbol table.
  
  Checks each key to see whether it has a valid variable name.  It also checks for collisions with
  existing variables in the symbol table.
  
  Do not use <strong>extract()</strong> on untrusted data, like user input (e.g. $_GET, $_FILES).

<comment>Param:</comment>
  <info>array </info>  <strong>$array </strong>  An associative array. This function treats keys as variable names and values as
                   variable values.  For each key/value pair it will create a variable in the
                   current symbol table, subject to <strong>$flags</strong> and <strong>$prefix</strong> parameters.
                   
                   You must use an associative array; a numerically indexed array will not produce
                   results unless you use <info>EXTR_PREFIX_ALL</info> or <info>EXTR_PREFIX_INVALID</info>.
  <info>int   </info>  <strong>$flags </strong>  The way invalid/numeric keys and collisions are treated is determined by the
                   extraction <strong>$flags</strong>. It can be one of the following values: <info>EXTR_OVERWRITE</info> If there
                   is a collision, overwrite the existing variable. <info>EXTR_SKIP</info> If there is a
                   collision, don't overwrite the existing variable. <info>EXTR_PREFIX_SAME</info>If there is a
                   collision, prefix the variable name with <strong>$prefix</strong>. <info>EXTR_PREFIX_ALL</info> Prefix all
                   variable names with <strong>$prefix</strong>. <info>EXTR_PREFIX_INVALID</info> Only prefix invalid/numeric
                   variable names with <strong>$prefix</strong>. <info>EXTR_IF_EXISTS</info> Only overwrite the variable if it
                   already exists in the current symbol table, otherwise do nothing.  This is useful
                   for defining a list of valid variables and then extracting only those variables
                   you have defined out of $_REQUEST, for example. <info>EXTR_PREFIX_IF_EXISTS</info> Only create
                   prefixed variable names if the non-prefixed version of the same variable exists
                   in the current symbol table. <info>EXTR_REFS</info> Extracts variables as references. This
                   effectively means that the values of the imported variables are still referencing
                   the values of the <strong>$array</strong> parameter. You can use this flag on its own or combine
                   it with any other flag by OR'ing the <strong>$flags</strong>.
                   
                   If there is a collision, overwrite the existing variable.
                   
                   If there is a collision, don't overwrite the existing variable.
                   
                   If there is a collision, prefix the variable name with <strong>$prefix</strong>.
                   
                   Prefix all variable names with <strong>$prefix</strong>.
                   
                   Only prefix invalid/numeric variable names with <strong>$prefix</strong>.
                   
                   Only overwrite the variable if it already exists in the current symbol table,
                   otherwise do nothing.  This is useful for defining a list of valid variables and
                   then extracting only those variables you have defined out of $_REQUEST, for
                   example.
                   
                   Only create prefixed variable names if the non-prefixed version of the same
                   variable exists in the current symbol table.
                   
                   Extracts variables as references. This effectively means that the values of the
                   imported variables are still referencing the values of the <strong>$array</strong> parameter. You
                   can use this flag on its own or combine it with any other flag by OR'ing the
                   <strong>$flags</strong>.
                   
                   If <strong>$flags</strong> is not specified, it is assumed to be <info>EXTR_OVERWRITE</info>.
  <info>string</info>  <strong>$prefix</strong>  If there is a collision, prefix the variable name with <strong>$prefix</strong>.
  <info>string</info>  <strong>$prefix</strong>  Prefix all variable names with <strong>$prefix</strong>.
  <info>string</info>  <strong>$prefix</strong>  Only prefix invalid/numeric variable names with <strong>$prefix</strong>.
  <info>array </info>  <strong>$array </strong>  Extracts variables as references. This effectively means that the values of the
                   imported variables are still referencing the values of the <strong>$array</strong> parameter. You
                   can use this flag on its own or combine it with any other flag by OR'ing the
                   <strong>$flags</strong>.
  <info>string</info>  <strong>$prefix</strong>  Note that <strong>$prefix</strong> is only required if <strong>$flags</strong> is <info>EXTR_PREFIX_SAME</info>,
                   <info>EXTR_PREFIX_ALL</info>, <info>EXTR_PREFIX_INVALID</info> or <info>EXTR_PREFIX_IF_EXISTS</info>. If the prefixed
                   result is not a valid variable name, it is not imported into the symbol table.
                   Prefixes are automatically separated from the array key by an underscore
                   character.

<comment>Return:</comment>
  <info>int</info>  Returns the number of variables successfully imported into the symbol table.

<comment>See Also:</comment>
   * <strong>compact()</strong>
   * <strong>list()</strong>


id: ezmlm_hash
type: function
doc:
<comment>Description:</comment>
  Calculează valoarea hash necesară EZMLM
  
  <strong>ezmlm_hash()</strong> calculează valoarea hash necesară pentru menținerea listelor poștale EZMLM într-o
  bază de date MySQL.

<comment>Param:</comment>
  <info>string</info>  <strong>$addr</strong>  Adresa email asupra căreia se aplică funcția hash.

<comment>Return:</comment>
  <info>int</info>  Valoarea hash a <strong>$addr</strong>.


id: fann_cascadetrain_on_data
type: function
doc:
<comment>Description:</comment>
  Trains on an entire dataset, for a period of time using the Cascade2 training algorithm
  
  The cascade output change fraction is a number between 0 and 1 determining how large a fraction
  the <strong>fann_get_MSE()</strong> value should change within <strong>fann_get_cascade_output_stagnation_epochs()</strong> during
  training of the output connections, in order for the training not to stagnate.  If the training
  stagnates, the training of the output connections will be ended and new candidates will be
  prepared.
  
  This training uses the parameters set using the fann_set_cascade_..., but it also uses another
  training algorithm as it’s internal training algorithm. This algorithm can be set to either
  <info>FANN_TRAIN_RPROP</info> or <info>FANN_TRAIN_QUICKPROP</info> by <strong>fann_set_training_algorithm()</strong>, and the parameters set
  for these training algorithms will also affect the cascade training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                    </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$data                   </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>int     </info>  <strong>$max_neurons            </strong>  The maximum number of neurons to be added to neural network.
  <info>int     </info>  <strong>$neurons_between_reports</strong>  The number of neurons between printing a status report. A
                                      value of zero means no reports should be printed.
  <info>float   </info>  <strong>$desired_error          </strong>  The desired <strong>fann_get_MSE()</strong> or <strong>fann_get_bit_fail()</strong>, depending
                                      on which stop function is chosen by
                                      <strong>fann_set_train_stop_function()</strong>

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_cascadetrain_on_file()</strong>


id: fann_cascadetrain_on_file
type: function
doc:
<comment>Description:</comment>
  Trains on an entire dataset read from file, for a period of time using the Cascade2 training
  algorithm
  
  Does the same as <strong>fann_cascadetrain_on_data()</strong>, but reads the training data directly from a file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                    </strong>  <info>resource</info> a unei rețele neuronale.
  <info>string  </info>  <strong>$filename               </strong>  A file containing the data for training.
  <info>int     </info>  <strong>$max_neurons            </strong>  The maximum number of neurons to be added to neural network
  <info>int     </info>  <strong>$neurons_between_reports</strong>  The number of neurons between printing a status report. A
                                      value of zero means no reports should be printed.
  <info>float   </info>  <strong>$desired_error          </strong>  The desired <strong>fann_get_MSE()</strong> or <strong>fann_get_bit_fail()</strong>, depending
                                      on which stop function is chosen by
                                      <strong>fann_set_train_stop_function()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_cascadetrain_on_data()</strong>


id: fann_clear_scaling_params
type: function
doc:
<comment>Description:</comment>
  Clears scaling parameters
  
  Clears scaling parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.


id: fann_copy
type: function
doc:
<comment>Description:</comment>
  Creates a copy of a fann structure
  
  Creates a copy of a fann structure.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>resource</info>  Returns a copy of neural network resource on success, or <info>false</info> on error

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


id: fann_create_from_file
type: function
doc:
<comment>Description:</comment>
  Constructs a backpropagation neural network from a configuration file
  
  Constructs a backpropagation neural network from a configuration file, which have been saved by
  <strong>fann_save()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$configuration_file</strong>  The configuration file path.

<comment>Return:</comment>
  <info>resource</info>  Întoarce o <info>resource</info> a rețelei neuronale în caz de succes, sau
            <info>false</info> în caz de eroare.

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


id: fann_create_shortcut
type: function
doc:
<comment>Description:</comment>
  Creates a standard backpropagation neural network which is not fully connectected and has shortcut
  connections
  
  Creates a standard backpropagation neural network, which is not fully connected and which also has
  shortcut connections.
  
  Shortcut connections are connections that skip layers. A fully connected network with shortcut
  connections, is a network where all neurons are connected to all neurons in later layers.
  Including direct connections from the input layer to the output layer.

<comment>Param:</comment>
  <info>int</info>  <strong>$num_layers  </strong>  The total number of layers including the input and the output layer.
  <info>int</info>  <strong>$num_neurons1</strong>  Number of neurons in the first layer.
  <info>int</info>  <strong>$num_neurons2</strong>  Number of neurons in the second layer.
  <info>int</info>  <strong>$num_neuronsN</strong>  Number of neurons in other layers.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_shortcut_array()</strong>
   * <strong>fann_create_sparse()</strong>
   * <strong>fann_create_standard()</strong>


id: fann_create_shortcut_array
type: function
doc:
<comment>Description:</comment>
  Creates a standard backpropagation neural network which is not fully connectected and has shortcut
  connections
  
  Creates a standard backpropagation neural network which is not fully connectected and has shortcut
  connections using an array of layers sizes.

<comment>Param:</comment>
  <info>int  </info>  <strong>$num_layers</strong>  The total number of layers including the input and the output layer.
  <info>array</info>  <strong>$layers    </strong>  An array of layers sizes.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_shortcut()</strong>
   * <strong>fann_create_sparse()</strong>
   * <strong>fann_create_standard()</strong>


id: fann_create_sparse
type: function
doc:
<comment>Description:</comment>
  Creates a standard backpropagation neural network, which is not fully connected
  
  Creates a standard backpropagation neural network, which is not fully connected.

<comment>Param:</comment>
  <info>float</info>  <strong>$connection_rate</strong>  The connection rate controls how many connections there will be in the
                           network. If the connection rate is set to 1, the network will be fully
                           connected, but if it is set to 0.5 only half of the connections will be
                           set. A connection rate of 1 will yield the same result as
                           <strong>fann_create_standard()</strong>.
  <info>int  </info>  <strong>$num_layers     </strong>  The total number of layers including the input and the output layer.
  <info>int  </info>  <strong>$num_neurons1   </strong>  Number of neurons in the first layer.
  <info>int  </info>  <strong>$num_neurons2   </strong>  Number of neurons in the second layer.
  <info>int  </info>  <strong>$num_neuronsN   </strong>  Number of neurons in other layers.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_sparse_array()</strong>
   * <strong>fann_create_standard()</strong>
   * <strong>fann_create_shortcut()</strong>


id: fann_create_sparse_array
type: function
doc:
<comment>Description:</comment>
  Creates a standard backpropagation neural network, which is not fully connected using an array of
  layer sizes
  
  Creates a standard backpropagation neural network, which is not fully connected using an array of
  layer sizes.

<comment>Param:</comment>
  <info>float</info>  <strong>$connection_rate</strong>  The connection rate controls how many connections there will be in the
                           network. If the connection rate is set to 1, the network will be fully
                           connected, but if it is set to 0.5 only half of the connections will be
                           set. A connection rate of 1 will yield the same result as
                           <strong>fann_create_standard()</strong>.
  <info>int  </info>  <strong>$num_layers     </strong>  The total number of layers including the input and the output layer.
  <info>array</info>  <strong>$layers         </strong>  An array of layer sizes.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_sparse()</strong>
   * <strong>fann_create_standard()</strong>
   * <strong>fann_create_shortcut()</strong>


id: fann_create_standard
type: function
doc:
<comment>Description:</comment>
  Creates a standard fully connected backpropagation neural network
  
  Creates a standard fully connected backpropagation neural network.
  
  There will be a bias neuron in each layer (except the output layer), and this bias neuron will be
  connected to all neurons in the next layer. When running the network, the bias nodes always emits
  1.
  
  To destroy a neural network use the <strong>fann_destroy()</strong> function.

<comment>Param:</comment>
  <info>int</info>  <strong>$num_layers  </strong>  The total number of layers including the input and the output layer.
  <info>int</info>  <strong>$num_neurons1</strong>  Number of neurons in the first layer.
  <info>int</info>  <strong>$num_neurons2</strong>  Number of neurons in the second layer.
  <info>int</info>  <strong>$num_neuronsN</strong>  Number of neurons in other layers.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_standard_array()</strong>
   * <strong>fann_create_sparse()</strong>
   * <strong>fann_create_shortcut()</strong>


id: fann_create_standard_array
type: function
doc:
<comment>Description:</comment>
  Creates a standard fully connected backpropagation neural network using an array of layer sizes
  
  Creates a standard fully connected backpropagation neural network.
  
  There will be a bias neuron in each layer (except the output layer), and this bias neuron will be
  connected to all neurons in the next layer. When running the network, the bias nodes always emits
  1.
  
  To destroy a neural network use the <strong>fann_destroy()</strong> function.

<comment>Param:</comment>
  <info>int  </info>  <strong>$num_layers</strong>  The total number of layers including the input and the output layer.
  <info>array</info>  <strong>$layers    </strong>  An array of layer sizes.

<comment>Return:</comment>
  <info>resource</info>  Returns a neural network resource on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_create_standard()</strong>
   * <strong>fann_create_sparse()</strong>
   * <strong>fann_create_shortcut()</strong>


id: fann_create_train
type: function
doc:
<comment>Description:</comment>
  Creates an empty training data struct
  
  Creates an empty training data struct.

<comment>Param:</comment>
  <info>int</info>  <strong>$num_data  </strong>  The number of training data
  <info>int</info>  <strong>$num_input </strong>  The number of inputs per training data
  <info>int</info>  <strong>$num_output</strong>  The number of ouputs per training data

<comment>Return:</comment>
  <info>resource</info>  Întoarce o <info>resource</info> a datelor pentru antrenarea rețelei neuronale
            în caz de succes, sau <info>false</info> în caz de eroare.

<comment>See Also:</comment>
   * <strong>fann_read_train_from_file()</strong>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_destroy_train()</strong>
   * <strong>fann_save_train()</strong>


id: fann_create_train_from_callback
type: function
doc:
<comment>Description:</comment>
  Creates the training data struct from a user supplied function
  
  Creates the training data struct from a user supplied function. As the training data are numerable
  (data 1, data 2...), the user must write a function that receives the number of the training data
  set (input, output) and returns the set.

<comment>Param:</comment>
  <info>int     </info>  <strong>$num_data     </strong>  The number of training data
  <info>int     </info>  <strong>$num_input    </strong>  The number of inputs per training data
  <info>int     </info>  <strong>$num_output   </strong>  The number of ouputs per training data
  <info>callable</info>  <strong>$user_function</strong>  The user supplied function with following parameters: <return>num</return> - The number
                            of the training data set<return>num_input</return> - The number of inputs per training
                            data<return>num_output</return> - The number of ouputs per training data
                            
                            The function should return an associative array with keys <return>input</return> and
                            <return>output</return> and two array values of input and output.

<comment>Return:</comment>
  <info>resource</info>  Întoarce o <info>resource</info> a datelor pentru antrenarea rețelei neuronale
            în caz de succes, sau <info>false</info> în caz de eroare.

<comment>See Also:</comment>
   * <strong>fann_read_train_from_file()</strong>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_destroy_train()</strong>
   * <strong>fann_save_train()</strong>


