# php_manual

id: fann_descale_input
type: function
doc:
<comment>Description:</comment>
  Scale data in input vector after get it from ann based on previously calculated parameters
  
  Scale data in input vector after get it from ann based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann         </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$input_vector</strong>  Input vector that will be descaled

<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_scale_input()</strong>
   * <strong>fann_descale_output()</strong>


id: fann_descale_output
type: function
doc:
<comment>Description:</comment>
  Scale data in output vector after get it from ann based on previously calculated parameters
  
  Scale data in output vector after get it from ann based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann          </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$output_vector</strong>  Output vector that will be descaled

<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_scale_output()</strong>
   * <strong>fann_descale_input()</strong>


id: fann_descale_train
type: function
doc:
<comment>Description:</comment>
  Descale input and output data based on previously calculated parameters
  
  Descale input and output data based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann       </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<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_scale_train()</strong>
   * <strong>fann_set_scaling_params()</strong>


id: fann_destroy
type: function
doc:
<comment>Description:</comment>
  Destroys the entire network and properly freeing all the associated memory
  
  Destroys the entire network and properly freeing all the associated memory.

<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_destroy_train
type: function
doc:
<comment>Description:</comment>
  Destructs the training data
  
  Destructs the training data

<comment>Param:</comment>
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.


id: fann_duplicate_train_data
type: function
doc:
<comment>Description:</comment>
  Returns an exact copy of a fann train data
  
  Returns an exact copy of a fann train data <info>resource</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<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.


id: fann_get_MSE
type: function
doc:
<comment>Description:</comment>
  Reads the mean square error from the network
  
  Reads the mean square error from the network.
  
  Reads the mean square error from the network. This value is calculated during training or testing
  and can therefore sometimes be a bit off if the weights have been changed since the last
  calculation of the value.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The mean square error, or <info>false</info> on error.

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


id: fann_get_activation_function
type: function
doc:
<comment>Description:</comment>
  Returns the activation function
  
  Get the activation function for neuron number <return>neuron</return> in layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to get activation functions for the neurons in the input layer.
  
  The return value is one of the activation functions constants.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann   </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$layer </strong>  Layer number.
  <info>int     </info>  <strong>$neuron</strong>  Neuron number.

<comment>Return:</comment>
  <info>int</info>  Learning functions constant or -1 if the neuron is not defined in the neural network, or
       <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_activation_function_layer()</strong>
   * <strong>fann_set_activation_function_hidden()</strong>
   * <strong>fann_set_activation_function_output()</strong>
   * <strong>fann_set_activation_steepness()</strong>
   * <strong>fann_set_activation_function()</strong>


id: fann_get_activation_steepness
type: function
doc:
<comment>Description:</comment>
  Returns the activation steepness for supplied neuron and layer number
  
  Get the activation steepness for neuron number <return>neuron</return> in layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to get activation steepness for the neurons in the input layer.
  
  The steepness of an activation function says something about how fast the activation function goes
  from the minimum to the maximum.  A high value for the activation function will also give a more
  agressive training.
  
  When training neural networks where the output values should be at the extremes (usually 0 and 1,
  depending on the activation function), a steep activation function can be used (e.g.  1.0).
  
  The default activation steepness is 0.5.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann   </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$layer </strong>  Layer number
  <info>int     </info>  <strong>$neuron</strong>  Neuron number

<comment>Return:</comment>
  <info>float</info>  The activation steepness for the neuron or -1 if the neuron is not defined in the neural
         network, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_activation_function()</strong>
   * <strong>fann_set_activation_steepness_layer()</strong>
   * <strong>fann_set_activation_steepness_hidden()</strong>
   * <strong>fann_set_activation_steepness_output()</strong>
   * <strong>fann_set_activation_steepness()</strong>


id: fann_get_bias_array
type: function
doc:
<comment>Description:</comment>
  Get the number of bias in each layer in the network
  
  Get the number of bias in each layer in the network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>array</info>  An array of numbers of bias in each layer


id: fann_get_bit_fail
type: function
doc:
<comment>Description:</comment>
  The number of fail bits
  
  The number of fail bits; means the number of output neurons which differ more than the bit fail
  limit (see <strong>fann_get_bit_fail_limit()</strong>, <strong>fann_set_bit_fail_limit()</strong>). The bits are counted in all of
  the training data, so this number can be higher than the number of training data.
  
  This value is reset by <strong>fann_reset_MSE()</strong> and updated by all the same functions which also updates
  the MSE value (e.g. <strong>fann_test_data()</strong>, <strong>fann_train_epoch()</strong>)

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of bits fail, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_reset_MSE()</strong>
   * <strong>fann_test_data()</strong>
   * <strong>fann_train_epoch()</strong>
   * <strong>fann_get_bit_fail_limit()</strong>
   * <strong>fann_set_bit_fail_limit()</strong>


id: fann_get_bit_fail_limit
type: function
doc:
<comment>Description:</comment>
  Returns the bit fail limit used during training
  
  Returns the bit fail limit used during training.
  
  The bit fail limit is used during training where the stop function is set to <info>FANN_STOPFUNC_BIT</info>.
  
  The limit is the maximum accepted difference between the desired output and the actual output
  during training. Each output that diverges more than this limit is counted as an error bit. This
  difference is divided by two when dealing with symmetric activation functions, so that symmetric
  and not symmetric activation functions can use the same limit.
  
  The default bit fail limit is 0.35.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The bit fail limit, or <info>false</info> on error.

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


id: fann_get_cascade_activation_functions
type: function
doc:
<comment>Description:</comment>
  Returns the cascade activation functions
  
  The cascade activation functions array is an array of the different activation functions used by
  the candidates
  
  See <strong>fann_get_cascade_num_candidates()</strong> for a description of which candidate neurons will be
  generated by this array.
  
  The default activation functions are <info>FANN_SIGMOID</info>, <info>FANN_SIGMOID_SYMMETRIC</info>, <info>FANN_GAUSSIAN</info>,
  <info>FANN_GAUSSIAN_SYMMETRIC</info>, <info>FANN_ELLIOT</info>, <info>FANN_ELLIOT_SYMMETRIC</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>array</info>  The cascade activation functions, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_cascade_activation_functions_count()</strong>
   * <strong>fann_set_cascade_activation_functions()</strong>


id: fann_get_cascade_activation_functions_count
type: function
doc:
<comment>Description:</comment>
  Returns the number of cascade activation functions
  
  The number of activation functions in the <strong>fann_get_cascade_activation_functions()</strong> array.
  
  The default number of activation functions is 6.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of cascade activation functions, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_cascade_activation_functions()</strong>
   * <strong>fann_set_cascade_activation_functions()</strong>


id: fann_get_cascade_activation_steepnesses
type: function
doc:
<comment>Description:</comment>
  Returns the cascade activation steepnesses
  
  The cascade activation steepnesses array is an array of the different activation functions used by
  the candidates.
  
  See <strong>fann_get_cascade_num_candidates()</strong> for a description of which candidate neurons will be
  generated by this array.
  
  The default activation steepnesses are {0.25, 0.50, 0.75, 1.00}.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>array</info>  The cascade activation steepnesses, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_cascade_activation_steepnesses_count()</strong>
   * <strong>fann_set_cascade_activation_steepnesses()</strong>


id: fann_get_cascade_activation_steepnesses_count
type: function
doc:
<comment>Description:</comment>
  The number of activation steepnesses
  
  The number of activation steepnesses in the <strong>fann_get_cascade_activation_functions()</strong> array.
  
  The default number of activation steepnesses is 4.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of activation steepnesses, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_cascade_activation_steepnesses()</strong>
   * <strong>fann_set_cascade_activation_functions()</strong>


id: fann_get_cascade_candidate_change_fraction
type: function
doc:
<comment>Description:</comment>
  Returns the cascade candidate change fraction
  
  The cascade candidate 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_candidate_stagnation_epochs()</strong>
  during training of the candidate neurons, in order for the training not to stagnate. If the
  training stagnates, the training of the candidate neurons will be ended and the best candidate
  will be selected.
  
  It means that if the MSE does not change by a fraction of
  <strong>fann_get_cascade_candidate_change_fraction()</strong> during a period of
  <strong>fann_get_cascade_candidate_stagnation_epochs()</strong>, the training of the candidate neurons is stopped
  because the training has stagnated.
  
  If the cascade candidate change fraction is low, the candidate neurons will be trained more and if
  the fraction is high they will be trained less.
  
  The default cascade candidate change fraction is 0.01, which is equalent to a 1% change in MSE.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The cascade candidate change fraction, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_cascade_candidate_change_fraction()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_get_cascade_candidate_stagnation_epochs()</strong>


id: fann_get_cascade_candidate_limit
type: function
doc:
<comment>Description:</comment>
  Return the candidate limit
  
  The candidate limit is a limit for how much the candidate neuron may be trained. The limit is a
  limit on the proportion between the MSE and candidate score.
  
  Set this to a lower value to avoid overfitting and to a higher if overfitting is not a problem.
  
  The default candidate limit is 1000.0.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The candidate limit, or <info>false</info> on error.

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


id: fann_get_cascade_candidate_stagnation_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the number of cascade candidate stagnation epochs
  
  The number of cascade candidate stagnation epochs determines the number of epochs training is
  allowed to continue without changing the MSE by a fraction of
  <strong>fann_get_cascade_candidate_change_fraction()</strong>.
  
  See more info about this parameter in <strong>fann_get_cascade_candidate_change_fraction()</strong>.
  
  The default number of cascade candidate stagnation epochs is 12.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of cascade candidate stagnation epochs, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_cascade_candidate_stagnation_epochs()</strong>
   * <strong>fann_get_cascade_candidate_change_fraction()</strong>


id: fann_get_cascade_max_cand_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the maximum candidate epochs
  
  The maximum candidate epochs determines the maximum number of epochs the input connections to the
  candidates may be trained before adding a new candidate neuron.
  
  The default max candidate epochs is 150.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The maximum candidate epochs, or <info>false</info> on error.

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


id: fann_get_cascade_max_out_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the maximum out epochs
  
  The maximum out epochs determines the maximum number of epochs the output connections may be
  trained after adding a new candidate neuron.
  
  The default max out epochs is 150.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The maximum out epochs, or <info>false</info> on error.

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


id: fann_get_cascade_min_cand_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the minimum candidate epochs
  
  The minimum candidate epochs determines the minimum number of epochs the input connections to the
  candidates may be trained before adding a new candidate neuron.
  
  The default min candidate epochs is 50.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The minimum candidate epochs, or <info>false</info> on error.

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


id: fann_get_cascade_min_out_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the minimum out epochs
  
  The minimum out epochs determines the minimum number of epochs the output connections must be
  trained after adding a new candidate neuron.
  
  The default min out epochs is 50.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The minimum out epochs, or <info>false</info> on error.

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


id: fann_get_cascade_num_candidate_groups
type: function
doc:
<comment>Description:</comment>
  Returns the number of candidate groups
  
  The number of candidate groups is the number of groups of identical candidates which will be used
  during training.
  
  This number can be used to have more candidates without having to define new parameters for the
  candidates.
  
  See <strong>fann_get_cascade_num_candidates()</strong> for a description of which candidate neurons will be
  generated by this parameter.
  
  The default number of candidate groups is 2.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of candidate groups, or <info>false</info> on error.

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


id: fann_get_cascade_num_candidates
type: function
doc:
<comment>Description:</comment>
  Returns the number of candidates used during training
  
  The number of candidates used during training (calculated by multiplying
  <strong>fann_get_cascade_activation_functions_count()</strong>, <strong>fann_get_cascade_activation_steepnesses_count()</strong> and
  <strong>fann_get_cascade_num_candidate_groups()</strong>).
  
  The actual candidates is defined by the <strong>fann_get_cascade_activation_functions()</strong> and
  <strong>fann_get_cascade_activation_steepnesses()</strong> arrays. These arrays define the activation functions and
  activation steepnesses used for the candidate neurons. If there are 2 activation functions in the
  activation function array and 3 steepnesses in the steepness array, then there will be 2x3=6
  different candidates which will be trained. These 6 different candidates can be copied into
  several candidate groups, where the only difference between these groups is the initial weights.
  If the number of groups is set to 2, then the number of candidate neurons will be 2x3x2=12. The
  number of candidate groups is defined by <strong>fann_set_cascade_num_candidate_groups()</strong>.
  
  The default number of candidates is 6x4x2 = 48

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of candidates used during training, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_get_cascade_activation_functions()</strong>
   * <strong>fann_get_cascade_activation_functions_count()</strong>
   * <strong>fann_get_cascade_activation_steepnesses()</strong>
   * <strong>fann_get_cascade_activation_steepnesses_count()</strong>
   * <strong>fann_get_cascade_num_candidate_groups()</strong>


id: fann_get_cascade_output_change_fraction
type: function
doc:
<comment>Description:</comment>
  Returns the cascade output change fraction
  
  The cascade output change fraction is a number between 0 and 1 determining how large a fraction of
  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.
  
  It means that if the MSE does not change by a fraction of
  <strong>fann_get_cascade_output_change_fraction()</strong> during a period of
  <strong>fann_get_cascade_output_stagnation_epochs()</strong>, the training of the output connections is stopped
  because the training has stagnated.
  
  If the cascade output change fraction is low, the output connections will be trained more and if
  the fraction is high, they will be trained less.
  
  The default cascade output change fraction is 0.01, which is equalent to a 1% change in MSE.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The cascade output change fraction, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_cascade_output_change_fraction()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_get_cascade_output_stagnation_epochs()</strong>


id: fann_get_cascade_output_stagnation_epochs
type: function
doc:
<comment>Description:</comment>
  Returns the number of cascade output stagnation epochs
  
  The number of cascade output stagnation epochs determines the number of epochs training is allowed
  to continue without changing the MSE by a fraction of <strong>fann_get_cascade_output_change_fraction()</strong>.
  
  See more info about this parameter in <strong>fann_get_cascade_output_change_fraction()</strong>.
  
  The default number of cascade output stagnation epochs is 12.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of cascade output stagnation epochs, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_cascade_output_stagnation_epochs()</strong>
   * <strong>fann_get_cascade_output_change_fraction()</strong>


id: fann_get_cascade_weight_multiplier
type: function
doc:
<comment>Description:</comment>
  Returns the weight multiplier
  
  The weight multiplier is a parameter which is used to multiply the weights from the candidate
  neuron before adding the neuron to the neural network. This parameter is usually between 0 and 1,
  and is used to make the training a bit less aggressive.
  
  The default weight multiplier is 0.4.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The weight multiplier, or <info>false</info> on error.

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


id: fann_get_connection_array
type: function
doc:
<comment>Description:</comment>
  Get connections in the network
  
  Get connections in the network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>array</info>  An array of connections in the network


id: fann_get_connection_rate
type: function
doc:
<comment>Description:</comment>
  Get the connection rate used when the network was created
  
  Get the connection rate used when the network was created.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The connection rate used when the network was created, or <info>false</info> on error.


id: fann_get_errno
type: function
doc:
<comment>Description:</comment>
  Returns the last error number
  
  Returns the last error number.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat</strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                     pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>int</info>  The error number, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_reset_errno()</strong>
   * <strong>fann_get_errstr()</strong>


id: fann_get_errstr
type: function
doc:
<comment>Description:</comment>
  Returns the last errstr
  
  Returns the last errstr.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat</strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                     pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>string</info>  The last error string, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_reset_errstr()</strong>
   * <strong>fann_get_errno()</strong>


id: fann_get_layer_array
type: function
doc:
<comment>Description:</comment>
  Get the number of neurons in each layer in the network
  
  Get the number of neurons in each layer in the neural network.
  
  Bias is not included so the layers match the fann_create functions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>array</info>  An array of numbers of neurons in each leayer


id: fann_get_learning_momentum
type: function
doc:
<comment>Description:</comment>
  Returns the learning momentum
  
  The learning momentum can be used to speed up <info>FANN_TRAIN_INCREMENTAL</info> training. A too high momentum
  will however not benefit training. Setting momentum to 0 will be the same as not using the
  momentum parameter. The recommended value of this parameter is between 0.0 and 1.0.
  
  The default momentum is 0.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.
         
         The learning momentum, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_learning_momentum()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_get_learning_rate
type: function
doc:
<comment>Description:</comment>
  Returns the learning rate
  
  The learning rate is used to determine how aggressive training should be for some of the training
  algorithms (<info>FANN_TRAIN_INCREMENTAL</info>, <info>FANN_TRAIN_BATCH</info>, <info>FANN_TRAIN_QUICKPROP</info>). Do however note that
  it is not used in <info>FANN_TRAIN_RPROP</info>.
  
  The default learning rate is 0.7.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The learning rate, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_learning_rate()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_get_network_type
type: function
doc:
<comment>Description:</comment>
  Get the type of neural network it was created as
  
  Get the type of neural network it was created as.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Network type constant, or <info>false</info> on error.


id: fann_get_num_input
type: function
doc:
<comment>Description:</comment>
  Get the number of input neurons
  
  Get the number of input neurons.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Number of input neurons, or <info>false</info> on error


id: fann_get_num_layers
type: function
doc:
<comment>Description:</comment>
  Get the number of layers in the neural network
  
  Get the number of layers in the neural network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of leayers in the neural network, or <info>false</info> on error.


id: fann_get_num_output
type: function
doc:
<comment>Description:</comment>
  Get the number of output neurons
  
  Get the number of output neurons.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Number of output neurons, or <info>false</info> on error


id: fann_get_quickprop_decay
type: function
doc:
<comment>Description:</comment>
  Returns the decay which is a factor that weights should decrease in each iteration during
  quickprop
  training
  
  The decay is a small negative valued number which is a factor that the weights should decrease in
  each iteration during quickprop training. This is used to make sure that the weights do not become
  too high during training.
  
  The default decay is -0.0001.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The decay, or <info>false</info> on error.

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


id: fann_get_quickprop_mu
type: function
doc:
<comment>Description:</comment>
  Returns the mu factor
  
  The mu factor is used to increase and decrease the step-size during quickprop training. The mu
  factor should always be above 1, since it would otherwise decrease the step-size when it was
  suppose to increase it.
  
  The default mu factor is 1.75.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The mu factor, or <info>false</info> on error.

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


id: fann_get_rprop_decrease_factor
type: function
doc:
<comment>Description:</comment>
  Returns the increase factor used during RPROP training
  
  The decrease factor is a value smaller than 1, which is used to decrease the step-size during
  RPROP training.
  
  The default decrease factor is 0.5.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The decrease factor, or <info>false</info> on error.

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


id: fann_get_rprop_delta_max
type: function
doc:
<comment>Description:</comment>
  Returns the maximum step-size
  
  The maximum step-size is a positive number determining how large the maximum step-size may be.
  
  The default delta max is 50.0.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The maximum step-size, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_rprop_delta_max()</strong>
   * <strong>fann_get_rprop_delta_min()</strong>


id: fann_get_rprop_delta_min
type: function
doc:
<comment>Description:</comment>
  Returns the minimum step-size
  
  The minimum step-size is a small positive number determining how small the minimum step-size may
  be.
  
  The default value delta min is 0.0.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The minimum step-size, or <info>false</info> on error.

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


id: fann_get_rprop_delta_zero
type: function
doc:
<comment>Description:</comment>
  Returns the initial step-size
  
  The initial step-size is a positive number determining the initial step size.
  
  The default delta zero is 0.1.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The initial step-size, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_set_rprop_delta_zero()</strong>
   * <strong>fann_get_rprop_delta_min()</strong>
   * <strong>fann_get_rprop_delta_max()</strong>


id: fann_get_rprop_increase_factor
type: function
doc:
<comment>Description:</comment>
  Returns the increase factor used during RPROP training
  
  The increase factor is a value larger than 1, which is used to increase the step-size during RPROP
  training.
  
  The default increase factor is 1.2.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The increase factor, or <info>false</info> on error.

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


id: fann_get_sarprop_step_error_shift
type: function
doc:
<comment>Description:</comment>
  Returns the sarprop step error shift
  
  Returns the sarprop step error shift.
  
  The default step error shift is 1.385.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The sarprop step error shift , or <info>false</info> on error.

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


id: fann_get_sarprop_step_error_threshold_factor
type: function
doc:
<comment>Description:</comment>
  Returns the sarprop step error threshold factor
  
  The sarprop step error threshold factor.
  
  The default factor is 0.1.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The sarprop step error threshold factor, or <info>false</info> on error.

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


id: fann_get_sarprop_temperature
type: function
doc:
<comment>Description:</comment>
  Returns the sarprop temperature
  
  Returns the sarprop temperature.
  
  The default temperature is 0.015.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The sarprop temperature, or <info>false</info> on error.

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


id: fann_get_sarprop_weight_decay_shift
type: function
doc:
<comment>Description:</comment>
  Returns the sarprop weight decay shift
  
  The sarprop weight decay shift.
  
  The default delta max is -6.644.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>float</info>  The sarprop weight decay shift, or <info>false</info> on error.

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


id: fann_get_total_connections
type: function
doc:
<comment>Description:</comment>
  Get the total number of connections in the entire network
  
  Get the total number of connections in the entire network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Total number of connections in the entire network, or <info>false</info> on error


id: fann_get_total_neurons
type: function
doc:
<comment>Description:</comment>
  Get the total number of neurons in the entire network
  
  Get the total number of neurons in the entire network. This number does also include the bias
  neurons, so a 2-4-2 network has 2+4+2 +2(bias) = 10 neurons.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Total number of neurons in the entire network, or <info>false</info> on error.


id: fann_get_train_error_function
type: function
doc:
<comment>Description:</comment>
  Returns the error function used during training
  
  Returns the error function used during training.
  
  The error functions are described further in error functions constants.
  
  The default error function is <info>FANN_ERRORFUNC_TANH</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The error function constant, or <info>false</info> on error.

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


id: fann_get_train_stop_function
type: function
doc:
<comment>Description:</comment>
  Returns the stop function used during training
  
  Returns the stop function used during training.
  
  The stop functions are described further in stop functions constants.
  
  The default stop function is <info>FANN_STOPFUNC_MSE</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  The stop function constant, or <info>false</info> on error.

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


id: fann_get_training_algorithm
type: function
doc:
<comment>Description:</comment>
  Returns the training algorithm
  
  Returns the training algorithm. This training algorithm is used by <strong>fann_train_on_data()</strong> and
  associated functions.
  
  Note that this algorithm is also used during <strong>fann_cascadetrain_on_data()</strong>, although only
  <info>FANN_TRAIN_RPROP</info> and <info>FANN_TRAIN_QUICKPROP</info> is allowed during cascade training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann</strong>  <info>resource</info> a unei rețele neuronale.

<comment>Return:</comment>
  <info>int</info>  Training algorithm constant, or <info>false</info> on error.

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


id: fann_init_weights
type: function
doc:
<comment>Description:</comment>
  Initialize the weights using Widrow + Nguyen’s algorithm
  
  Initialize the weights using Widrow + Nguyen’s algorithm.
  
  This function behaves similarly to <strong>fann_randomize_weights()</strong>. It will use the algorithm developed
  by Derrick Nguyen and Bernard Widrow to set the weights in such a way as to speed up training.
  This technique is not always successful, and in some cases can be less efficient than a purely
  random initialization.
  
  The algorithm requires access to the range of the input data (for example largest and smallest
  input), and therefore accepts a second argument, data, which is the training data that will be
  used to train the network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann       </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<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_randomize_weights()</strong>
   * <strong>fann_read_train_from_file()</strong>


id: fann_length_train_data
type: function
doc:
<comment>Description:</comment>
  Returns the number of training patterns in the train data
  
  Returns the number of training patterns in the train data <info>resource</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>int</info>  Number of elements in the train data <info>resource</info>, or <info>false</info> on error.


id: fann_merge_train_data
type: function
doc:
<comment>Description:</comment>
  Merges the train data
  
  Merges the data from data1 and data2 into a new train data <info>resource</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data1</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>resource</info>  <strong>$data2</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>resource</info>  New merged train data <info>resource</info>, or <info>false</info> on error.


id: fann_num_input_train_data
type: function
doc:
<comment>Description:</comment>
  Returns the number of inputs in each of the training patterns in the train data
  
  Returns the number of inputs in each of the training patterns in the train data <info>resource</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of inputs, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_length_train_data()</strong>
   * <strong>fann_num_output_train_data()</strong>


id: fann_num_output_train_data
type: function
doc:
<comment>Description:</comment>
  Returns the number of outputs in each of the training patterns in the train data
  
  Returns the number of outputs in each of the training patterns in the train data <info>resource</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>int</info>  The number of outputs, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_length_train_data()</strong>
   * <strong>fann_num_input_train_data()</strong>


id: fann_print_error
type: function
doc:
<comment>Description:</comment>
  Prints the error string
  
  Prints the error string.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat</strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                     pentru antrenarea rețelei neuronale.

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

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


id: fann_randomize_weights
type: function
doc:
<comment>Description:</comment>
  Give each connection a random weight between min_weight and max_weight
  
  Give each connection a random weight between <strong>$min_weight</strong> and <strong>$max_weight</strong>
  
  From the beginning the weights are random between -0.1 and 0.1.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann       </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$min_weight</strong>  Minimum weight value
  <info>float   </info>  <strong>$max_weight</strong>  Maximum weight value

<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_init_weights()</strong>


id: fann_read_train_from_file
type: function
doc:
<comment>Description:</comment>
  Reads a file that stores training data
  
  Reads a file that stores training data.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The input file in the following format:

<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_train_on_data()</strong>
   * <strong>fann_destroy_train()</strong>
   * <strong>fann_save_train()</strong>


id: fann_reset_MSE
type: function
doc:
<comment>Description:</comment>
  Resets the mean square error from the network
  
  Resets the mean square error from the network.
  
  This function also resets the number of bits that fail.

<comment>Param:</comment>
  <info>string</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.

<comment>See Also:</comment>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_get_bit_fail()</strong>
   * <strong>fann_get_bit_fail_limit()</strong>


id: fann_reset_errno
type: function
doc:
<comment>Description:</comment>
  Resets the last error number
  
  Resets the last error number.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat</strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                     pentru antrenarea rețelei neuronale.

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

<comment>See Also:</comment>
   * <strong>fann_get_errno()</strong>
   * <strong>fann_reset_errstr()</strong>


id: fann_reset_errstr
type: function
doc:
<comment>Description:</comment>
  Resets the last error string
  
  Resets the last error string.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat</strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                     pentru antrenarea rețelei neuronale.

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

<comment>See Also:</comment>
   * <strong>fann_get_errstr()</strong>
   * <strong>fann_reset_errno()</strong>


id: fann_run
type: function
doc:
<comment>Description:</comment>
  Will run input through the neural network
  
  Will run input through the neural network, returning an array of outputs, the number of which
  being equal to the number of neurons in the output layer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann  </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$input</strong>  Array of input values

<comment>Return:</comment>
  <info>array</info>  Array of output values, or <info>false</info> on error


id: fann_save
type: function
doc:
<comment>Description:</comment>
  Saves the entire network to a configuration file
  
  Saves the entire network to a configuration file.
  
  The configuration file contains all information about the neural network and enables
  <strong>fann_create_from_file()</strong> to create an exact copy of the neural network and all of the parameters
  associated with the neural network.
  
  These three parameters (<strong>fann_set_callback()</strong>, <strong>fann_set_error_log()</strong>, <strong>fann_set_user_data()</strong>) are NOT
  saved to the file because they cannot safely be ported to a different location. Also temporary
  parameters generated during training like <strong>fann_get_MSE()</strong> is not saved.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann               </strong>  <info>resource</info> a unei rețele neuronale.
  <info>string  </info>  <strong>$configuration_file</strong>  The configuration file path.

<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_create_from_file()</strong>


id: fann_save_train
type: function
doc:
<comment>Description:</comment>
  Save the training structure to a file
  
  Save the training data to a file, with the format as specified in <strong>fann_read_train_from_file()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$data     </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>string  </info>  <strong>$file_name</strong>  The file name of the file where training data is saved to.

<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_read_train_from_file()</strong>


id: fann_scale_input
type: function
doc:
<comment>Description:</comment>
  Scale data in input vector before feed it to ann based on previously calculated parameters
  
  Scale data in input vector before feed it to ann based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann         </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$input_vector</strong>  Input vector that will be scaled

<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_descale_input()</strong>
   * <strong>fann_scale_output()</strong>


id: fann_scale_input_train_data
type: function
doc:
<comment>Description:</comment>
  Scales the inputs in the training data to the specified range
  
  Scales the inputs in the training data to the specified range.

<comment>Param:</comment>
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_min   </strong>  New minimum after scaling inputs in training data.
  <info>float   </info>  <strong>$new_max   </strong>  New maximum after scaling inputs in training data.

<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_scale_output_train_data()</strong>
   * <strong>fann_scale_train_data()</strong>


id: fann_scale_output
type: function
doc:
<comment>Description:</comment>
  Scale data in output vector before feed it to ann based on previously calculated parameters
  
  Scale data in output vector before feed it to ann based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann          </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$output_vector</strong>  Output vector that will be scaled

<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_descale_output()</strong>
   * <strong>fann_scale_input()</strong>


id: fann_scale_output_train_data
type: function
doc:
<comment>Description:</comment>
  Scales the outputs in the training data to the specified range
  
  Scales the outputs in the training data to the specified range.

<comment>Param:</comment>
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_min   </strong>  New minimum after scaling outputs in training data.
  <info>float   </info>  <strong>$new_max   </strong>  New maximum after scaling outputs in training data.

<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_scale_input_train_data()</strong>
   * <strong>fann_scale_train_data()</strong>


id: fann_scale_train
type: function
doc:
<comment>Description:</comment>
  Scale input and output data based on previously calculated parameters
  
  Scale input and output data based on previously calculated parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann       </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<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_descale_train()</strong>
   * <strong>fann_set_scaling_params()</strong>


id: fann_scale_train_data
type: function
doc:
<comment>Description:</comment>
  Scales the inputs and outputs in the training data to the specified range
  
  Scales the inputs and outputs in the training data to the specified range.

<comment>Param:</comment>
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_min   </strong>  New minimum after scaling inputs and outputs in training data.
  <info>float   </info>  <strong>$new_max   </strong>  New maximum after scaling inputs and outputs in training data.

<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_scale_output_train_data()</strong>
   * <strong>fann_scale_input_train_data()</strong>


id: fann_set_activation_function
type: function
doc:
<comment>Description:</comment>
  Sets the activation function for supplied neuron and layer
  
  Set the activation function for neuron number <return>neuron</return> in layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to set activation functions for the neurons in the input layer.
  
  When choosing an activation function it is important to note that the activation functions have
  different range. <info>FANN_SIGMOID</info> is e.g. in the 0 - 1 range while <info>FANN_SIGMOID_SYMMETRIC</info> is in the -1
  - 1 range and <info>FANN_LINEAR</info> is unbound.
  
  The supplied activation_function value must be one of the activation functions constants.
  
  The return value is one of the activation functions constants.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$activation_function</strong>  The activation functions constant.
  <info>int     </info>  <strong>$layer              </strong>  Layer number.
  <info>int     </info>  <strong>$neuron             </strong>  Neuron number.

<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_set_activation_function_layer()</strong>
   * <strong>fann_set_activation_function_hidden()</strong>
   * <strong>fann_set_activation_function_output()</strong>
   * <strong>fann_set_activation_steepness()</strong>
   * <strong>fann_get_activation_function()</strong>


id: fann_set_activation_function_hidden
type: function
doc:
<comment>Description:</comment>
  Sets the activation function for all of the hidden layers
  
  Sets the activation function for all of the hidden layers.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$activation_function</strong>  The activation functions constant.

<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_set_activation_function()</strong>
   * <strong>fann_set_activation_function_layer()</strong>
   * <strong>fann_set_activation_function_output()</strong>
   * <strong>fann_set_activation_steepness()</strong>


id: fann_set_activation_function_layer
type: function
doc:
<comment>Description:</comment>
  Sets the activation function for all the neurons in the supplied layer
  
  Set the activation function for all the neurons in the layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to set activation functions for the neurons in the input layer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$activation_function</strong>  The activation functions constant.
  <info>int     </info>  <strong>$layer              </strong>  Layer number.

<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_set_activation_function()</strong>
   * <strong>fann_set_activation_function_hidden()</strong>
   * <strong>fann_set_activation_function_output()</strong>
   * <strong>fann_set_activation_steepness()</strong>


id: fann_set_activation_function_output
type: function
doc:
<comment>Description:</comment>
  Sets the activation function for the output layer
  
  Sets the activation function for the output layer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$activation_function</strong>  The activation functions constant.

<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_set_activation_function()</strong>
   * <strong>fann_set_activation_function_layer()</strong>
   * <strong>fann_set_activation_function_hidden()</strong>
   * <strong>fann_set_activation_steepness()</strong>


id: fann_set_activation_steepness
type: function
doc:
<comment>Description:</comment>
  Sets the activation steepness for supplied neuron and layer number
  
  Set the activation steepness for neuron number <return>neuron</return> in layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to set activation steepness for the neurons in the input layer.
  
  The steepness of an activation function says something about how fast the activation function goes
  from the minimum to the maximum. A high value for the activation function will also give a more
  agressive training.
  
  When training neural networks where the output values should be at the extremes (usually 0 and 1,
  depending on the activation function), a steep activation function can be used (e.g.  1.0).
  
  The default activation steepness is 0.5.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                 </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$activation_steepness</strong>  The activation steepness.
  <info>int     </info>  <strong>$layer               </strong>  Layer number.
  <info>int     </info>  <strong>$neuron              </strong>  Neuron number.

<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_set_activation_steepness_layer()</strong>
   * <strong>fann_set_activation_steepness_hidden()</strong>
   * <strong>fann_set_activation_steepness_output()</strong>
   * <strong>fann_get_activation_steepness()</strong>
   * <strong>fann_set_activation_function()</strong>


id: fann_set_activation_steepness_hidden
type: function
doc:
<comment>Description:</comment>
  Sets the steepness of the activation steepness for all neurons in the all hidden layers
  
  Sets the steepness of the activation steepness for all neurons in the all hidden layers.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                 </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$activation_steepness</strong>  The activation steepness.

<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_set_activation_steepness()</strong>
   * <strong>fann_set_activation_steepness_layer()</strong>
   * <strong>fann_set_activation_steepness_output()</strong>
   * <strong>fann_get_activation_steepness()</strong>
   * <strong>fann_set_activation_function()</strong>


id: fann_set_activation_steepness_layer
type: function
doc:
<comment>Description:</comment>
  Sets the activation steepness for all of the neurons in the supplied layer number
  
  Set the activation steepness for all of the neurons in layer number <return>layer</return>, counting the input
  layer as layer 0.
  
  It is not possible to set activation steepness for the neurons in the input layer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                 </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$activation_steepness</strong>  The activation steepness.
  <info>int     </info>  <strong>$layer               </strong>  Layer number.

<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_set_activation_steepness()</strong>
   * <strong>fann_set_activation_steepness_hidden()</strong>
   * <strong>fann_set_activation_steepness_output()</strong>
   * <strong>fann_get_activation_steepness()</strong>
   * <strong>fann_set_activation_function()</strong>


id: fann_set_activation_steepness_output
type: function
doc:
<comment>Description:</comment>
  Sets the steepness of the activation steepness in the output layer
  
  Sets the steepness of the activation steepness in the output layer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                 </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$activation_steepness</strong>  The activation steepness.

<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_set_activation_steepness()</strong>
   * <strong>fann_set_activation_steepness_layer()</strong>
   * <strong>fann_set_activation_steepness_hidden()</strong>
   * <strong>fann_get_activation_steepness()</strong>
   * <strong>fann_set_activation_function()</strong>


id: fann_set_bit_fail_limit
type: function
doc:
<comment>Description:</comment>
  Set the bit fail limit used during training
  
  Set the bit fail limit used during training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$bit_fail_limit</strong>  The bit fail limit.

<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_get_bit_fail_limit()</strong>


id: fann_set_callback
type: function
doc:
<comment>Description:</comment>
  Sets the callback function for use during training
  
  Sets the callback function for use during training. It means that it is called from
  <strong>fann_train_on_data()</strong> or <strong>fann_train_on_file()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann     </strong>  <info>resource</info> a unei rețele neuronale.
  <info>callable</info>  <strong>$callback</strong>  The supplied callback function takes following parameters: <return>ann</return> - The neural
                       network <info>resource</info><return>train</return> - The train data <info>resource</info> or <info>null</info> if called from
                       <strong>fann_train_on_file()</strong><return>max_epochs</return> - The maximum number of epochs the training
                       should continue<return>epochs_between_reports</return> - The number of epochs between calling
                       this function<return>desired_error</return> - The desired <strong>fann_get_MSE()</strong> or
                       <strong>fann_get_bit_fail()</strong>, depending on the stop function chosen by
                       <strong>fann_set_train_stop_function()</strong><return>epochs</return> - The current epoch
                       
                       The callback should return <info>true</info>. If it returns <info>false</info>, the training will
                       terminate.

<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_train_on_file()</strong>


id: fann_set_cascade_activation_functions
type: function
doc:
<comment>Description:</comment>
  Sets the array of cascade candidate activation functions
  
  Sets the array of cascade candidate activation functions.
  
  See <strong>fann_get_cascade_num_candidates()</strong> for a description of which candidate neurons will be
  generated by this array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                         </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$cascade_activation_functions</strong>  The array of cascade candidate activation functions.

<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_get_cascade_activation_functions_count()</strong>
   * <strong>fann_set_cascade_activation_functions()</strong>


id: fann_set_cascade_activation_steepnesses
type: function
doc:
<comment>Description:</comment>
  Sets the array of cascade candidate activation steepnesses
  
  Sets the array of cascade candidate activation steepnesses.
  
  See <strong>fann_get_cascade_num_candidates()</strong> for a description of which candidate neurons will be
  generated by this array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                                 </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$cascade_activation_steepnesses_count</strong>  The array of cascade candidate activation
                                                   steepnesses.

<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_get_cascade_activation_steepnesses()</strong>
   * <strong>fann_get_cascade_activation_steepnesses_count()</strong>


id: fann_set_cascade_candidate_change_fraction
type: function
doc:
<comment>Description:</comment>
  Sets the cascade candidate change fraction
  
  Sets the cascade candidate change fraction.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                              </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$cascade_candidate_change_fraction</strong>  The cascade candidate change fraction.

<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_get_cascade_candidate_change_fraction()</strong>


id: fann_set_cascade_candidate_limit
type: function
doc:
<comment>Description:</comment>
  Sets the candidate limit
  
  Sets the candidate limit.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                    </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$cascade_candidate_limit</strong>  The candidate limit.

<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_get_cascade_candidate_limit()</strong>


id: fann_set_cascade_candidate_stagnation_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the number of cascade candidate stagnation epochs
  
  Sets the number of cascade candidate stagnation epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_candidate_stagnation_epochs</strong>  The number of cascade candidate stagnation epochs.

<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_get_cascade_candidate_stagnation_epochs()</strong>


id: fann_set_cascade_max_cand_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the max candidate epochs
  
  Sets the max candidate epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                    </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_max_cand_epochs</strong>  The max candidate epochs.

<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_get_cascade_max_cand_epochs()</strong>


id: fann_set_cascade_max_out_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the maximum out epochs
  
  Sets the maximum out epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                   </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_max_out_epochs</strong>  The maximum out epochs.

<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_get_cascade_max_out_epochs()</strong>


id: fann_set_cascade_min_cand_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the min candidate epochs
  
  Sets the min candidate epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                    </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_min_cand_epochs</strong>  The minimum candidate epochs.

<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_get_cascade_min_cand_epochs()</strong>


id: fann_set_cascade_min_out_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the minimum out epochs
  
  Sets the minimum out epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                   </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_min_out_epochs</strong>  The minimum out epochs.

<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_get_cascade_min_out_epochs()</strong>


id: fann_set_cascade_num_candidate_groups
type: function
doc:
<comment>Description:</comment>
  Sets the number of candidate groups
  
  Sets the number of candidate groups.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                         </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_num_candidate_groups</strong>  The number of candidate groups.

<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_get_cascade_num_candidate_groups()</strong>


id: fann_set_cascade_output_change_fraction
type: function
doc:
<comment>Description:</comment>
  Sets the cascade output change fraction
  
  Sets the cascade output change fraction.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$cascade_output_change_fraction</strong>  The cascade output change fraction.

<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_get_cascade_output_change_fraction()</strong>


id: fann_set_cascade_output_stagnation_epochs
type: function
doc:
<comment>Description:</comment>
  Sets the number of cascade output stagnation epochs
  
  Sets the number of cascade output stagnation epochs.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                             </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$cascade_output_stagnation_epochs</strong>  The number of cascade output stagnation epochs.

<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_get_cascade_output_stagnation_epochs()</strong>


id: fann_set_cascade_weight_multiplier
type: function
doc:
<comment>Description:</comment>
  Sets the weight multiplier
  
  Sets the weight multiplier.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                      </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$cascade_weight_multiplier</strong>  The weight multiplier.

<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_get_cascade_weight_multiplier()</strong>


id: fann_set_error_log
type: function
doc:
<comment>Description:</comment>
  Sets where the errors are logged to
  
  Sets where the errors are logged to.

<comment>Param:</comment>
  <info>resource</info>  <strong>$errdat  </strong>  <info>resource</info> a unei rețele neuronale, sau <info>resource</info> a datelor
                       pentru antrenarea rețelei neuronale.
  <info>string  </info>  <strong>$log_file</strong>  The log file path.

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


id: fann_set_input_scaling_params
type: function
doc:
<comment>Description:</comment>
  Calculate input scaling parameters for future use based on training data
  
  Calculate input scaling parameters for future use based on training data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann          </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data   </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_input_min</strong>  The desired lower bound in input data after scaling (not strictly
                            followed)
  <info>float   </info>  <strong>$new_input_max</strong>  The desired upper bound in input data after scaling (not strictly
                            followed)

<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_set_output_scaling_params()</strong>


id: fann_set_learning_momentum
type: function
doc:
<comment>Description:</comment>
  Sets the learning momentum
  
  Sets the learning momentum.
  
  More info available in <strong>fann_get_learning_momentum()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann              </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$learning_momentum</strong>  The learning momentum.

<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_get_learning_momentum()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_set_learning_rate
type: function
doc:
<comment>Description:</comment>
  Sets the learning rate
  
  Sets the learning rate.
  
  More info available in <strong>fann_get_learning_rate()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann          </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$learning_rate</strong>  The learning rate.

<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_get_learning_rate()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_set_output_scaling_params
type: function
doc:
<comment>Description:</comment>
  Calculate output scaling parameters for future use based on training data
  
  Calculate output scaling parameters for future use based on training data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data    </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_output_min</strong>  The desired lower bound in output data after scaling (not strictly
                             followed)
  <info>float   </info>  <strong>$new_output_max</strong>  The desired upper bound in output data after scaling (not strictly
                             followed)

<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_set_input_scaling_params()</strong>


id: fann_set_quickprop_decay
type: function
doc:
<comment>Description:</comment>
  Sets the quickprop decay factor
  
  Sets the quickprop decay factor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann            </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$quickprop_decay</strong>  The quickprop decay factor.

<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_get_quickprop_decay()</strong>


id: fann_set_quickprop_mu
type: function
doc:
<comment>Description:</comment>
  Sets the quickprop mu factor
  
  Sets the quickprop mu factor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann         </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$quickprop_mu</strong>  The mu factor.

<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_get_quickprop_mu()</strong>


id: fann_set_rprop_decrease_factor
type: function
doc:
<comment>Description:</comment>
  Sets the decrease factor used during RPROP training
  
  Sets the decrease factor used during RPROP training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                  </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$rprop_decrease_factor</strong>  The decrease factor.

<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_get_rprop_decrease_factor()</strong>


id: fann_set_rprop_delta_max
type: function
doc:
<comment>Description:</comment>
  Sets the maximum step-size
  
  The maximum step-size is a positive number determining how large the maximum step-size may be.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann            </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$rprop_delta_max</strong>  The maximum step-size.

<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_get_rprop_delta_max()</strong>
   * <strong>fann_get_rprop_delta_min()</strong>


id: fann_set_rprop_delta_min
type: function
doc:
<comment>Description:</comment>
  Sets the minimum step-size
  
  The minimum step-size is a small positive number determining how small the minimum step-size may
  be.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann            </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$rprop_delta_min</strong>  The minimum step-size.

<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_get_rprop_delta_min()</strong>


id: fann_set_rprop_delta_zero
type: function
doc:
<comment>Description:</comment>
  Sets the initial step-size
  
  The initial step-size is a positive number determining the initial step size.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann             </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$rprop_delta_zero</strong>  The initial step-size.

<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_get_rprop_delta_zero()</strong>
   * <strong>fann_get_rprop_delta_min()</strong>
   * <strong>fann_get_rprop_delta_max()</strong>


id: fann_set_rprop_increase_factor
type: function
doc:
<comment>Description:</comment>
  Sets the increase factor used during RPROP training
  
  Sets the increase factor used during RPROP training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                  </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$rprop_increase_factor</strong>  The increase factor.

<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_get_rprop_increase_factor()</strong>


id: fann_set_sarprop_step_error_shift
type: function
doc:
<comment>Description:</comment>
  Sets the sarprop step error shift
  
  Sets the sarprop step error shift.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                     </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$sarprop_step_error_shift</strong>  The sarprop step error shift.

<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_get_sarprop_step_error_shift()</strong>


id: fann_set_sarprop_step_error_threshold_factor
type: function
doc:
<comment>Description:</comment>
  Sets the sarprop step error threshold factor
  
  Sets the sarprop step error threshold factor.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$sarprop_step_error_threshold_factor</strong>  The sarprop step error threshold factor.

<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_get_sarprop_step_error_threshold_factor()</strong>


id: fann_set_sarprop_temperature
type: function
doc:
<comment>Description:</comment>
  Sets the sarprop temperature
  
  Sets the sarprop temperature.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$sarprop_temperature</strong>  The sarprop temperature.

<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_get_sarprop_temperature()</strong>


id: fann_set_sarprop_weight_decay_shift
type: function
doc:
<comment>Description:</comment>
  Sets the sarprop weight decay shift
  
  Sets the sarprop weight decay shift.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                       </strong>  <info>resource</info> a unei rețele neuronale.
  <info>float   </info>  <strong>$sarprop_weight_decay_shift</strong>  The sarprop weight decay shift.

<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_get_sarprop_weight_decay_shift()</strong>


id: fann_set_scaling_params
type: function
doc:
<comment>Description:</comment>
  Calculate input and output scaling parameters for future use based on training data
  
  Calculate input and output scaling parameters for future use based on training data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>resource</info>  <strong>$train_data    </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>float   </info>  <strong>$new_input_min </strong>  The desired lower bound in input data after scaling (not strictly
                             followed)
  <info>float   </info>  <strong>$new_input_max </strong>  The desired upper bound in input data after scaling (not strictly
                             followed)
  <info>float   </info>  <strong>$new_output_min</strong>  The desired lower bound in output data after scaling (not strictly
                             followed)
  <info>float   </info>  <strong>$new_output_max</strong>  The desired upper bound in output data after scaling (not strictly
                             followed)

<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_set_input_scaling_params()</strong>
   * <strong>fann_set_output_scaling_params()</strong>


id: fann_set_train_error_function
type: function
doc:
<comment>Description:</comment>
  Sets the error function used during training
  
  Sets the error function used during training.
  
  The error functions are described further in error functions constants.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$error_function</strong>  The error function constant

<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_get_train_error_function()</strong>


id: fann_set_train_stop_function
type: function
doc:
<comment>Description:</comment>
  Sets the stop function used during training
  
  Sets the stop function used during training.
  
  The stop functions are described further in stop functions constants.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann          </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$stop_function</strong>  The stop function constant.

<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_get_train_stop_function()</strong>


id: fann_set_training_algorithm
type: function
doc:
<comment>Description:</comment>
  Sets the training algorithm
  
  Sets the training algorithm.
  
  More info available in <strong>fann_get_training_algorithm()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann               </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$training_algorithm</strong>  Training algorithm constant

<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_get_training_algorithm()</strong>


id: fann_set_weight
type: function
doc:
<comment>Description:</comment>
  Set a connection in the network
  
  Set a connections in the network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann        </strong>  <info>resource</info> a unei rețele neuronale.
  <info>int     </info>  <strong>$from_neuron</strong>  The neuron where the connection starts
  <info>int     </info>  <strong>$to_neuron  </strong>  The neuron where the connection ends
  <info>float   </info>  <strong>$weight     </strong>  Connection weight

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.


id: fann_set_weight_array
type: function
doc:
<comment>Description:</comment>
  Set connections in the network
  
  Set connections in the network.
  
  Only the weights can be changed, connections and weights are ignored if they do not already exist
  in the network.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann        </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$connections</strong>  An array of <class>FANNConnection</class> objects

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.


id: fann_shuffle_train_data
type: function
doc:
<comment>Description:</comment>
  Shuffles training data, randomizing the order
  
  Shuffles training data, randomizing the order. This is recommended for incremental training, while
  it have no influence during batch training.

<comment>Param:</comment>
  <info>resource</info>  <strong>$train_data</strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> în caz de succes, sau <info>false</info> în caz contrar.


id: fann_subset_train_data
type: function
doc:
<comment>Description:</comment>
  Returns an copy of a subset of the train data
  
  Returns an copy of a subset of the train data <info>resource</info>, starting at position <return>pos</return> and <return>length</return>
  elements forward.
  
  The <return>fann_subset_train_data(train_data, 0, fann_length_train_data(train_data))</return> do the same as
  <strong>fann_duplicate_train_data()</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$data  </strong>  <info>resource</info> a datelor pentru antrenarea rețelei neuronale.
  <info>int     </info>  <strong>$pos   </strong>  Starting position.
  <info>int     </info>  <strong>$length</strong>  The number of copied elements.

<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_duplicate_train_data()</strong>


id: fann_test
type: function
doc:
<comment>Description:</comment>
  Test with a set of inputs, and a set of desired outputs
  
  Test with a set of inputs, and a set of desired outputs. This operation updates the mean square
  error, but does not change the network in any way.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$input         </strong>  An array of inputs. This array must be exactly <strong>fann_get_num_input()</strong>
                             long.
  <info>array   </info>  <strong>$desired_output</strong>  An array of desired outputs. This array must be exactly
                             <strong>fann_get_num_output()</strong> long.

<comment>Return:</comment>
  <info>array</info>  Returns test outputs on success, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_test_data()</strong>
   * <strong>fann_train()</strong>
   * <strong>fann_get_num_input()</strong>
   * <strong>fann_get_num_output()</strong>


id: fann_test_data
type: function
doc:
<comment>Description:</comment>
  Test a set of training data and calculates the MSE for the training data
  
  Test a set of training data and calculates the MSE for the training data.
  
  This function updates the MSE and the bit fail values.

<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.

<comment>Return:</comment>
  <info>float</info>  The updated MSE, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_train_epoch()</strong>
   * <strong>fann_get_bit_fail()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_train
type: function
doc:
<comment>Description:</comment>
  Train one iteration with a set of inputs, and a set of desired outputs
  
  Train one iteration with a set of inputs, and a set of desired outputs. This training is always
  incremental training, since only one pattern is presented.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann           </strong>  <info>resource</info> a unei rețele neuronale.
  <info>array   </info>  <strong>$input         </strong>  An array of inputs. This array must be exactly <strong>fann_get_num_input()</strong>
                             long.
  <info>array   </info>  <strong>$desired_output</strong>  An array of desired outputs. This array must be exactly
                             <strong>fann_get_num_output()</strong> long.

<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_train_epoch()</strong>
   * <strong>fann_get_num_input()</strong>
   * <strong>fann_get_num_output()</strong>


id: fann_train_epoch
type: function
doc:
<comment>Description:</comment>
  Train one epoch with a set of training data
  
  Train one epoch with the training data stored in data. One epoch is where all of the training data
  is considered exactly once.
  
  This function returns the MSE error as it is calculated either before or during the actual
  training. This is not the actual MSE after the training epoch, but since calculating this will
  require to go through the entire training set once more. It is more than adequate to use this
  value during training.
  
  The training algorithm used by this function is chosen by <strong>fann_set_training_algorithm()</strong> function.

<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.

<comment>Return:</comment>
  <info>float</info>  The MSE, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fann_train_on_data()</strong>
   * <strong>fann_test_data()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_set_training_algorithm()</strong>


id: fann_train_on_data
type: function
doc:
<comment>Description:</comment>
  Trains on an entire dataset for a period of time
  
  Trains on an entire dataset for a period of time.
  
  This training uses the training algorithm chosen by <strong>fann_set_training_algorithm()</strong> and the
  parameters set for these training algorithms.

<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_epochs            </strong>  The maximum number of epochs the training should continue
  <info>int     </info>  <strong>$epochs_between_reports</strong>  The number of epochs between calling a callback function. A
                                     value of zero means that user function is not called.
  <info>float   </info>  <strong>$desired_error         </strong>  The desired <strong>fann_get_MSE()</strong> or <strong>fann_get_bit_fail()</strong>, depending on
                                     the stop function 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_file()</strong>
   * <strong>fann_train_epoch()</strong>
   * <strong>fann_get_bit_fail()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_set_train_stop_function()</strong>
   * <strong>fann_set_training_algorithm()</strong>
   * <strong>fann_set_callback()</strong>


id: fann_train_on_file
type: function
doc:
<comment>Description:</comment>
  Trains on an entire dataset, which is read from file, for a period of time
  
  Trains on an entire dataset, which is read from file, for a period of time.
  
  This training uses the training algorithm chosen by <strong>fann_set_training_algorithm()</strong> and the
  parameters set for these training algorithms.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ann                   </strong>  <info>resource</info> a unei rețele neuronale.
  <info>string  </info>  <strong>$filename              </strong>  The file containing train data
  <info>int     </info>  <strong>$max_epochs            </strong>  The maximum number of epochs the training should continue
  <info>int     </info>  <strong>$epochs_between_reports</strong>  The number of epochs between calling a user function. A value
                                     of zero means that user function is not called.
  <info>float   </info>  <strong>$desired_error         </strong>  The desired <strong>fann_get_MSE()</strong> or <strong>fann_get_bit_fail()</strong>, depending on
                                     the stop function 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_train_epoch()</strong>
   * <strong>fann_get_bit_fail()</strong>
   * <strong>fann_get_MSE()</strong>
   * <strong>fann_set_train_stop_function()</strong>
   * <strong>fann_set_training_algorithm()</strong>
   * <strong>fann_set_callback()</strong>


id: fastcgi_finish_request
type: function
doc:
<comment>Description:</comment>
  Flushes all response data to the client
  
  This function flushes all response data to the client and finishes the request. This allows for
  time consuming tasks to be performed without leaving the connection to the client open.

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


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

<comment>See Also:</comment>
   * <strong>fbird_modify_user()</strong>
   * <strong>fbird_delete_user()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_query()</strong>
   * <strong>fbird_execute()</strong>


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


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

<comment>See Also:</comment>
   * <strong>fbird_blob_cancel()</strong>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_create()</strong>
   * <strong>fbird_blob_import()</strong>


id: fbird_blob_cancel
type: function
doc:
<comment>Description:</comment>
  Cancel creating blob
  
  This function will discard a BLOB if it has not yet been closed by <strong>fbird_blob_close()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$blob_handle</strong>  A BLOB handle opened with <strong>fbird_blob_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>fbird_blob_close()</strong>
   * <strong>fbird_blob_create()</strong>
   * <strong>fbird_blob_import()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_blob_create()</strong>
   * <strong>fbird_blob_cancel()</strong>
   * <strong>fbird_blob_open()</strong>
   * <strong>fbird_blob_import()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_blob_add()</strong>
   * <strong>fbird_blob_cancel()</strong>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_import()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_blob_open()</strong>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_get()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_blob_open()</strong>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_echo()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_blob_add()</strong>
   * <strong>fbird_blob_cancel()</strong>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_create()</strong>


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


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

<comment>See Also:</comment>
   * <strong>fbird_blob_close()</strong>
   * <strong>fbird_blob_echo()</strong>
   * <strong>fbird_blob_get()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_connect()</strong>
   * <strong>fbird_pconnect()</strong>


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


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


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

<comment>See Also:</comment>
   * <strong>fbird_pconnect()</strong>
   * <strong>fbird_close()</strong>


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


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

<comment>See Also:</comment>
   * <strong>fbird_add_user()</strong>
   * <strong>fbird_modify_user()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_connect()</strong>
   * <strong>fbird_pconnect()</strong>


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

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


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

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


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

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


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

<comment>See Also:</comment>
   * <strong>fbird_fetch_row()</strong>
   * <strong>fbird_fetch_object()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_fetch_row()</strong>
   * <strong>fbird_fetch_assoc()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_fetch_assoc()</strong>
   * <strong>fbird_fetch_object()</strong>


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

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


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

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


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


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


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


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


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

<comment>See Also:</comment>
   * <strong>fbird_add_user()</strong>
   * <strong>fbird_delete_user()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_prepare()</strong>
   * <strong>fbird_execute()</strong>


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

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


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

<comment>See Also:</comment>
   * <strong>fbird_prepare()</strong>
   * <strong>fbird_param_info()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_field_info()</strong>
   * <strong>fbird_num_params()</strong>


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

<comment>See Also:</comment>
   * <strong>fbird_close()</strong>
   * <strong>fbird_connect()</strong>


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


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

<comment>See Also:</comment>
   * <strong>fbird_errmsg()</strong>
   * <strong>fbird_fetch_row()</strong>
   * <strong>fbird_fetch_object()</strong>
   * <strong>fbird_free_result()</strong>


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


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


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


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


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


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


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

<comment>See Also:</comment>
   * <strong>fbird_free_event_handler()</strong>
   * <strong>fbird_wait_event()</strong>


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


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

<comment>See Also:</comment>
   * <strong>fbird_set_event_handler()</strong>
   * <strong>fbird_free_event_handler()</strong>


id: fbsql_affected_rows
type: function
doc:
<comment>Description:</comment>
  Get number of affected rows in previous FrontBase operation
  
  <strong>fbsql_affected_rows()</strong> returns the number of rows affected by the last INSERT, UPDATE or DELETE
  query associated with <strong>$link_identifier</strong>.
  
  If you are using transactions, you need to call <strong>fbsql_affected_rows()</strong> after your INSERT, UPDATE,
  or DELETE query, not after the commit.
  
  If the last query was a DELETE query with no WHERE clause, all of the records will have been
  deleted from the table but this function will return zero.
  
  When using UPDATE, FrontBase will not update columns where the new value is the same as the old
  value.  This creates the possibility that <strong>fbsql_affected_rows()</strong> may not actually equal the number
  of rows matched, only the number of rows that were literally affected by the query.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  If the last query failed, this function will return -1.

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


id: fbsql_autocommit
type: function
doc:
<comment>Description:</comment>
  Enable or disable autocommit
  
  Returns the current autocommit status.

<comment>Param:</comment>
  <info>    </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                          întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                          ()</strong>.
                          
                          Dacă nu este specificat, funcția va încerca să
                          găsească o legătură deschisă către serverul FrontBase și dacă nu este
                          găsită
                          nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                          <strong>fbsql_connect()</strong> fără argumente.
  <info>bool</info>  <strong>$OnOff          </strong>  If this optional parameter is given the auto commit status will be
                          changed.
                          
                          With <strong>$OnOff</strong> set to <info>true</info> each statement will be committed automatically, if
                          no errors was found.
                          
                          With OnOff set to <info>false</info> the user must commit or rollback the transaction
                          using either <strong>fbsql_commit()</strong> or <strong>fbsql_rollback()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns the current autocommit status, as a boolean.

<comment>See Also:</comment>
   * <strong>fbsql_commit()</strong>
   * <strong>fbsql_rollback()</strong>


id: fbsql_blob_size
type: function
doc:
<comment>Description:</comment>
  Get the size of a BLOB
  
  Returns the size of the given BLOB.

<comment>Param:</comment>
  <info>string</info>  <strong>$blob_handle    </strong>  A BLOB handle, returned by <strong>fbsql_create_blob()</strong>.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  Returns the BLOB size as an integer, or <info>false</info> on error.

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


id: fbsql_change_user
type: function
doc:
<comment>Description:</comment>
  Change logged in user of the active connection
  
  <strong>fbsql_change_user()</strong> changes the logged in user of the specified connection. If the new user and
  password authorization fails,  the current connected user stays active.

<comment>Param:</comment>
  <info>string</info>  <strong>$user           </strong>  The new user name.
  <info>string</info>  <strong>$password       </strong>  The new user password.
  <info>string</info>  <strong>$database       </strong>  If specified, this will be the default or current database after the
                            user has been changed.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

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


id: fbsql_clob_size
type: function
doc:
<comment>Description:</comment>
  Get the size of a CLOB
  
  Returns the size of the given CLOB.

<comment>Param:</comment>
  <info>string</info>  <strong>$clob_handle    </strong>  A CLOB handle, returned by <strong>fbsql_create_clob()</strong>.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  Returns the CLOB size as an integer, or <info>false</info> on error.

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


id: fbsql_close
type: function
doc:
<comment>Description:</comment>
  Close FrontBase connection
  
  Closes the connection to the FrontBase server that's associated with the specified link
  identifier.
  
  Using <strong>fbsql_close()</strong> isn't usually necessary, as non-persistent open links are automatically closed
  at the end of the script's execution.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_connect()</strong>
   * <strong>fbsql_pconnect()</strong>


id: fbsql_commit
type: function
doc:
<comment>Description:</comment>
  Commits a transaction to the database
  
  Ends the current transaction by writing all inserts, updates and deletes to the disk and unlocking
  all row and table locks held by the transaction. This command is only needed if autocommit is set
  to false.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_autocommit()</strong>
   * <strong>fbsql_rollback()</strong>


id: fbsql_connect
type: function
doc:
<comment>Description:</comment>
  Open a connection to a FrontBase Server
  
  <strong>fbsql_connect()</strong> establishes a connection to a FrontBase server.
  
  If a second call is made to <strong>fbsql_connect()</strong> with the same arguments, no new link will be
  established, but instead, the link identifier of the already opened link will be returned.
  
  The link to the server will be closed as soon as the execution of the script ends, unless it's
  closed earlier by explicitly calling <strong>fbsql_close()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The server host name.
  <info>string</info>  <strong>$username</strong>  The user name for the connection.
  <info>string</info>  <strong>$password</strong>  The password for the connection.

<comment>Return:</comment>
  <info>resource</info>  Returns a positive FrontBase link identifier on success, or <info>false</info> on errors.

<comment>See Also:</comment>
   * <strong>fbsql_pconnect()</strong>
   * <strong>fbsql_close()</strong>


id: fbsql_create_blob
type: function
doc:
<comment>Description:</comment>
  Create a BLOB
  
  Creates a BLOB from the given data.

<comment>Param:</comment>
  <info>string</info>  <strong>$blob_data      </strong>  The BLOB data.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>string</info>  Returns a resource handle to the newly created BLOB, which can be used with insert and
          update commands to store the BLOB in the database.

<comment>See Also:</comment>
   * <strong>fbsql_create_clob()</strong>
   * <strong>fbsql_read_blob()</strong>
   * <strong>fbsql_read_clob()</strong>
   * <strong>fbsql_set_lob_mode()</strong>


id: fbsql_create_clob
type: function
doc:
<comment>Description:</comment>
  Create a CLOB
  
  Creates a CLOB from the given data.

<comment>Param:</comment>
  <info>string</info>  <strong>$clob_data      </strong>  The CLOB data.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>string</info>  Returns a resource handle to the newly created CLOB, which can be used with insert and
          update commands to store the CLOB in the database.

<comment>See Also:</comment>
   * <strong>fbsql_create_blob()</strong>
   * <strong>fbsql_read_blob()</strong>
   * <strong>fbsql_read_clob()</strong>
   * <strong>fbsql_set_lob_mode()</strong>


id: fbsql_create_db
type: function
doc:
<comment>Description:</comment>
  Create a FrontBase database
  
  Attempts to create a new database on the specified server.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name   </strong>  The database name, as a string.
  <info>      </info>  <strong>$link_identifier </strong>  Un identificator de legătură FrontBase
                             întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                             ()</strong>.
                             
                             Dacă nu este specificat, funcția va încerca să
                             găsească o legătură deschisă către serverul FrontBase și dacă nu este
                             găsită
                             nici o astfel de legătură, se va încerca crearea uneia, ca și la
                             apelarea
                             <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$database_options</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>fbsql_drop_db()</strong>


id: fbsql_data_seek
type: function
doc:
<comment>Description:</comment>
  Move internal result pointer
  
  Moves the internal row pointer of the FrontBase result associated with the specified result
  identifier to point to the specified row number.
  
  The next call to <strong>fbsql_fetch_row()</strong> would return that  row.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result    </strong>  Un identificator al rezultatului întors de
                         <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$row_number</strong>  The row number. Starts at 0.

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


id: fbsql_database
type: function
doc:
<comment>Description:</comment>
  Get or set the database name used with a connection
  
  Get or set the database name used with the connection.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$database       </strong>  The database name. If given, the default database of the connexion will
                            be changed to <strong>$database</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the name of the database used with this connection.


id: fbsql_database_password
type: function
doc:
<comment>Description:</comment>
  Sets or retrieves the password for a FrontBase database
  
  Sets and retrieves the database password used by the connection. If a database is protected by a
  database password, the user must call this function before calling <strong>fbsql_select_db()</strong>.
  
  If no link is open, the function will try to establish a link as if <strong>fbsql_connect()</strong> was called,
  and use it.
  
  This function does not change the database password in the database nor can it be used to retrieve
  the database password for a database.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier  </strong>  Un identificator de legătură FrontBase
                              întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                              ()</strong>.
                              
                              Dacă nu este specificat, funcția va încerca să
                              găsească o legătură deschisă către serverul FrontBase și dacă nu este
                              găsită
                              nici o astfel de legătură, se va încerca crearea uneia, ca și la
                              apelarea
                              <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$database_password</strong>  The database password, as a string. If given, the function sets the
                              database password for the specified link identifier.

<comment>Return:</comment>
  <info>string</info>  Returns the database password associated with the link identifier.

<comment>See Also:</comment>
   * <strong>fbsql_connect()</strong>
   * <strong>fbsql_pconnect()</strong>
   * <strong>fbsql_select_db()</strong>


id: fbsql_db_query
type: function
doc:
<comment>Description:</comment>
  Send a FrontBase query
  
  Selects a database and executes a query on it.

<comment>Param:</comment>
  <info>string</info>  <strong>$database       </strong>  The database to be selected.
  <info>string</info>  <strong>$query          </strong>  The SQL query to be executed.
                            
                            The query string shall always end with a semicolon.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>resource</info>  Returns a positive FrontBase result identifier to the query result, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fbsql_query()</strong>
   * <strong>fbsql_connect()</strong>


id: fbsql_db_status
type: function
doc:
<comment>Description:</comment>
  Get the status for a given database
  
  Gets the current status of the specified database.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name  </strong>  The database name.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  Returns an integer value with the current status. This can be one of the following constants:
       <info>false</info> - The exec handler for the host was invalid. This error will occur when the
       <strong>$link_identifier</strong> connects directly to a database by using a port number. FBExec can be
       available on the server but no connection has been made for it. <info>FBSQL_UNKNOWN</info> - The Status is
       unknown. <info>FBSQL_STOPPED</info> - The database is not running. Use <strong>fbsql_start_db()</strong> to start the
       database. <info>FBSQL_STARTING</info> - The database is starting. <info>FBSQL_RUNNING</info> - The database is running
       and can be used to perform SQL operations. <info>FBSQL_STOPPING</info> - The database is stopping.
       <info>FBSQL_NOEXEC</info> - FBExec is not running on the server and it is not possible to get the status
       of the database.
       
       <info>false</info> - The exec handler for the host was invalid. This error will occur when the
       <strong>$link_identifier</strong> connects directly to a database by using a port number. FBExec can be
       available on the server but no connection has been made for it.
       
       <info>FBSQL_UNKNOWN</info> - The Status is unknown.
       
       <info>FBSQL_STOPPED</info> - The database is not running. Use <strong>fbsql_start_db()</strong> to start the database.
       
       <info>FBSQL_STARTING</info> - The database is starting.
       
       <info>FBSQL_RUNNING</info> - The database is running and can be used to perform SQL operations.
       
       <info>FBSQL_STOPPING</info> - The database is stopping.
       
       <info>FBSQL_NOEXEC</info> - FBExec is not running on the server and it is not possible to get the status
       of the database.

<comment>See Also:</comment>
   * <strong>fbsql_start_db()</strong>
   * <strong>fbsql_stop_db()</strong>


id: fbsql_drop_db
type: function
doc:
<comment>Description:</comment>
  Drop (delete) a FrontBase database
  
  <strong>fbsql_drop_db()</strong> attempts to drop (remove) an entire database from the server associated with the
  specified link identifier.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name  </strong>  The database name, as a string.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_create_db()</strong>


id: fbsql_errno
type: function
doc:
<comment>Description:</comment>
  Returns the error number from previous operation
  
  Returns the numerical value of the error message from previous FrontBase operation.
  
  Errors coming back from the fbsql database backend don't issue warnings. Instead, use
  <strong>fbsql_errno()</strong> to retrieve the error code. Note that this function only returns the error code from
  the most recently executed fbsql function (not including <strong>fbsql_error()</strong>  and <strong>fbsql_errno()</strong>), so if
  you want to use it, make sure you check the value before calling another fbsql function.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  Returns the error number from the last fbsql function, or <return>0</return> (zero) if no error occurred.

<comment>See Also:</comment>
   * <strong>fbsql_error()</strong>
   * <strong>fbsql_warnings()</strong>


id: fbsql_error
type: function
doc:
<comment>Description:</comment>
  Returns the error message from previous operation
  
  Returns the error message from previous FrontBase operation.
  
  Errors coming back from the fbsql database backend don't issue warnings. Instead, use
  <strong>fbsql_error()</strong> to retrieve the error text. Note that this function only returns the error code from
  the most recently executed fbsql function (not including <strong>fbsql_error()</strong>  and <strong>fbsql_errno()</strong>), so if
  you want to use it, make sure you check the value before calling another fbsql function.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>string</info>  Returns the error text from the last fbsql function, or <return>''</return> (the empty string) if no error
          occurred.

<comment>See Also:</comment>
   * <strong>fbsql_errno()</strong>
   * <strong>fbsql_warnings()</strong>


id: fbsql_fetch_array
type: function
doc:
<comment>Description:</comment>
  Fetch a result row as an associative array, a numeric array, or both
  
  <strong>fbsql_fetch_array()</strong> is a combination of <strong>fbsql_fetch_row()</strong> and  <strong>fbsql_fetch_assoc()</strong>.
  
  An important thing to note is that using <strong>fbsql_fetch_array()</strong> is NOT significantly slower than
  using <strong>fbsql_fetch_row()</strong>, while it provides a significant added value.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result     </strong>  Un identificator al rezultatului întors de
                          <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$result_type</strong>  A constant and can take the following values:  <info>FBSQL_ASSOC</info>, <info>FBSQL_NUM</info>, or
                          <info>FBSQL_BOTH</info>.
                          
                          When using <info>FBSQL_BOTH</info>, in addition to storing the data in the numeric
                          indices of the result array, it also stores the data in associative
                          indices, using the field names as keys.

<comment>Return:</comment>
  <info>array</info>  Returns an array that corresponds to the fetched row, or <info>false</info> if there are no more rows.
         
         If two or more columns of the result have the same field names, the last column will take
         precedence. To access the other column(s) of the same name, you must the numeric index of
         the column or make an alias for the column.

<comment>See Also:</comment>
   * <strong>fbsql_fetch_row()</strong>
   * <strong>fbsql_fetch_assoc()</strong>
   * <strong>fbsql_fetch_object()</strong>


id: fbsql_fetch_assoc
type: function
doc:
<comment>Description:</comment>
  Fetch a result row as an associative array
  
  Calling <strong>fbsql_fetch_assoc()</strong> is equivalent to calling <strong>fbsql_fetch_array()</strong> with  <info>FBSQL_ASSOC</info> as
  second parameter. It only returns an associative array.
  
  This is the way <strong>fbsql_fetch_array()</strong> originally worked.  If you need the numeric indices as well as
  the associative, use <strong>fbsql_fetch_array()</strong>.
  
  An important thing to note is that using <strong>fbsql_fetch_assoc()</strong> is NOT significantly slower than
  using <strong>fbsql_fetch_row()</strong>, while it provides a significant added value.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array that corresponds to the fetched row, or <info>false</info> if there are no
         more rows.
         
         If two or more columns of the result have the same field names, the last column will take
         precedence. To access the other column(s) of the same name, you must use
         <strong>fbsql_fetch_array()</strong> and have it return the numeric indices as well.

<comment>See Also:</comment>
   * <strong>fbsql_fetch_row()</strong>
   * <strong>fbsql_fetch_array()</strong>
   * <strong>fbsql_fetch_object()</strong>


id: fbsql_fetch_field
type: function
doc:
<comment>Description:</comment>
  Get column information from a result and return as an object
  
  Used in order to obtain information about fields in a certain query result.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  Un identificator al rezultatului întors de
                           <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0. If not
                           specified, the next field that wasn't yet retrieved by
                           <strong>fbsql_fetch_field()</strong> is retrieved.

<comment>Return:</comment>
  <info>object</info>  Returns an object containing field information, or <info>false</info> on errors.
          
          The properties of the object are:  name - column name  table - name of the table the
          column belongs to  max_length - maximum length of the column  not_null - 1 if the column
          cannot be <info>null</info>  type - the type of the column
          
          name - column name
          
          table - name of the table the column belongs to
          
          max_length - maximum length of the column
          
          not_null - 1 if the column cannot be <info>null</info>
          
          type - the type of the column

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


id: fbsql_fetch_lengths
type: function
doc:
<comment>Description:</comment>
  Get the length of each output in a result
  
  Stores the lengths of each result column in the last row returned by <strong>fbsql_fetch_row()</strong>,
  <strong>fbsql_fetch_array()</strong> and <strong>fbsql_fetch_object()</strong> in an array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an array, starting at offset 0, that corresponds to the lengths of each field in
         the last row fetched by <strong>fbsql_fetch_row()</strong>, or <info>false</info> on error.

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


id: fbsql_fetch_object
type: function
doc:
<comment>Description:</comment>
  Fetch a result row as an object
  
  <strong>fbsql_fetch_object()</strong> is similar to <strong>fbsql_fetch_array()</strong>, with one difference - an object is
  returned, instead of an array.  Indirectly, that means that you can only access the data by the
  field names, and not by their offsets (numbers are illegal property names).
  
  Speed-wise, the function is identical to <strong>fbsql_fetch_array()</strong>, and almost as quick as
  <strong>fbsql_fetch_row()</strong> (the difference is insignificant).

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>object</info>  Returns an object with properties that correspond to the fetched row, or <info>false</info> if there
          are no more rows.

<comment>See Also:</comment>
   * <strong>fbsql_fetch_array()</strong>
   * <strong>fbsql_fetch_row()</strong>
   * <strong>fbsql_fetch_assoc()</strong>


id: fbsql_fetch_row
type: function
doc:
<comment>Description:</comment>
  Get a result row as an enumerated array
  
  <strong>fbsql_fetch_row()</strong> fetches one row of data from the result associated with the specified result
  identifier.
  
  Subsequent call to <strong>fbsql_fetch_row()</strong> would return the next row in the result set, or <info>false</info> if
  there are no more rows.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an array that corresponds to the fetched row where each result column is stored in
         an offset, starting at offset 0, or <info>false</info> if there are no more rows.

<comment>See Also:</comment>
   * <strong>fbsql_fetch_array()</strong>
   * <strong>fbsql_fetch_assoc()</strong>
   * <strong>fbsql_fetch_object()</strong>
   * <strong>fbsql_data_seek()</strong>
   * <strong>fbsql_fetch_lengths()</strong>
   * <strong>fbsql_result()</strong>


id: fbsql_field_flags
type: function
doc:
<comment>Description:</comment>
  Get the flags associated with the specified field in a result
  
  Gets the flags associated with the specified field in a result.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  A result pointer returned by <strong>fbsql_list_fields()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0.

<comment>Return:</comment>
  <info>string</info>  Returns the field flags of the specified field as a single word per flag separated by a
          single space, so that you can split the returned value using <strong>explode()</strong>.


id: fbsql_field_len
type: function
doc:
<comment>Description:</comment>
  Returns the length of the specified field
  
  Returns the length of the specified field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  A result pointer returned by <strong>fbsql_list_fields()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0.

<comment>Return:</comment>
  <info>int</info>  Returns the length of the specified field.


id: fbsql_field_name
type: function
doc:
<comment>Description:</comment>
  Get the name of the specified field in a result
  
  Returns the name of the specified field index.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result     </strong>  A result pointer returned by <strong>fbsql_list_fields()</strong>.
  <info>int     </info>  <strong>$field_index</strong>  The numerical offset of the field. The field index starts at 0.

<comment>Return:</comment>
  <info>string</info>  Returns the name as a string, or <info>false</info> if the field doesn't exist.

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


id: fbsql_field_seek
type: function
doc:
<comment>Description:</comment>
  Set result pointer to a specified field offset
  
  Seeks to the specified field offset. If the next call to <strong>fbsql_fetch_field()</strong> doesn't include a
  field offset, the field offset specified in <strong>fbsql_field_seek()</strong> will be returned.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  Un identificator al rezultatului întors de
                           <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0.

<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>fbsql_fetch_field()</strong>


id: fbsql_field_table
type: function
doc:
<comment>Description:</comment>
  Get name of the table the specified field is in
  
  Returns the name of the table that the specified field is in.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  Un identificator al rezultatului întors de
                           <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0.

<comment>Return:</comment>
  <info>string</info>  Returns the name of the table, as a string.


id: fbsql_field_type
type: function
doc:
<comment>Description:</comment>
  Get the type of the specified field in a result
  
  <strong>fbsql_field_type()</strong> is similar to the <strong>fbsql_field_name()</strong> function, but the field type is returned
  instead.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result      </strong>  Un identificator al rezultatului întors de
                           <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$field_offset</strong>  The numerical offset of the field. The field index starts at 0.

<comment>Return:</comment>
  <info>string</info>  Returns the field type, as a string.
          
          This can be one of <return>int</return>, <return>real</return>, <return>string</return>, <return>blob</return>, and others as detailed in the FrontBase
          documentation.

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


id: fbsql_free_result
type: function
doc:
<comment>Description:</comment>
  Free result memory
  
  Frees all memory associated with the given <strong>$result</strong> identifier.
  
  <strong>fbsql_free_result()</strong> only needs to be called if you are concerned about how much memory is being
  used for queries that return large result sets.  All associated result memory is automatically
  freed at the end of the script's execution.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

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


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

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

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


id: fbsql_hostname
type: function
doc:
<comment>Description:</comment>
  Get or set the host name used with a connection
  
  Gets or sets the host name used with a connection.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$host_name      </strong>  If provided, this will be the new connection host name.

<comment>Return:</comment>
  <info>string</info>  Returns the current host name used for the connection.

<comment>See Also:</comment>
   * <strong>fbsql_username()</strong>
   * <strong>fbsql_password()</strong>


id: fbsql_insert_id
type: function
doc:
<comment>Description:</comment>
  Get the id generated from the previous INSERT operation
  
  Gets the id generated from the previous INSERT operation which created a DEFAULT UNIQUE value.
  
  The value of the FrontBase SQL function <strong>fbsql_insert_id()</strong> always contains the most recently
  generated DEFAULT UNIQUE value, and is not reset between queries.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>int</info>  Returns the ID generated from the previous INSERT query, or 0 if the previous query does not
       generate an DEFAULT UNIQUE value.
       
       If you need to save the value for later, be sure to call this function immediately after the
       query that generates the value.

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


id: fbsql_list_dbs
type: function
doc:
<comment>Description:</comment>
  List databases available on a FrontBase server
  
  Return a result pointer containing the databases available from the current fbsql daemon. Use the
  <strong>fbsql_tablename()</strong> to traverse this result pointer.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>resource</info>  Returns a result pointer or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fbsql_list_fields()</strong>
   * <strong>fbsql_list_tables()</strong>


id: fbsql_list_fields
type: function
doc:
<comment>Description:</comment>
  List FrontBase result fields
  
  Retrieves information about the given table.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name  </strong>  The database name.
  <info>string</info>  <strong>$table_name     </strong>  The table name.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>resource</info>  Returns a result pointer which can be used with the <return>fbsql_field_xxx</return> functions, or <info>false</info>
            on error.

<comment>See Also:</comment>
   * <strong>fbsql_field_len()</strong>
   * <strong>fbsql_field_name()</strong>
   * <strong>fbsql_field_type()</strong>
   * <strong>fbsql_field_flags()</strong>


id: fbsql_list_tables
type: function
doc:
<comment>Description:</comment>
  List tables in a FrontBase database
  
  Returns a result pointer describing the <strong>$database</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$database       </strong>  The database name.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>resource</info>  Returns a result pointer which can be used with the <strong>fbsql_tablename()</strong> function to read
            the actual table names, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fbsql_list_fields()</strong>
   * <strong>fbsql_list_dbs()</strong>


id: fbsql_next_result
type: function
doc:
<comment>Description:</comment>
  Move the internal result pointer to the next result
  
  When sending more than one SQL statement to the server or executing a stored procedure with
  multiple results will cause the server to return multiple result sets.  This function will test
  for additional results available form the server. If an additional result set exists it will free
  the existing result set and prepare to fetch the words from the new result set.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if an additional result set was available or <info>false</info> otherwise.


id: fbsql_num_fields
type: function
doc:
<comment>Description:</comment>
  Get number of fields in result
  
  Returns the number of fields in the given <strong>$result</strong>  set.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns the number of fields, as an integer.

<comment>See Also:</comment>
   * <strong>fbsql_db_query()</strong>
   * <strong>fbsql_query()</strong>
   * <strong>fbsql_fetch_field()</strong>
   * <strong>fbsql_num_rows()</strong>


id: fbsql_num_rows
type: function
doc:
<comment>Description:</comment>
  Get number of rows in result
  
  Gets the number of rows in the given <strong>$result</strong> set.
  
  This function is only valid for SELECT statements. To retrieve the number of rows returned from a
  INSERT, UPDATE or DELETE query, use <strong>fbsql_affected_rows()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns the number of rows returned by the last SELECT statement.

<comment>See Also:</comment>
   * <strong>fbsql_affected_rows()</strong>
   * <strong>fbsql_connect()</strong>
   * <strong>fbsql_select_db()</strong>
   * <strong>fbsql_query()</strong>


id: fbsql_password
type: function
doc:
<comment>Description:</comment>
  Get or set the user password used with a connection
  
  Get or set the user password used with a connection.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$password       </strong>  If provided, this will be the new connection password.

<comment>Return:</comment>
  <info>string</info>  Returns the current password used for the connection.

<comment>See Also:</comment>
   * <strong>fbsql_username()</strong>
   * <strong>fbsql_hostname()</strong>


id: fbsql_pconnect
type: function
doc:
<comment>Description:</comment>
  Open a persistent connection to a FrontBase Server
  
  Establishes a persistent connection to a FrontBase server.
  
  To set the server port number, use <strong>fbsql_select_db()</strong>.
  
  <strong>fbsql_pconnect()</strong> acts very much like <strong>fbsql_connect()</strong> with two major differences:
  
  First, when connecting, the function would first try to find a (persistent) link that's already
  open with the same host, username and password.  If one is found, an identifier for it will be
  returned instead of opening a new connection.
  
  Second, the connection to the SQL server will not be closed when the execution of the script ends.
  Instead, the link will remain open for future use.
  
  This type of links is therefore called 'persistent'.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The server host name.
  <info>string</info>  <strong>$username</strong>  The user name for the connection.
  <info>string</info>  <strong>$password</strong>  The password for the connection.

<comment>Return:</comment>
  <info>resource</info>  Returns a positive FrontBase persistent link identifier on success, or <info>false</info> on error.

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


id: fbsql_query
type: function
doc:
<comment>Description:</comment>
  Send a FrontBase query
  
  Sends a <strong>$query</strong> to the currently active database on the server.
  
  If the query succeeds, you can call <strong>fbsql_num_rows()</strong> to find out how many rows were returned for a
  SELECT statement or <strong>fbsql_affected_rows()</strong> to find out how many rows were affected by a DELETE,
  INSERT, REPLACE, or UPDATE statement.

<comment>Param:</comment>
  <info>string</info>  <strong>$query          </strong>  The SQL query to be executed.
                            
                            The query string shall always end with a semicolon.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>int   </info>  <strong>$batch_size     </strong>  

<comment>Return:</comment>
  <info>resource</info>  <strong>fbsql_query()</strong> returns <info>true</info> (non-zero) or <info>false</info> to indicate whether or not the query
            succeeded.  A return value of <info>true</info> means that the query was legal and could be executed
            by the server.  It does not indicate anything about the number of rows affected or
            returned. It is perfectly possible for a query to succeed but affect no rows or return
            no rows.
            
            For SELECT statements, <strong>fbsql_query()</strong> returns a new result identifier that you can pass
            to <strong>fbsql_result()</strong>.
            
            <strong>fbsql_query()</strong> will also fail and return <info>false</info> if you don't have permission to access the
            table(s) referenced by the query.

<comment>See Also:</comment>
   * <strong>fbsql_affected_rows()</strong>
   * <strong>fbsql_db_query()</strong>
   * <strong>fbsql_free_result()</strong>
   * <strong>fbsql_result()</strong>
   * <strong>fbsql_select_db()</strong>
   * <strong>fbsql_connect()</strong>


id: fbsql_read_blob
type: function
doc:
<comment>Description:</comment>
  Read a BLOB from the database
  
  Reads BLOB data from the database.
  
  If a select statement contains BLOB and/or CLOB columns FrontBase will return the data directly
  when data is fetched. This default behavior can be changed with <strong>fbsql_set_lob_mode()</strong> so the fetch
  functions will return handles to BLOB and CLOB data.  If a handle is fetched a user must call
  <strong>fbsql_read_blob()</strong> to get the actual BLOB data from the database.

<comment>Param:</comment>
  <info>string</info>  <strong>$blob_handle    </strong>  A BLOB handle, returned by <strong>fbsql_create_blob()</strong>.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the specified BLOB data.

<comment>See Also:</comment>
   * <strong>fbsql_create_blob()</strong>
   * <strong>fbsql_read_clob()</strong>
   * <strong>fbsql_set_lob_mode()</strong>


id: fbsql_read_clob
type: function
doc:
<comment>Description:</comment>
  Read a CLOB from the database
  
  Reads CLOB data from the database.
  
  If a select statement contains BLOB and/or CLOB columns FrontBase will return the data directly
  when data is fetched. This default behavior can be changed with <strong>fbsql_set_lob_mode()</strong> so the fetch
  functions will return handles to BLOB and CLOB data.  If a handle is fetched a user must call
  <strong>fbsql_read_clob()</strong> to get the actual CLOB data from the database.

<comment>Param:</comment>
  <info>string</info>  <strong>$clob_handle    </strong>  A CLOB handle, returned by <strong>fbsql_create_clob()</strong>.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the specified CLOB data.

<comment>See Also:</comment>
   * <strong>fbsql_create_clob()</strong>
   * <strong>fbsql_read_blob()</strong>
   * <strong>fbsql_set_lob_mode()</strong>


id: fbsql_result
type: function
doc:
<comment>Description:</comment>
  Get result data
  
  Returns the contents of one cell from a FrontBase  <strong>$result</strong> set.
  
  When working on large result sets, you should consider using one of the functions that fetch an
  entire row (specified below).  As these functions return the contents of multiple cells in one
  function call, they're MUCH quicker than <strong>fbsql_result()</strong>.
  
  Calls to <strong>fbsql_result()</strong> should not be mixed with calls to other functions that deal with the
  result set.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$row   </strong>  
  <info>mixed   </info>  <strong>$field </strong>  Can be the field's offset, or the field's name, or the field's table dot
                     field's name (tablename.fieldname).
                     
                     If the column name has been aliased ('select foo as bar from...'), use the
                     alias instead of the column name.
                     
                     Specifying a numeric offset for the field argument is much quicker than
                     specifying a fieldname or tablename.fieldname argument.

<comment>Return:</comment>
  <info>mixed</info>  

<comment>See Also:</comment>
   * <strong>fbsql_fetch_row()</strong>
   * <strong>fbsql_fetch_array()</strong>
   * <strong>fbsql_fetch_assoc()</strong>
   * <strong>fbsql_fetch_object()</strong>


id: fbsql_rollback
type: function
doc:
<comment>Description:</comment>
  Rollback a transaction to the database
  
  Ends the current transaction by rolling back all statements issued since last commit.
  
  This command is only needed if autocommit is set to false.

<comment>Param:</comment>
  <info></info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                      întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                      ()</strong>.
                      
                      Dacă nu este specificat, funcția va încerca să
                      găsească o legătură deschisă către serverul FrontBase și dacă nu este găsită
                      nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                      <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_autocommit()</strong>
   * <strong>fbsql_commit()</strong>


id: fbsql_rows_fetched
type: function
doc:
<comment>Description:</comment>
  Get the number of rows affected by the last statement
  
  Gets the number of rows affected by the last statement.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  Un identificator al rezultatului întors de
                     <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns the number of rows, as an integer.


id: fbsql_select_db
type: function
doc:
<comment>Description:</comment>
  Select a FrontBase database
  
  Sets the current active database on the given link identifier.
  
  The client contacts FBExec to obtain the port number to use for the connection to the database. If
  the database name is a number the system will use that as a port number and it will not ask FBExec
  for the port number.  The FrontBase server can be stared as FRontBase -FBExec=No -port=\<port number&gt; \<database name&gt;.
  
  Every subsequent call to <strong>fbsql_query()</strong> will be made on the active database.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name  </strong>  The name of the database to be selected.
                            
                            If the database is protected with a database password, the you must call
                            <strong>fbsql_database_password()</strong> before selecting the database.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_connect()</strong>
   * <strong>fbsql_pconnect()</strong>
   * <strong>fbsql_database_password()</strong>
   * <strong>fbsql_query()</strong>


id: fbsql_set_characterset
type: function
doc:
<comment>Description:</comment>
  Change input/output character set
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: fbsql_set_lob_mode
type: function
doc:
<comment>Description:</comment>
  Set the LOB retrieve mode for a FrontBase result set
  
  Sets the mode for retrieving LOB data from the database.
  
  When BLOB and CLOB data is retrieved in FrontBase it can be retrieved  direct or indirect.  Direct
  retrieved LOB data will always be fetched no matter the setting of the lob mode. If the LOB data
  is less than 512 bytes it will always be retrieved directly.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result  </strong>  Un identificator al rezultatului întors de
                       <strong>fbsql_query()</strong> sau <strong>fbsql_db_query()</strong>.
  <info>int     </info>  <strong>$lob_mode</strong>  Can be one of: <info>FBSQL_LOB_DIRECT</info> - LOB data is retrieved directly. When data
                       is fetched from the database with <strong>fbsql_fetch_row()</strong>, and other fetch
                       functions, all CLOB and BLOB columns will be returned as ordinary columns.
                       This is the default value on a new FrontBase result. <info>FBSQL_LOB_HANDLE</info> - LOB
                       data is retrieved as handles to the data.  When data is fetched from the
                       database with <strong>fbsql_fetch_row()</strong>, and other fetch functions, LOB data will be
                       returned as a handle to the data if the data is stored indirect or the data
                       if it is stored direct.  If a handle is returned it will be a 27 byte string
                       formatted as  <return>@'000000000000000000000000'</return>.
                       
                       <info>FBSQL_LOB_DIRECT</info> - LOB data is retrieved directly. When data is fetched from
                       the database with <strong>fbsql_fetch_row()</strong>, and other fetch functions, all CLOB and
                       BLOB columns will be returned as ordinary columns. This is the default value
                       on a new FrontBase result.
                       
                       <info>FBSQL_LOB_HANDLE</info> - LOB data is retrieved as handles to the data.  When data
                       is fetched from the database with <strong>fbsql_fetch_row()</strong>, and other fetch
                       functions, LOB data will be returned as a handle to the data if the data is
                       stored indirect or the data if it is stored direct.  If a handle is returned
                       it will be a 27 byte string formatted as  <return>@'000000000000000000000000'</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>fbsql_create_blob()</strong>
   * <strong>fbsql_create_clob()</strong>
   * <strong>fbsql_read_blob()</strong>
   * <strong>fbsql_read_clob()</strong>


id: fbsql_set_password
type: function
doc:
<comment>Description:</comment>
  Change the password for a given user
  
  Changes the password for the given <strong>$user</strong>.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$user           </strong>  The user name.
  <info>string</info>  <strong>$password       </strong>  The new password to be set.
  <info>string</info>  <strong>$old_password   </strong>  The old password to be replaced.

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


id: fbsql_set_transaction
type: function
doc:
<comment>Description:</comment>
  Set the transaction locking and isolation
  
  Sets the transaction <strong>$locking</strong> and <strong>$isolation</strong>.

<comment>Param:</comment>
  <info>   </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                         întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                         ()</strong>.
                         
                         Dacă nu este specificat, funcția va încerca să
                         găsească o legătură deschisă către serverul FrontBase și dacă nu este
                         găsită
                         nici o astfel de legătură, se va încerca crearea uneia, ca și la apelarea
                         <strong>fbsql_connect()</strong> fără argumente.
  <info>int</info>  <strong>$locking        </strong>  The type of locking to be set. It can be one of the following constants:
                         <info>FBSQL_LOCK_DEFERRED</info>,  <info>FBSQL_LOCK_OPTIMISTIC</info>, or <info>FBSQL_LOCK_PESSIMISTIC</info>.
  <info>int</info>  <strong>$isolation      </strong>  The type of isolation to be set. It can be one of the following constants:
                         <info>FBSQL_ISO_READ_UNCOMMITTED</info>,  <info>FBSQL_ISO_READ_COMMITTED</info>,
                         <info>FBSQL_ISO_REPEATABLE_READ</info>, <info>FBSQL_ISO_SERIALIZABLE</info>, or <info>FBSQL_ISO_VERSIONED</info>.

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


id: fbsql_start_db
type: function
doc:
<comment>Description:</comment>
  Start a database on local or remote server
  
  Start a database on local or remote server.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name   </strong>  The database name.
  <info>      </info>  <strong>$link_identifier </strong>  Un identificator de legătură FrontBase
                             întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                             ()</strong>.
                             
                             Dacă nu este specificat, funcția va încerca să
                             găsească o legătură deschisă către serverul FrontBase și dacă nu este
                             găsită
                             nici o astfel de legătură, se va încerca crearea uneia, ca și la
                             apelarea
                             <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$database_options</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>fbsql_db_status()</strong>
   * <strong>fbsql_stop_db()</strong>


id: fbsql_stop_db
type: function
doc:
<comment>Description:</comment>
  Stop a database on local or remote server
  
  Stops a database on local or remote server.

<comment>Param:</comment>
  <info>string</info>  <strong>$database_name  </strong>  The database name.
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.

<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>fbsql_db_status()</strong>
   * <strong>fbsql_start_db()</strong>


id: fbsql_table_name
type: function
doc:
<comment>Description:</comment>
  Get table name of field
  
  <strong>fbsql_table_name()</strong> gets the name of the current table in the given <strong>$result</strong> set.
  
  The <strong>fbsql_num_rows()</strong> function may be used to determine the number of tables in the result pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  A result pointer returned by <strong>fbsql_list_tables()</strong>.
  <info>int     </info>  <strong>$index </strong>  Integer index for the current table.

<comment>Return:</comment>
  <info>string</info>  Returns the name of the table, as a string.


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


id: fbsql_username
type: function
doc:
<comment>Description:</comment>
  Get or set the username for the connection
  
  Get or set the username used for the connection.

<comment>Param:</comment>
  <info>      </info>  <strong>$link_identifier</strong>  Un identificator de legătură FrontBase
                            întors de <strong>fbsql_connect()</strong> sau <strong>fbsql_pconnect
                            ()</strong>.
                            
                            Dacă nu este specificat, funcția va încerca să
                            găsească o legătură deschisă către serverul FrontBase și dacă nu este
                            găsită
                            nici o astfel de legătură, se va încerca crearea uneia, ca și la
                            apelarea
                            <strong>fbsql_connect()</strong> fără argumente.
  <info>string</info>  <strong>$username       </strong>  If provided, this is the new username to set.

<comment>Return:</comment>
  <info>string</info>  Returns the current username used with the connection, as a string.

<comment>See Also:</comment>
   * <strong>fbsql_password()</strong>
   * <strong>fbsql_hostname()</strong>


id: fbsql_warnings
type: function
doc:
<comment>Description:</comment>
  Enable or disable FrontBase warnings
  
  Enables or disables FrontBase warnings.

<comment>Param:</comment>
  <info>bool</info>  <strong>$OnOff</strong>  Whether to enable warnings or no.

<comment>Return:</comment>
  <info>bool</info>  Returns  <info>true</info> if warnings is turned on, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>fbsql_errno()</strong>
   * <strong>fbsql_error()</strong>


id: fclose
type: function
doc:
<comment>Description:</comment>
  Closes an open file pointer
  
  The file pointed to by <strong>$stream</strong> is closed.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The file pointer must be valid, and must point to a file successfully opened by
                     <strong>fopen()</strong> or <strong>fsockopen()</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>fopen()</strong>
   * <strong>fsockopen()</strong>


id: fdf_add_doc_javascript
type: function
doc:
<comment>Description:</comment>
  Adds javascript code to the FDF document
  
  Adds a script to the FDF, which Acrobat then adds to the doc-level scripts of a document, once the
  FDF is imported into it.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$script_name </strong>  The script name.
  <info>string  </info>  <strong>$script_code </strong>  The script code. It is strongly suggested to use <return>\r</return> for linebreaks within
                           the script code.

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


id: fdf_add_template
type: function
doc:
<comment>Description:</comment>
  Adds a template into the FDF document
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: fdf_close
type: function
doc:
<comment>Description:</comment>
  Close an FDF document
  
  Closes the FDF document.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

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

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


id: fdf_create
type: function
doc:
<comment>Description:</comment>
  Create a new FDF document
  
  Creates a new FDF document.
  
  This function is needed if one would like to populate input fields in a PDF document with data.

<comment>Return:</comment>
  <info>resource</info>  Returns a FDF document handle, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fdf_close()</strong>
   * <strong>fdf_save()</strong>
   * <strong>fdf_open()</strong>


id: fdf_enum_values
type: function
doc:
<comment>Description:</comment>
  Call a user defined function for each document value 
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: fdf_errno
type: function
doc:
<comment>Description:</comment>
  Return error code for last fdf operation
  
  Gets the error code set by the last FDF function call.
  
  A textual description of the error may be obtained using with <strong>fdf_error()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns the error code as an integer, or zero if there was no errors.

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


id: fdf_error
type: function
doc:
<comment>Description:</comment>
  Return error description for FDF error code
  
  Gets a textual description for the FDF error code given in <strong>$error_code</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$error_code</strong>  An error code obtained with <strong>fdf_errno()</strong>. If not provided, this function uses the
                    internal error code set by the last operation.

<comment>Return:</comment>
  <info>string</info>  Returns the error message as a string, or the string  <return>no error</return> if nothing went wrong.

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


id: fdf_get_ap
type: function
doc:
<comment>Description:</comment>
  Get the appearance of a field
  
  Gets the appearance of a <strong>$field</strong> (i.e. the value of the /AP key) and stores it in a file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$field       </strong>  
  <info>int     </info>  <strong>$face        </strong>  The possible values are <info>FDFNormalAP</info>,  <info>FDFRolloverAP</info> and <info>FDFDownAP</info>.
  <info>string  </info>  <strong>$filename    </strong>  The appearance will be stored in this parameter.

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


id: fdf_get_attachment
type: function
doc:
<comment>Description:</comment>
  Extracts uploaded file embedded in the FDF
  
  Extracts a file uploaded by means of the "file selection" field <strong>$fieldname</strong> and stores it under
  <strong>$savepath</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  
  <info>string  </info>  <strong>$savepath    </strong>  May be the name of a plain file or an existing directory in which the
                           file is to be created under its original name. Any existing file under
                           the same name will be overwritten.
                           
                           There seems to be no other way to find out the original filename but to
                           store the file using a directory as  <strong>$savepath</strong> and check for the basename
                           it was stored under.

<comment>Return:</comment>
  <info>array</info>  The returned array contains the following fields: <strong>$path</strong> - path were the file got
         stored<strong>$size</strong> - size of the stored file in bytes<strong>$type</strong> - mimetype if given in the FDF
         
         <strong>$path</strong> - path were the file got stored
         
         <strong>$size</strong> - size of the stored file in bytes
         
         <strong>$type</strong> - mimetype if given in the FDF


id: fdf_get_encoding
type: function
doc:
<comment>Description:</comment>
  Get the value of the /Encoding key
  
  Gets the value of the <return>/Encoding</return> key.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the encoding as a string. An empty string is returned if the default
          <return>PDFDocEncoding/Unicode</return> scheme is used.

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


id: fdf_get_file
type: function
doc:
<comment>Description:</comment>
  Get the value of the /F key
  
  Gets the value of the <return>/F</return> key.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the key value, as a string.

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


id: fdf_get_flags
type: function
doc:
<comment>Description:</comment>
  Gets the flags of a field
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: fdf_get_opt
type: function
doc:
<comment>Description:</comment>
  Gets a value from the opt array of a field
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Return:</comment>
  <info>mixed</info>  


id: fdf_get_status
type: function
doc:
<comment>Description:</comment>
  Get the value of the /STATUS key
  
  Gets the value of the <return>/STATUS</return> key.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the key value, as a string.

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


id: fdf_get_value
type: function
doc:
<comment>Description:</comment>
  Get the value of a field
  
  Gets the value for the requested field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>int     </info>  <strong>$which       </strong>  Elements of an array field can be retrieved by passing this optional
                           parameter, starting at zero. For non-array fields, this parameter will be
                           ignored.

<comment>Return:</comment>
  <info>mixed</info>  Returns the field value.

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


id: fdf_get_version
type: function
doc:
<comment>Description:</comment>
  Gets version number for FDF API or file 
  
  Return the FDF version for the given document, or the toolkit API version number if no parameter
  is given.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns the version as a string. For the current FDF toolkit 5.0 the API version number is
          <return>5.0</return> and the document version number is either <return>1.2</return>, <return>1.3</return> or  <return>1.4</return>.

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


id: fdf_header
type: function
doc:
<comment>Description:</comment>
  Sets FDF-specific output headers
  
  This is a convenience function to set appropriate HTTP headers for FDF output. It sets the
  <return>Content-type:</return> to  <return>application/vnd.fdf</return>.

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


id: fdf_next_field_name
type: function
doc:
<comment>Description:</comment>
  Get the next field name
  
  Gets the name of the field after the given field. This name can be used with several functions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string. If not given, the first field will be
                           assumed.

<comment>Return:</comment>
  <info>string</info>  Returns the field name as a string.

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


id: fdf_open
type: function
doc:
<comment>Description:</comment>
  Open a FDF document
  
  Opens a file with form data.
  
  You can also use <strong>fdf_open_string()</strong> to process the results of a PDF form POST request.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Path to the FDF file. This file must contain the data as returned from a PDF
                     form or created using <strong>fdf_create()</strong> and <strong>fdf_save()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a FDF document handle, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fdf_open_string()</strong>
   * <strong>fdf_close()</strong>
   * <strong>fdf_create()</strong>
   * <strong>fdf_save()</strong>


id: fdf_open_string
type: function
doc:
<comment>Description:</comment>
  Read a FDF document from a string
  
  Reads form data from a string.
  
  You can use <strong>fdf_open_string()</strong> together with $HTTP_FDF_DATA to process FDF form input from a remote
  client.

<comment>Param:</comment>
  <info>string</info>  <strong>$fdf_data</strong>  The data as returned from a PDF form or created using  <strong>fdf_create()</strong> and
                     <strong>fdf_save_string()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a FDF document handle, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fdf_open()</strong>
   * <strong>fdf_close()</strong>
   * <strong>fdf_create()</strong>
   * <strong>fdf_save_string()</strong>


id: fdf_remove_item
type: function
doc:
<comment>Description:</comment>
  Sets target frame for form
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: fdf_save
type: function
doc:
<comment>Description:</comment>
  Save a FDF document
  
  Saves a FDF document.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$filename    </strong>  If provided, the resulting FDF will be written in this parameter.
                           Otherwise, this function will write the FDF to the default PHP output
                           stream.

<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>fdf_close()</strong>
   * <strong>fdf_create()</strong>
   * <strong>fdf_save_string()</strong>


id: fdf_save_string
type: function
doc:
<comment>Description:</comment>
  Returns the FDF document as a string
  
  Returns the FDF document as a string.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.

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

<comment>See Also:</comment>
   * <strong>fdf_open_string()</strong>
   * <strong>fdf_close()</strong>
   * <strong>fdf_create()</strong>
   * <strong>fdf_save()</strong>


id: fdf_set_ap
type: function
doc:
<comment>Description:</comment>
  Set the appearance of a field
  
  Sets the appearance of a field (i.e. the value of the  <return>/AP</return> key).

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$field_name  </strong>  
  <info>int     </info>  <strong>$face        </strong>  The possible values <info>FDFNormalAP</info>, <info>FDFRolloverAP</info> and <info>FDFDownAP</info>.
  <info>string  </info>  <strong>$filename    </strong>  
  <info>int     </info>  <strong>$page_number </strong>  

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


id: fdf_set_encoding
type: function
doc:
<comment>Description:</comment>
  Sets FDF character encoding
  
  Sets the character encoding for the FDF document.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$encoding    </strong>  The encoding name. The following values are supported:  "<return>Shift-JIS</return>",
                           "<return>UHC</return>", "<return>GBK</return>" and "<return>BigFive</return>".
                           
                           An empty string resets the encoding to the default
                           <return>PDFDocEncoding/Unicode</return> scheme.

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


id: fdf_set_file
type: function
doc:
<comment>Description:</comment>
  Set PDF document to display FDF data in
  
  Selects a different PDF document to display the form results in then the form it originated from.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$url         </strong>  Should be given as an absolute URL.
  <info>string  </info>  <strong>$target_frame</strong>  Use this parameter to specify the frame in which the document will be
                           displayed. You can also set the default value for this parameter using
                           <strong>fdf_set_target_frame()</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>fdf_get_file()</strong>
   * <strong>fdf_set_target_frame()</strong>


id: fdf_set_flags
type: function
doc:
<comment>Description:</comment>
  Sets a flag of a field
  
  Sets certain flags of the given field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>int     </info>  <strong>$whichFlags  </strong>  
  <info>int     </info>  <strong>$newFlags    </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>fdf_set_opt()</strong>


id: fdf_set_javascript_action
type: function
doc:
<comment>Description:</comment>
  Sets an javascript action of a field
  
  Sets a javascript action for the given field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>int     </info>  <strong>$trigger     </strong>  
  <info>string  </info>  <strong>$script      </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>fdf_set_submit_form_action()</strong>


id: fdf_set_on_import_javascript
type: function
doc:
<comment>Description:</comment>
  Adds javascript code to be executed when Acrobat opens the FDF
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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

<comment>See Also:</comment>
   * <strong>fdf_add_doc_javascript()</strong>
   * <strong>fdf_set_javascript_action()</strong>


id: fdf_set_opt
type: function
doc:
<comment>Description:</comment>
  Sets an option of a field
  
  Sets options of the given field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>int     </info>  <strong>$element     </strong>  
  <info>string  </info>  <strong>$str1        </strong>  
  <info>string  </info>  <strong>$str2        </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>fdf_set_flags()</strong>


id: fdf_set_status
type: function
doc:
<comment>Description:</comment>
  Set the value of the /STATUS key
  
  Sets the value of the <return>/STATUS</return> key. When a client receives a FDF with a status set it will present
  the value in an alert box.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$status      </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>fdf_get_status()</strong>


id: fdf_set_submit_form_action
type: function
doc:
<comment>Description:</comment>
  Sets a submit form action of a field
  
  Sets a submit form action for the given field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>int     </info>  <strong>$trigger     </strong>  
  <info>string  </info>  <strong>$script      </strong>  
  <info>int     </info>  <strong>$flags       </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>fdf_set_javascript_action()</strong>


id: fdf_set_target_frame
type: function
doc:
<comment>Description:</comment>
  Set target frame for form display
  
  Sets the target frame to display a result PDF defined with  <strong>fdf_save_file()</strong> in.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$frame_name  </strong>  The frame name, as a string.

<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>fdf_save_file()</strong>


id: fdf_set_value
type: function
doc:
<comment>Description:</comment>
  Set the value of a field
  
  Sets the <strong>$value</strong> for the given field.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$fieldname   </strong>  Name of the FDF field, as a string.
  <info>mixed   </info>  <strong>$value       </strong>  This parameter will be stored as a string unless it is an array. In this
                           case all array elements will be stored as a value array.
  <info>int     </info>  <strong>$isName      </strong>  In older versions of the FDF toolkit last parameter determined if the
                           field value was to be converted to a PDF Name (= 1) or set to a PDF
                           String (= 0).
                           
                           The value is no longer used in the current toolkit version 5.0. For
                           compatibility reasons it is still supported as an optional parameter
                           beginning with PHP 4.3, but ignored internally.

<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>fdf_get_value()</strong>
   * <strong>fdf_remove_item()</strong>


id: fdf_set_version
type: function
doc:
<comment>Description:</comment>
  Sets version number for a FDF file 
  
  Sets the FDF <strong>$version</strong> for the given document.
  
  Some features supported by this extension are only available in newer FDF versions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fdf_document</strong>  The FDF document handle, returned by <strong>fdf_create()</strong>, <strong>fdf_open()</strong> or
                           <strong>fdf_open_string()</strong>.
  <info>string  </info>  <strong>$version     </strong>  The version number. For the current FDF toolkit 5.0, this may be either
                           <return>1.2</return>, <return>1.3</return> or <return>1.4</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>fdf_get_version()</strong>


id: fdiv
type: function
doc:
<comment>Description:</comment>
  Divides two numbers, according to IEEE 754
  
  Returns the floating point result of dividing the <strong>$num1</strong> by the <strong>$num2</strong>. If the <strong>$num2</strong> is zero, then
  one of <return>INF</return>, <return>-INF</return>, or <return>NAN</return> will be returned.
  
  Note that in comparisons, <return>NAN</return> will never == or ===, any value, including itself.

<comment>Param:</comment>
  <info>float</info>  <strong>$num1</strong>  The dividend (numerator)
  <info>float</info>  <strong>$num2</strong>  The divisor

<comment>Return:</comment>
  <info>float</info>  The floating point result of <strong>$num1</strong>/<strong>$num2</strong>

<comment>See Also:</comment>
   * <return>/</return> - Floating-point division
   * <strong>intdiv()</strong> - Integer division
   * <strong>fmod()</strong> - Modulus


id: feof
type: function
doc:
<comment>Description:</comment>
  Tests for end-of-file on a file pointer
  
  Tests for end-of-file on a file pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un fișier
                     deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                     <strong>fsockopen()</strong> (și să nu fie închis cu
                     <strong>fclose()</strong>).

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the file pointer is at EOF or an error occurs (including socket timeout);
        otherwise returns <info>false</info>.


id: fflush
type: function
doc:
<comment>Description:</comment>
  Flushes the output to a file
  
  This function forces a write of all buffered output to the resource pointed to by the file
  <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un fișier
                     deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                     <strong>fsockopen()</strong> (și să nu fie închis cu
                     <strong>fclose()</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>clearstatcache()</strong>
   * <strong>fwrite()</strong>


id: fgetc
type: function
doc:
<comment>Description:</comment>
  Gets character from file pointer
  
  Gets a character from the given file pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un fișier
                     deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                     <strong>fsockopen()</strong> (și să nu fie închis cu
                     <strong>fclose()</strong>).

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a string containing a single character read from the file pointed to by
               <strong>$stream</strong>. Returns <info>false</info> on EOF.
               
               Această funcție poate întoarce valoarea Boolean <info>false</info>, dar poate de
               asemenea întoarce o valoare non-Boolean care evaluează în <info>false</info>. Vă rugăm să
               citiți secțiunea despre tipul Boolean
               pentru informații suplimentare. Utilizați
               operatorul === pentru a
               verifica valoarea întoarsă de această funcție.

<comment>See Also:</comment>
   * <strong>fread()</strong>
   * <strong>fopen()</strong>
   * <strong>popen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>fgets()</strong>


id: fgetcsv
type: function
doc:
<comment>Description:</comment>
  Gets line from file pointer and parse for CSV fields
  
  Similar to <strong>fgets()</strong> except that <strong>fgetcsv()</strong> parses the line it reads for fields in CSV format and
  returns an array containing the fields read.
  
  The locale settings are taken into account by this function. If <return>LC_CTYPE</return> is e.g. <return>en_US.UTF-8</return>,
  files in one-byte encodings may be read wrongly by this function.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle   </strong>  A valid file pointer to a file successfully opened by <strong>fopen()</strong>, <strong>popen()</strong>, or
                        <strong>fsockopen()</strong>.
  <info>int     </info>  <strong>$length   </strong>  Must be greater than the longest line (in characters) to be found in the CSV
                        file (allowing for trailing line-end characters). Otherwise the line is
                        split in chunks of <strong>$length</strong> characters, unless the split would occur inside
                        an enclosure.
                        
                        Omitting this parameter (or setting it to 0 in PHP 5.1.0 and later) the
                        maximum line length is not limited, which is slightly slower.
  <info>string  </info>  <strong>$delimiter</strong>  The optional <strong>$delimiter</strong> parameter sets the field delimiter (one character
                        only).
  <info>string  </info>  <strong>$enclosure</strong>  The optional <strong>$enclosure</strong> parameter sets the field enclosure character (one
                        character only).
  <info>string  </info>  <strong>$escape   </strong>  The optional <strong>$escape</strong> parameter sets the escape character (at most one
                        character). An empty string (<return>""</return>) disables the proprietary escape mechanism.
                        
                        Usually an <strong>$enclosure</strong> character is escaped inside a field by doubling it;
                        however, the <strong>$escape</strong> character can be used as an alternative. So for the
                        default parameter values <return>""</return> and <return>\"</return> have the same meaning. Other than
                        allowing to escape the <strong>$enclosure</strong> character the <strong>$escape</strong> character has no
                        special meaning; it isn't even meant to escape itself.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array containing the fields read.
         
         A blank line in a CSV file will be returned as an array comprising a single <info>null</info> field, and
         will not be treated as an error.
         
         Dacă PHP nu recunoaște corect terminațiile liniilor atunci când
         citește fișiere pe, sau create pe un computer Macintosh, atunci activarea
         opțiunii de configurare la rulare
         auto_detect_line_endings
         ar trebui să ajute la soluționarea problemei.
         
         <strong>fgetcsv()</strong> returns <info>null</info> if an invalid <strong>$handle</strong> is supplied or <info>false</info> on other errors,
         including end of file.

<comment>See Also:</comment>
   * <strong>str_getcsv()</strong>
   * <strong>explode()</strong>
   * <strong>file()</strong>
   * <strong>pack()</strong>
   * <strong>fputcsv()</strong>


id: fgets
type: function
doc:
<comment>Description:</comment>
  Gets line from file pointer
  
  Gets a line from file pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle</strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un fișier
                     deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                     <strong>fsockopen()</strong> (și să nu fie închis cu
                     <strong>fclose()</strong>).
  <info>int     </info>  <strong>$length</strong>  Reading ends when <strong>$length</strong> - 1 bytes have been read, or a newline (which is
                     included in the return value), or an EOF (whichever comes first). If no length
                     is specified, it will keep reading from the stream until it reaches the end of
                     the line.

<comment>Return:</comment>
  <info>string</info>  Returns a string of up to <strong>$length</strong> - 1 bytes read from the file pointed to by <strong>$handle</strong>. If
          there is no more data  to read in the file pointer, then <info>false</info> is returned.
          
          If an error occurs, <info>false</info> is returned.

<comment>See Also:</comment>
   * <strong>fgetss()</strong>
   * <strong>fread()</strong>
   * <strong>fgetc()</strong>
   * <strong>stream_get_line()</strong>
   * <strong>fopen()</strong>
   * <strong>popen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>stream_set_timeout()</strong>


id: fgetss
type: function
doc:
<comment>Description:</comment>
  Gets line from file pointer and strip HTML tags
  
  Identical to <strong>fgets()</strong>, except that <strong>fgetss()</strong> attempts to strip any NUL bytes, HTML and PHP tags from
  the text it reads. The function retains the parsing state from call to call, and as such is not
  equivalent to calling <strong>strip_tags()</strong> on the return value of <strong>fgets()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle        </strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un
                             fișier
                             deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                             <strong>fsockopen()</strong> (și să nu fie închis cu
                             <strong>fclose()</strong>).
  <info>int     </info>  <strong>$length        </strong>  Length of the data to be retrieved.
  <info>string  </info>  <strong>$allowable_tags</strong>  You can use the optional third parameter to specify tags which should
                             not be stripped. See <strong>strip_tags()</strong> for details regarding
                             <strong>$allowable_tags</strong>.

<comment>Return:</comment>
  <info>string</info>  Returns a string of up to <strong>$length</strong> - 1 bytes read from the file pointed to by <strong>$handle</strong>, with
          all HTML and PHP code stripped.
          
          If an error occurs, returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>fgets()</strong>
   * <strong>fopen()</strong>
   * <strong>popen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>strip_tags()</strong>
   * SplFileObject::fgetss
   * The string.strip_tags filter


id: file
type: function
doc:
<comment>Description:</comment>
  Reads entire file into an array
  
  Reads an entire file into an array.
  
  You can use <strong>file_get_contents()</strong> to return the contents of a file as a string.

<comment>Param:</comment>
  <info>string  </info>  <strong>$filename</strong>  Path to the file.
                       
                       Un URL poate fi utilizat în calitate de denumire a fișierului în
                       această funcție dacă învelișurile
                       fopen au fost activate. Accesați <strong>fopen()</strong> pentru mai
                       multe detalii despre modul de specificare a denumirii fișierului. Accesați
                        pentru referințe la informații despre posibilitățile
                       pe care le oferă diferite învelișuri, note despre utilizarea lor și
                       informații
                       despre variabile predefinite pe care le oferă.
  <info>int     </info>  <strong>$flags   </strong>  The optional parameter <strong>$flags</strong> can be one, or more, of the following
                       constants: <info>FILE_USE_INCLUDE_PATH</info> Search for the file in the include_path.
                       <info>FILE_IGNORE_NEW_LINES</info> Omit newline at the end of each array element
                       <info>FILE_SKIP_EMPTY_LINES</info> Skip empty lines
                       
                       Search for the file in the include_path.
                       
                       Omit newline at the end of each array element
                       
                       Skip empty lines
  <info>resource</info>  <strong>$context </strong>  A context resource created with the  <strong>stream_context_create()</strong> function.
                       
                       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>array</info>  Returns the file in an array. Each element of the array corresponds to a line in the file,
         with the newline still attached. Upon failure, <strong>file()</strong> returns <info>false</info>.
         
         Each line in the resulting array will include the line ending, unless <info>FILE_IGNORE_NEW_LINES</info>
         is used.
         
         Dacă PHP nu recunoaște corect terminațiile liniilor atunci când
         citește fișiere pe, sau create pe un computer Macintosh, atunci activarea
         opțiunii de configurare la rulare
         auto_detect_line_endings
         ar trebui să ajute la soluționarea problemei.

<comment>See Also:</comment>
   * <strong>readfile()</strong>
   * <strong>fopen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>popen()</strong>
   * <strong>file_get_contents()</strong>
   * <strong>include()</strong>
   * <strong>stream_context_create()</strong>


id: file_exists
type: function
doc:
<comment>Description:</comment>
  Checks whether a file or directory exists
  
  Checks whether a file or directory exists.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Path to the file or directory.
                     
                     On windows, use //computername/share/filename or \\computername\share\filename
                     to check files on network shares.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the file or directory specified by <strong>$filename</strong> exists; <info>false</info> otherwise.
        
        This function will return <info>false</info> for symlinks pointing to non-existing files.
        
        The check is done using the real UID/GID instead of the effective one.
        
        Deoarece tipul întreg al PHP este cu semn și multe platforme utilizează întregi
        de 32 de biți, unele funcții ale sistemului de fișiere pot întoarce rezultate
        neașteptate pentru fișiere ce depășesc 2GB.

<comment>See Also:</comment>
   * <strong>is_readable()</strong>
   * <strong>is_writable()</strong>
   * <strong>is_file()</strong>
   * <strong>file()</strong>


id: file_get_contents
type: function
doc:
<comment>Description:</comment>
  Reads entire file into a string
  
  This function is similar to <strong>file()</strong>, except that <strong>file_get_contents()</strong> returns the file in a  <info>string</info>,
  starting at the specified <strong>$offset</strong>  up to <strong>$maxlen</strong> bytes. On failure,  <strong>file_get_contents()</strong> will
  return <info>false</info>.
  
  <strong>file_get_contents()</strong> is the preferred way to read the contents of a file into a string.  It will
  use memory mapping techniques if supported by your OS to enhance performance.
  
  If you're opening a URI with special characters, such as spaces, you need to encode the URI with
  <strong>urlencode()</strong>.

<comment>Param:</comment>
  <info>string  </info>  <strong>$filename        </strong>  Name of the file to read.
  <info>bool    </info>  <strong>$use_include_path</strong>  The <info>FILE_USE_INCLUDE_PATH</info> constant can be used to trigger include
                               path search. This is not possible if strict typing is enabled, since
                               <info>FILE_USE_INCLUDE_PATH</info> is an <info>int</info>. Use <info>true</info> instead.
  <info>resource</info>  <strong>$context         </strong>  A valid context resource created with  <strong>stream_context_create()</strong>. If
                               you don't need to use a custom context, you can skip this parameter
                               by <info>null</info>.
  <info>int     </info>  <strong>$offset          </strong>  The offset where the reading starts on the original stream. Negative
                               offsets count from the end of the stream.
                               
                               Seeking (<strong>$offset</strong>) is not supported with remote files. Attempting to
                               seek on non-local files may work with small offsets, but this is
                               unpredictable because it works on the buffered stream.
  <info>int     </info>  <strong>$maxlen          </strong>  Maximum length of data read. The default is to read until end of file
                               is reached. Note that this parameter is applied to the  stream
                               processed by the filters.

<comment>Return:</comment>
  <info>stringfalse</info>  The function returns the read data  sau <info>false</info> în cazul eșecului.
               
               Această funcție poate întoarce valoarea Boolean <info>false</info>, dar poate de
               asemenea întoarce o valoare non-Boolean care evaluează în <info>false</info>. Vă rugăm să
               citiți secțiunea despre tipul Boolean
               pentru informații suplimentare. Utilizați
               operatorul === pentru a
               verifica valoarea întoarsă de această funcție.

<comment>See Also:</comment>
   * <strong>file()</strong>
   * <strong>fgets()</strong>
   * <strong>fread()</strong>
   * <strong>readfile()</strong>
   * <strong>file_put_contents()</strong>
   * <strong>stream_get_contents()</strong>
   * <strong>stream_context_create()</strong>
   * $http_response_header


id: file_put_contents
type: function
doc:
<comment>Description:</comment>
  Write data to a file
  
  This function is identical to calling <strong>fopen()</strong>,  <strong>fwrite()</strong> and <strong>fclose()</strong> successively to write data
  to a file.
  
  If <strong>$filename</strong> does not exist, the file is created. Otherwise, the existing file is overwritten,
  unless the  <info>FILE_APPEND</info> flag is set.

<comment>Param:</comment>
  <info>string  </info>  <strong>$filename</strong>  Path to the file where to write the data.
  <info>mixed   </info>  <strong>$data    </strong>  The data to write. Can be either a <info>string</info>, an <info>array</info> or a <info>stream</info> resource.
                       
                       If <strong>$data</strong> is a <info>stream</info> resource, the remaining buffer of that stream will be
                       copied to the specified file. This is similar with using
                       <strong>stream_copy_to_stream()</strong>.
                       
                       You can also specify the <strong>$data</strong> parameter as a single dimension array. This is
                       equivalent to <return>file_put_contents($filename, implode('', $array))</return>.
  <info>int     </info>  <strong>$flags   </strong>  The value of <strong>$flags</strong> can be any combination of  the following flags, joined
                       with the binary OR (<return>|</return>) operator.
                       
                       Available flagsFlagDescription<info>FILE_USE_INCLUDE_PATH</info> Search for <strong>$filename</strong> in
                       the include directory. See include_path for more information. <info>FILE_APPEND</info> If
                       file <strong>$filename</strong> already exists, append  the data to the file instead of
                       overwriting it. <info>LOCK_EX</info> Acquire an exclusive lock on the file while
                       proceeding to the  writing. In other words, a <strong>flock()</strong> call happens between
                       the <strong>fopen()</strong> call and the  <strong>fwrite()</strong> call. This is not identical to an  <strong>fopen()</strong>
                       call with mode "x".
  <info>resource</info>  <strong>$context </strong>  A valid context resource created with  <strong>stream_context_create()</strong>.

<comment>Return:</comment>
  <info>int</info>  This function returns the number of bytes that were written to the file, or <info>false</info> on failure.
       
       Această funcție poate întoarce valoarea Boolean <info>false</info>, dar poate de
       asemenea întoarce o valoare non-Boolean care evaluează în <info>false</info>. Vă rugăm să
       citiți secțiunea despre tipul Boolean
       pentru informații suplimentare. Utilizați
       operatorul === pentru a
       verifica valoarea întoarsă de această funcție.

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


id: fileatime
type: function
doc:
<comment>Description:</comment>
  Gets last access time of file
  
  Gets the last access time of the given file.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the time the file was last accessed,  sau <info>false</info> în cazul eșecului. The time is
            returned as a Unix timestamp.

<comment>See Also:</comment>
   * <strong>filemtime()</strong>
   * <strong>fileinode()</strong>
   * <strong>date()</strong>


id: filectime
type: function
doc:
<comment>Description:</comment>
  Gets inode change time of file
  
  Gets the inode change time of a file.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the time the file was last changed,  sau <info>false</info> în cazul eșecului. The time is
            returned as a Unix timestamp.

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


id: filegroup
type: function
doc:
<comment>Description:</comment>
  Gets file group
  
  Gets the file group. The group ID is returned in numerical format, use <strong>posix_getgrgid()</strong> to resolve
  it to a group name.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the group ID of the file, or <info>false</info> if an error occurs. The group ID is returned
            in numerical format, use <strong>posix_getgrgid()</strong> to resolve it to a group name. Upon failure,
            <info>false</info> is returned.

<comment>See Also:</comment>
   * <strong>fileowner()</strong>
   * <strong>posix_getgrgid()</strong>


id: fileinode
type: function
doc:
<comment>Description:</comment>
  Gets file inode
  
  Gets the file inode.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the inode number of the file,  sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>getmyinode()</strong>
   * <strong>stat()</strong>


id: filemtime
type: function
doc:
<comment>Description:</comment>
  Gets file modification time
  
  This function returns the time when the data blocks of a file were being written to, that is, the
  time when the content of the file was changed.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the time the file was last modified,  sau <info>false</info> în cazul eșecului. The time is
            returned as a Unix timestamp, which is suitable for the <strong>date()</strong> function.

<comment>See Also:</comment>
   * <strong>filectime()</strong>
   * <strong>stat()</strong>
   * <strong>touch()</strong>
   * <strong>getlastmod()</strong>


id: fileowner
type: function
doc:
<comment>Description:</comment>
  Gets file owner
  
  Gets the file owner.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the user ID of the owner of the file,  sau <info>false</info> în cazul eșecului. The user ID
            is returned in numerical format, use <strong>posix_getpwuid()</strong> to resolve it to a username.

<comment>See Also:</comment>
   * <strong>filegroup()</strong>
   * <strong>stat()</strong>
   * <strong>posix_getpwuid()</strong>


id: fileperms
type: function
doc:
<comment>Description:</comment>
  Gets file permissions
  
  Gets permissions for the given file.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the file's permissions as a numeric mode. Lower bits of this mode are the same
            as the permissions expected by <strong>chmod()</strong>, however on most platforms the return value will
            also include information on the type of file given as <strong>$filename</strong>. The examples below
            demonstrate how to test the return value for specific permissions and file types on
            POSIX systems, including Linux and macOS.
            
            For local files, the specific return value is that of the <return>st_mode</return> member of the
            structure returned by the C library's <strong>stat()</strong> function. Exactly which bits are set can
            vary from platform to platform, and looking up your specific platform's documentation is
            recommended if parsing the non-permission bits of the return value is required.
            
            Returns <info>false</info> on failure.

<comment>See Also:</comment>
   * <strong>chmod()</strong>
   * <strong>is_readable()</strong>
   * <strong>stat()</strong>


id: filepro
type: function
doc:
<comment>Description:</comment>
  Read and verify the map file
  
  This reads and verifies the map file, storing the field count and info.
  
  No locking is done, so you should avoid modifying your filePro database while it may be opened in
  PHP.

<comment>Param:</comment>
  <info>string</info>  <strong>$directory</strong>  The map directory.

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


id: filepro_fieldcount
type: function
doc:
<comment>Description:</comment>
  Find out how many fields are in a filePro database
  
  Returns the number of fields (columns) in the opened filePro database.

<comment>Return:</comment>
  <info>int</info>  Returns the number of fields in the opened filePro database, or <info>false</info> on errors.

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


id: filepro_fieldname
type: function
doc:
<comment>Description:</comment>
  Gets the name of a field
  
  Returns the name of the field corresponding to  <strong>$field_number</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$field_number</strong>  The field number.

<comment>Return:</comment>
  <info>string</info>  Returns the name of the field as a string, or <info>false</info> on errors.


id: filepro_fieldtype
type: function
doc:
<comment>Description:</comment>
  Gets the type of a field
  
  Returns the edit type of the field corresponding to <strong>$field_number</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$field_number</strong>  The field number.

<comment>Return:</comment>
  <info>string</info>  Returns the edit type of the field as a string, or <info>false</info> on errors.


id: filepro_fieldwidth
type: function
doc:
<comment>Description:</comment>
  Gets the width of a field
  
  Returns the width of the field corresponding to <strong>$field_number</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$field_number</strong>  The field number.

<comment>Return:</comment>
  <info>int</info>  Returns the width of the field as a integer, or <info>false</info> on errors.


id: filepro_retrieve
type: function
doc:
<comment>Description:</comment>
  Retrieves data from a filePro database
  
  Returns the data from the specified location in the database.

<comment>Param:</comment>
  <info>int</info>  <strong>$row_number  </strong>  The row number. Must be between zero and the total number of rows minus one
                      (0..<strong>filepro_rowcount()</strong> - 1)
  <info>int</info>  <strong>$field_number</strong>  The field number. Accepts values between zero and the total number of fields
                      minus one (0..<strong>filepro_fieldcount()</strong> - 1)

<comment>Return:</comment>
  <info>string</info>  Returns the specified data, or <info>false</info> on errors.


id: filepro_rowcount
type: function
doc:
<comment>Description:</comment>
  Find out how many rows are in a filePro database
  
  Returns the number of rows in the opened filePro database.

<comment>Return:</comment>
  <info>int</info>  Returns the number of rows in the opened filePro database, or <info>false</info> on errors.

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


id: filesize
type: function
doc:
<comment>Description:</comment>
  Gets file size
  
  Gets the size for the given file.

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

<comment>Return:</comment>
  <info>intfalse</info>  Returns the size of the file in bytes, or <info>false</info> (and generates an error of level
            <info>E_WARNING</info>) in case of an error.
            
            Deoarece tipul întreg al PHP este cu semn și multe platforme utilizează întregi
            de 32 de biți, unele funcții ale sistemului de fișiere pot întoarce rezultate
            neașteptate pentru fișiere ce depășesc 2GB.

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


id: filetype
type: function
doc:
<comment>Description:</comment>
  Gets file type
  
  Returns the type of the given file.

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

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the type of the file. Possible values are fifo, char, dir, block, link, file,
               socket and unknown.
               
               Returns <info>false</info> if an error occurs. <strong>filetype()</strong> will also produce an <info>E_NOTICE</info> message if
               the stat call fails or if the file type is unknown.

<comment>See Also:</comment>
   * <strong>is_dir()</strong>
   * <strong>is_file()</strong>
   * <strong>is_link()</strong>
   * <strong>file_exists()</strong>
   * <strong>mime_content_type()</strong>
   * <strong>pathinfo()</strong>
   * <strong>stat()</strong>


id: filter_has_var
type: function
doc:
<comment>Description:</comment>
  Checks if variable of specified type exists

<comment>Param:</comment>
  <info>int   </info>  <strong>$input_type</strong>  One of <info>INPUT_GET</info>, <info>INPUT_POST</info>, <info>INPUT_COOKIE</info>, <info>INPUT_SERVER</info>, or <info>INPUT_ENV</info>.
  <info>string</info>  <strong>$var_name  </strong>  Name of a variable to check.

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


id: filter_id
type: function
doc:
<comment>Description:</comment>
  Returns the filter ID belonging to a named filter

<comment>Param:</comment>
  <info>string</info>  <strong>$name</strong>  Name of a filter to get.

<comment>Return:</comment>
  <info>intfalse</info>  ID of a filter on success or <info>false</info> if filter doesn't exist.

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


id: filter_input
type: function
doc:
<comment>Description:</comment>
  Gets a specific external variable by name and optionally filters it

<comment>Param:</comment>
  <info>int     </info>  <strong>$type    </strong>  One of <info>INPUT_GET</info>, <info>INPUT_POST</info>, <info>INPUT_COOKIE</info>, <info>INPUT_SERVER</info>, or <info>INPUT_ENV</info>.
  <info>string  </info>  <strong>$var_name</strong>  Name of a variable to get.
  <info>int     </info>  <strong>$filter  </strong>  Identificatorul ID al filtrului ce va fi aplicat. Pagina manualului pentru
                       afișează filtrele disponibile.
                       
                       Dacă parametrul este omis, se va utiliza <info>FILTER_DEFAULT</info>, ceea ce este
                       echivalent cu <info>FILTER_UNSAFE_RAW</info>. Aceasta va duce la neaplicarea filtrării în
                       mod implicit.
  <info>arrayint</info>  <strong>$options </strong>  Associative array of options or bitwise disjunction of flags. If filter
                       accepts options, flags can be provided in "flags" field of array.

<comment>Return:</comment>
  <info>mixed</info>  Value of the requested variable on success, <info>false</info> if the filter fails, or <info>null</info> if the
         <strong>$var_name</strong> variable is not set. If the flag <info>FILTER_NULL_ON_FAILURE</info> is used, it returns <info>false</info>
         if the variable is not set and <info>null</info> if the filter fails.

<comment>See Also:</comment>
   * <strong>filter_var()</strong>
   * <strong>filter_input_array()</strong>
   * <strong>filter_var_array()</strong>
   * 


id: filter_input_array
type: function
doc:
<comment>Description:</comment>
  Gets external variables and optionally filters them
  
  This function is useful for retrieving many values without repetitively calling <strong>filter_input()</strong>.

<comment>Param:</comment>
  <info>int     </info>  <strong>$type     </strong>  One of <info>INPUT_GET</info>, <info>INPUT_POST</info>, <info>INPUT_COOKIE</info>, <info>INPUT_SERVER</info>, or <info>INPUT_ENV</info>.
  <info>arrayint</info>  <strong>$options  </strong>  An array defining the arguments. A valid key is a <info>string</info> containing a
                        variable name and a valid value is either a filter type, or an <info>array</info>
                        optionally specifying the filter, flags and options. If the value is an
                        array, valid keys are <return>filter</return> which specifies the filter type, <return>flags</return> which
                        specifies any flags that apply to the filter, and <return>options</return> which specifies
                        any options that apply to the filter. See the example below for a better
                        understanding.
                        
                        This parameter can be also an integer holding a filter constant. Then all
                        values in the input array are filtered by this filter.
  <info>bool    </info>  <strong>$add_empty</strong>  Add missing keys as <info>null</info> to the return value.

<comment>Return:</comment>
  <info>arrayfalsenull</info>  An array containing the values of the requested variables on success. If the input
                  array designated by <strong>$type</strong> is not populated, the function returns <info>null</info> if the
                  <info>FILTER_NULL_ON_FAILURE</info> flag is not given, or <info>false</info> otherwise. For other failures,
                  <info>false</info> is returned.
                  
                  An array value will be <info>false</info> if the filter fails, or <info>null</info> if  the variable is not
                  set. Or if the flag <info>FILTER_NULL_ON_FAILURE</info> is used, it returns <info>false</info> if the
                  variable is not set and <info>null</info> if the filter  fails. If the <strong>$add_empty</strong> parameter is
                  <info>false</info>, no array element will be added for unset variables.

<comment>See Also:</comment>
   * <strong>filter_input()</strong>
   * <strong>filter_var_array()</strong>
   * 


id: filter_list
type: function
doc:
<comment>Description:</comment>
  Returns a list of all supported filters

<comment>Return:</comment>
  <info>array</info>  Returns an array of names of all supported filters, empty array if there are no such
         filters. Indexes of this array are not filter IDs, they can be obtained with <strong>filter_id()</strong>
         from a name instead.


id: filter_var
type: function
doc:
<comment>Description:</comment>
  Filters a variable with a specified filter

<comment>Param:</comment>
  <info>mixed   </info>  <strong>$value  </strong>  Value to filter. Note that scalar values are converted to string internally
                      before they are filtered.
  <info>int     </info>  <strong>$filter </strong>  Identificatorul ID al filtrului ce va fi aplicat. Pagina manualului pentru
                      afișează filtrele disponibile.
                      
                      Dacă parametrul este omis, se va utiliza <info>FILTER_DEFAULT</info>, ceea ce este
                      echivalent cu <info>FILTER_UNSAFE_RAW</info>. Aceasta va duce la neaplicarea filtrării în
                      mod implicit.
  <info>arrayint</info>  <strong>$options</strong>  Associative array of options or bitwise disjunction of flags. If filter
                      accepts options, flags can be provided in "flags" field of array. For the
                      "callback" filter, <info>callable</info> type should be passed.  The callback must accept
                      one argument, the value to be filtered, and return the value after
                      filtering/sanitizing it.
                      
                       array( 'default' => 3, // value to return if the filter fails // other
                      options here 'min_range' => 0 ), 'flags' => FILTER_FLAG_ALLOW_OCTAL,
                      );
                      $var = filter_var('0755', FILTER_VALIDATE_INT, $options);
                      
                      // for filters that only accept flags, you can pass them directly
                      $var = filter_var('oops', FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);
                      
                      // for filters that only accept flags, you can also pass as an array
                      $var = filter_var('oops', FILTER_VALIDATE_BOOLEAN, array('flags' =>
                      FILTER_NULL_ON_FAILURE));
                      
                      // callback validate filter
                      function foo($value)
                      { // Expected format: Surname, GivenNames if (strpos($value, ", ") === false)
                      return false; list($surname, $givennames) = explode(", ", $value, 2); $empty =
                      (empty($surname) || empty($givennames)); $notstrings = (!is_string($surname)
                      || !is_string($givennames)); if ($empty || $notstrings) { return false; } else
                      { return $value; }
                      }
                      $var = filter_var('Doe, Jane Sue', FILTER_CALLBACK, array('options' =>
                      'foo'));
                      ?> ]]>

<comment>Return:</comment>
  <info>mixed</info>  Returns the filtered data, or <info>false</info> if the filter fails.

<comment>See Also:</comment>
   * <strong>filter_var_array()</strong>
   * <strong>filter_input()</strong>
   * <strong>filter_input_array()</strong>
   * 


id: filter_var_array
type: function
doc:
<comment>Description:</comment>
  Gets multiple variables and optionally filters them
  
  This function is useful for retrieving many values without repetitively calling <strong>filter_var()</strong>.

<comment>Param:</comment>
  <info>array   </info>  <strong>$array    </strong>  An array with string keys containing the data to filter.
  <info>arrayint</info>  <strong>$options  </strong>  An array defining the arguments. A valid key is a <info>string</info> containing a
                        variable name and a valid value is either a filter type, or an <info>array</info>
                        optionally specifying the filter, flags and options. If the value is an
                        array, valid keys are <return>filter</return> which specifies the filter type, <return>flags</return> which
                        specifies any flags that apply to the filter, and <return>options</return> which specifies
                        any options that apply to the filter. See the example below for a better
                        understanding.
                        
                        This parameter can be also an integer holding a filter constant. Then all
                        values in the input array are filtered by this filter.
  <info>bool    </info>  <strong>$add_empty</strong>  Add missing keys as <info>null</info> to the return value.

<comment>Return:</comment>
  <info>arrayfalsenull</info>  An array containing the values of the requested variables on success, or <info>false</info>  on
                  failure. An array value will be <info>false</info> if the filter fails, or <info>null</info> if  the
                  variable is not set.

<comment>See Also:</comment>
   * <strong>filter_input_array()</strong>
   * <strong>filter_var()</strong>
   * <strong>filter_input()</strong>
   * 


id: finfo
type: class
doc:
<comment>Description:</comment>
  This class provides an object oriented interface into the fileinfo functions.


id: finfo::__construct
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru finfo_open
  
  Această funcție este pseudonim pentru:  <strong>finfo_open()</strong>


id: finfo::buffer
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru finfo_buffer()
  
  Această funcție este pseudonim pentru:  finfo_buffer()

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


id: finfo::file
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru finfo_file()
  
  Această funcție este pseudonim pentru:  finfo_file()

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


id: finfo::set_flags
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru finfo_set_flags()
  
  Această funcție este pseudonim pentru:  finfo_set_flags()

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


id: finfo_buffer
type: function
doc:
<comment>Description:</comment>
  Return information about a string buffer
  
  Stil procedural
  
  Stil obiect-orientat
  
  This function is used to get information about binary data in a string.

<comment>Param:</comment>
  <info>resource    </info>  <strong>$finfo  </strong>  Fileinfo resource returned by <strong>finfo_open()</strong>.
  <info>string      </info>  <strong>$string </strong>  Content of a file to be checked.
  <info>int         </info>  <strong>$flags  </strong>  One or disjunction of more Fileinfo constants.
  <info>resourcenull</info>  <strong>$context</strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a textual description of the <strong>$string</strong> argument, or <info>false</info> if an error occurred.

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


id: finfo_close
type: function
doc:
<comment>Description:</comment>
  Close fileinfo resource
  
  This function closes the resource opened by <strong>finfo_open()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$finfo</strong>  Fileinfo resource returned by <strong>finfo_open()</strong>.

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


id: finfo_file
type: function
doc:
<comment>Description:</comment>
  Return information about a file
  
  Stil procedural
  
  Stil obiect-orientat
  
  This function is used to get information about a file.

<comment>Param:</comment>
  <info>resource    </info>  <strong>$finfo   </strong>  Fileinfo resource returned by <strong>finfo_open()</strong>.
  <info>string      </info>  <strong>$filename</strong>  Name of a file to be checked.
  <info>int         </info>  <strong>$flags   </strong>  One or disjunction of more Fileinfo constants.
  <info>resourcenull</info>  <strong>$context </strong>  For a description of <return>contexts</return>, refer to .

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a textual description of the contents of the <strong>$filename</strong> argument, or <info>false</info> if
               an error occurred.

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


id: finfo_open
type: function
doc:
<comment>Description:</comment>
  Create a new fileinfo resource
  
  Stil procedural
  
  Stil obiect-orientat (constructor):
  
  This function opens a magic database and returns its resource.

<comment>Param:</comment>
  <info>int   </info>  <strong>$flags         </strong>  One or disjunction of more Fileinfo constants.
  <info>string</info>  <strong>$magic_database</strong>  Name of a magic database file, usually something like
                           /path/to/magic.mime. If not specified, the <return>MAGIC</return> environment variable is
                           used. If the environment variable isn't set, then PHP's bundled magic
                           database will be used.
                           
                           Passing <info>null</info> or an empty string will be equivalent to the default value.

<comment>Return:</comment>
  <info>resourcefalse</info>  (Procedural style only) Returns a magic database resource on success sau <info>false</info> în
                 cazul eșecului.

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


id: finfo_set_flags
type: function
doc:
<comment>Description:</comment>
  Set libmagic configuration options
  
  Stil procedural
  
  Stil obiect-orientat
  
  This function sets various Fileinfo options. Options can be set also directly in <strong>finfo_open()</strong> or
  other Fileinfo functions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$finfo</strong>  Fileinfo resource returned by <strong>finfo_open()</strong>.
  <info>int     </info>  <strong>$flags</strong>  One or disjunction of more Fileinfo constants.

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


id: floatval
type: function
doc:
<comment>Description:</comment>
  Obține valoarea float a unei variabile
  
  Obține valoarea <info>float</info> a <strong>$var</strong>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Poate fi orice tip scalar. <strong>floatval()</strong> nu trebuie utilizat asupra obiectelor, deoarece
               aceasta va provoca o eroare de nivel <info>E_NOTICE</info> și va întoarce 1.

<comment>Return:</comment>
  <info>float</info>  Valoarea float a variabilei date. În cazul tablourilor vide va fi întors 0, iar în cazul
         tablourilor nevide va fi întors 1.
         
         Șirurile de caractere cel mai probabil vor întoarce 0, cu toate că aceasta depinde de cele
         mai din stânga caractere ale string-ului. Aici se aplică regulile generale de float
         casting.

<comment>See Also:</comment>
   * <strong>boolval()</strong>
   * <strong>intval()</strong>
   * <strong>strval()</strong>
   * <strong>settype()</strong>
   * Manipularea tipurilor


id: flock
type: function
doc:
<comment>Description:</comment>
  Portable advisory file locking
  
  <strong>flock()</strong> allows you to perform a simple reader/writer model which can be used on virtually every
  platform (including most Unix derivatives and even Windows).
  
  On versions of PHP before 5.3.2, the lock is released also by <strong>fclose()</strong> (which is also called
  automatically when script finished).
  
  PHP supports a portable way of locking complete files in an advisory way (which means all
  accessing programs have to use the same way of locking or it will not work). By default, this
  function will block until the requested lock is acquired; this may be controlled with the <info>LOCK_NB</info>
  option documented below.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream     </strong>  O <info>
                          resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                          creată utilizând <strong>fopen()</strong>.
  <info>int     </info>  <strong>$operation  </strong>  <strong>$operation</strong> is one of the following: <info>LOCK_SH</info> to acquire a shared lock
                          (reader). <info>LOCK_EX</info> to acquire an exclusive lock (writer). <info>LOCK_UN</info> to
                          release a lock (shared or exclusive).
                          
                          <info>LOCK_SH</info> to acquire a shared lock (reader).
                          
                          <info>LOCK_EX</info> to acquire an exclusive lock (writer).
                          
                          <info>LOCK_UN</info> to release a lock (shared or exclusive).
                          
                          It is also possible to add <info>LOCK_NB</info> as a bitmask to one  of the above
                          operations, if <strong>flock()</strong> should not block during the locking attempt.
  <info>int     </info>  <strong>$would_block</strong>  The optional third argument is set to 1 if the lock would block
                          (EWOULDBLOCK errno condition).

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


id: floor
type: function
doc:
<comment>Description:</comment>
  Round fractions down
  
  Returns the next lowest integer value (as float) by rounding down <strong>$value</strong> if necessary.

<comment>Param:</comment>
  <info>float</info>  <strong>$value</strong>  The numeric value to round

<comment>Return:</comment>
  <info>float</info>  <strong>$value</strong> rounded to the next lowest integer. The return value of <strong>floor()</strong> is still of type
         <info>float</info> because the value range of <info>float</info> is  usually bigger than that of <info>int</info>. This function
         returns <info>false</info> in case of an error (e.g. passing an array).

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


id: flush
type: function
doc:
<comment>Description:</comment>
  Flush system output buffer
  
  Flushes the system write buffers of PHP and whatever backend PHP is using (CGI, a web server,
  etc).  This attempts to push current output all the way to the browser with a few caveats.
  
  <strong>flush()</strong> may not be able to override the buffering scheme of your web server and it has no effect
  on any client-side buffering in the browser.  It also doesn't affect PHP's userspace output
  buffering mechanism. This means you will have to call both <strong>ob_flush()</strong> and <strong>flush()</strong> to flush the ob
  output buffers if you are using those.
  
  Several servers, especially on Win32, will still buffer the output from your script until it
  terminates before transmitting the results to the browser.
  
  Server modules for Apache like mod_gzip may do buffering of their own that will cause <strong>flush()</strong> to
  not result in data being sent immediately to the client.
  
  Even the browser may buffer its input before displaying it. Netscape, for example, buffers text
  until it receives an end-of-line or the beginning of a tag, and it won't render tables until the \</table&gt; tag of the outermost table is seen.
  
  Some versions of Microsoft Internet Explorer will only start to display the page after they have
  received 256 bytes of output, so you may need to send extra whitespace before flushing to get
  those browsers to display the page.

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

<comment>See Also:</comment>
   * <strong>ob_flush()</strong>
   * <strong>ob_clean()</strong>
   * <strong>ob_end_flush()</strong>
   * <strong>ob_end_clean()</strong>


id: fmod
type: function
doc:
<comment>Description:</comment>
  Returns the floating point remainder (modulo) of the division
    of the arguments
  
  Returns the floating point remainder of dividing the dividend (<strong>$num1</strong>) by the divisor (<strong>$num2</strong>). The
  remainder (r) is defined as: num1 = i * num2 + r, for  some integer i. If <strong>$num2</strong> is non-zero, r has
  the same sign as <strong>$num1</strong> and a magnitude less than the magnitude of <strong>$num2</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$num1</strong>  The dividend
  <info>float</info>  <strong>$num2</strong>  The divisor

<comment>Return:</comment>
  <info>float</info>  The floating point remainder of  <strong>$num1</strong>/<strong>$num2</strong>

<comment>See Also:</comment>
   * <return>/</return> - Floating-point division
   * <return>%</return> - Integer modulus
   * <strong>intdiv()</strong> - Integer division


id: fnmatch
type: function
doc:
<comment>Description:</comment>
  Match filename against a pattern
  
  <strong>fnmatch()</strong> checks if the passed <strong>$filename</strong> would match the given shell wildcard <strong>$pattern</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$pattern </strong>  The shell wildcard pattern.
  <info>string</info>  <strong>$filename</strong>  The tested string. This function is especially useful for filenames, but may
                     also be used on regular strings.
                     
                     The average user may be used to shell patterns or at least in their simplest
                     form to <return>'?'</return> and <return>'*'</return> wildcards so using <strong>fnmatch()</strong> instead of <strong>preg_match()</strong> for
                     frontend search expression input may be way more convenient for non-programming
                     users.
  <info>int   </info>  <strong>$flags   </strong>  The value of <strong>$flags</strong> can be any combination of  the following flags, joined with
                     the binary OR (|) operator.  A list of possible flags for <strong>fnmatch()</strong>
                     <strong>$Flag</strong>Description<info>FNM_NOESCAPE</info> Disable backslash escaping. <info>FNM_PATHNAME</info> Slash in
                     string only matches slash in the given pattern. <info>FNM_PERIOD</info> Leading period in
                     string must be exactly matched by period in the given pattern. <info>FNM_CASEFOLD</info>
                     Caseless match. Part of the GNU extension.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if there is a match, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>glob()</strong>
   * <strong>preg_match()</strong>
   * <strong>sscanf()</strong>
   * <strong>printf()</strong>
   * <strong>sprintf()</strong>


id: fopen
type: function
doc:
<comment>Description:</comment>
  Opens file or URL
  
  <strong>fopen()</strong> binds a named resource, specified by <strong>$filename</strong>, to a stream.

<comment>Param:</comment>
  <info>string  </info>  <strong>$filename        </strong>  If <strong>$filename</strong> is of the form "scheme://...", it is assumed to be a URL
                               and PHP will search for a protocol handler (also known as a wrapper)
                               for that scheme. If no wrappers for that protocol are registered, PHP
                               will emit a notice to help you track potential problems in your
                               script and then continue as though <strong>$filename</strong> specifies a regular
                               file.
                               
                               If PHP has decided that <strong>$filename</strong> specifies a local file, then it
                               will try to open a stream on that file. The file must be accessible
                               to PHP, so you need to ensure that the file access permissions allow
                               this access. If you have enabled open_basedir further restrictions
                               may apply.
                               
                               If PHP has decided that <strong>$filename</strong> specifies a registered protocol,
                               and that protocol is registered as a network URL, PHP will check to
                               make sure that allow_url_fopen is enabled. If it is switched off, PHP
                               will emit a warning and the fopen call will fail.
                               
                               The list of supported protocols can be found in . Some protocols
                               (also referred to as <return>wrappers</return>) support <return>context</return> and/or php.ini
                               options. Refer to the specific page for the protocol in use for a
                               list of options which can be set. (e.g. php.ini value <return>user_agent</return> used
                               by the <return>http</return> wrapper).
                               
                               On the Windows platform, be careful to escape any backslashes used in
                               the path to the file, or use forward slashes.
                               ]]>
  <info>string  </info>  <strong>$mode            </strong>  The <strong>$mode</strong> parameter specifies the type of access you require to the
                               stream.  It may be any of the following:  A list of possible modes
                               for <strong>fopen()</strong> using <strong>$mode</strong> <strong>$mode</strong>Description<return>'r'</return> Open for reading only;
                               place the file pointer at the beginning of the file. <return>'r+'</return> Open for
                               reading and writing; place the file pointer at the beginning of the
                               file. <return>'w'</return> Open for writing only; place the file pointer at the
                               beginning of the file and truncate the file to zero length. If the
                               file does not exist, attempt to create it. <return>'w+'</return> Open for reading and
                               writing; place the file pointer at the beginning of the file and
                               truncate the file to zero length.  If the file does not exist,
                               attempt to create it. <return>'a'</return> Open for writing only; place the file
                               pointer at the end of the file. If the file does not exist, attempt
                               to create it. In this mode, <strong>fseek()</strong> has no effect, writes are always
                               appended. <return>'a+'</return> Open for reading and writing; place the file pointer
                               at the end of the file. If the file does not exist, attempt to create
                               it. In this mode, <strong>fseek()</strong> only affects the reading position, writes
                               are always appended. <return>'x'</return> Create and open for writing only; place the
                               file pointer at the beginning of the file.  If the file already
                               exists, the <strong>fopen()</strong> call will fail by returning <info>false</info> and generating
                               an error of level <info>E_WARNING</info>.  If the file does not exist, attempt to
                               create it.  This is equivalent to specifying <return>O_EXCL|O_CREAT</return> flags for
                               the underlying <return>open(2)</return> system call.  <return>'x+'</return> Create and open for reading
                               and writing; otherwise it has the same behavior as <return>'x'</return>. <return>'c'</return> Open the
                               file for writing only. If the file does not exist, it is created. If
                               it exists, it is neither truncated (as opposed to <return>'w'</return>), nor the call
                               to this function fails (as is the case with <return>'x'</return>). The file pointer is
                               positioned on the beginning of the file. This may be useful if it's
                               desired to get an advisory lock (see <strong>flock()</strong>) before attempting to
                               modify the file, as using <return>'w'</return> could truncate the file before the lock
                               was obtained (if truncation is desired, <strong>ftruncate()</strong> can be used after
                               the lock is requested). <return>'c+'</return> Open the file for reading and writing;
                               otherwise it has the same behavior as <return>'c'</return>. <return>'e'</return> Set close-on-exec flag
                               on the opened file descriptor. Only available in PHP compiled on
                               POSIX.1-2008 conform systems.
                               
                               Different operating system families have different line-ending
                               conventions.  When you write a text file and want to insert a line
                               break, you need to use the correct line-ending character(s) for your
                               operating system.  Unix based systems use <return>\n</return> as the line ending
                               character, Windows based systems use <return>\r\n</return> as the line ending
                               characters and Macintosh based systems (Mac OS Classic) used <return>\r</return> as
                               the line ending character.
                               
                               If you use the wrong line ending characters when writing your files,
                               you might find that other applications that open those files will
                               "look funny".
                               
                               Windows offers a text-mode translation flag (<return>'t'</return>) which will
                               transparently translate <return>\n</return> to <return>\r\n</return> when working with the file.  In
                               contrast, you can also use <return>'b'</return> to force binary mode, which will not
                               translate your data.  To use these flags, specify either <return>'b'</return> or <return>'t'</return>
                               as the last character of the <strong>$mode</strong> parameter.
                               
                               The default translation mode is <return>'b'</return>. You can use the <return>'t'</return> mode if you
                               are working with plain-text files and you use <return>\n</return> to delimit your line
                               endings in your script, but expect your files to be readable with
                               applications such as old versions of notepad.  You should use the <return>'b'</return>
                               in all other cases.
                               
                               If you specify the 't' flag when working with binary files, you may
                               experience strange problems with your data, including broken image
                               files and strange problems with <return>\r\n</return> characters.
                               
                               For portability, it is also strongly recommended that you re-write
                               code that uses or relies upon the <return>'t'</return> mode so that it uses the
                               correct line endings and <return>'b'</return> mode instead.
  <info>bool    </info>  <strong>$use_include_path</strong>  The optional third <strong>$use_include_path</strong> parameter can be set to '1' or
                               <info>true</info> if you want to search for the file in the include_path, too.
  <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
                               .

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

<comment>See Also:</comment>
   * 
   * <strong>fclose()</strong>
   * <strong>fgets()</strong>
   * <strong>fread()</strong>
   * <strong>fwrite()</strong>
   * <strong>fsockopen()</strong>
   * <strong>file()</strong>
   * <strong>file_exists()</strong>
   * <strong>is_readable()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>popen()</strong>
   * <strong>stream_context_create()</strong>
   * <strong>umask()</strong>
   * <class>SplFileObject</class>


id: forward_static_call
type: function
doc:
<comment>Description:</comment>
  Call a static method
  
  Calls a user defined function or method given by the <strong>$callback</strong> parameter, with the following
  arguments. This function must be called within a method context, it can't be used outside a class.
  It uses the late static binding.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback</strong>  The function or method to be called. This parameter may be an array, with the
                       name of the class, and the method, or a string, with a function name.
  <info>mixed   </info>  <strong>$args    </strong>  Zero or more parameters to be passed to the function.

<comment>Return:</comment>
  <info>mixed</info>  Returns the function result, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>forward_static_call_array()</strong>
   * <strong>call_user_func_array()</strong>
   * <strong>call_user_func()</strong>
   * <strong>is_callable()</strong>


id: forward_static_call_array
type: function
doc:
<comment>Description:</comment>
  Call a static method and pass the arguments as array
  
  Calls a user defined function or method given by the <strong>$callback</strong> parameter. This function must be
  called within a method context, it can't be  used outside a class. It uses the late static
  binding. All arguments of the forwarded method are passed as values, and as an array, similarly to
  <strong>call_user_func_array()</strong>.

<comment>Param:</comment>
  <info>callable</info>  <strong>$callback </strong>  The function or method to be called. This parameter may be an <info>array</info>, with
                        the name of the class, and the method, or a <info>string</info>, with a function name.
  <info>        </info>  <strong>$parameter</strong>  One parameter, gathering all the method parameter in one array.
                        
                        Note that the parameters for <strong>forward_static_call_array()</strong> are not passed by
                        reference.

<comment>Return:</comment>
  <info>mixed</info>  Returns the function result, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>forward_static_call()</strong>
   * <strong>call_user_func()</strong>
   * <strong>call_user_func_array()</strong>
   * <strong>is_callable()</strong>


id: fpassthru
type: function
doc:
<comment>Description:</comment>
  Output all remaining data on a file pointer
  
  Reads to EOF on the given file pointer from the current position and writes the results to the
  output buffer.
  
  You may need to call <strong>rewind()</strong> to reset the file pointer to the beginning of the file if you have
  already written data to the file.
  
  If you just want to dump the contents of a file to the output buffer, without first modifying it
  or seeking to a particular offset, you may want to use the <strong>readfile()</strong>, which saves you the <strong>fopen()</strong>
  call.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un fișier
                     deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                     <strong>fsockopen()</strong> (și să nu fie închis cu
                     <strong>fclose()</strong>).

<comment>Return:</comment>
  <info>int</info>  If an error occurs, <strong>fpassthru()</strong> returns <info>false</info>.  Otherwise, <strong>fpassthru()</strong> returns the number of
       characters read from <strong>$stream</strong> and passed through to the output.

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


id: fprintf
type: function
doc:
<comment>Description:</comment>
  Write a formatted string to a stream
  
  Write a string produced according to <strong>$format</strong> to the stream resource specified by <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.
  <info>string  </info>  <strong>$format</strong>  Șirul de formatare este compus din zero sau mai multe directive: caractere
                     obișnuite (în afară de <return>%</return>), care sunt copiate direct în rezultat și
                     specificatori de conversie, fiecare având parametrul său.
                     
                     Un specificator de conversie e compus după următorul prototip:
                     <return>%[argnum$][flags][width][.precision]specifier</return>.
                     
                     Un întreg urmat de senmul dolar <return>$</return>, pentru a specifica ce argument de număr
                     trebuie tratat în conversie.
                     
                     FlagsFlagDescriere<return>-</return> Alinierea spre stânga în limitele lungimii câmpului;
                     Implicit se efectuează alinierea spre dreapta <return>+</return> Prefixează numerele pozitive cu
                     semnul plus <return>+</return>; implicit doar numerele negative sunt prefixate cu semnul minus. <return>
                     </return>(spațiu) Completează rezultatul cu spații. Acesta este comportamentul implicit.
                     <return>0</return> Completează numerele cu zerouri în stânga. Cu specificatorii <return>s</return> se poate de
                     completat cu zerouri și în dreapta. <return>'</return>(char) Completează rezultatul cu
                     caracterul (char).
                     
                     Un număr întreg ce indică câte caractere (minimum) trebuie să aibă rezultatul
                     conversiei.
                     
                     Un punct <return>.</return>, urmat de un număr întreg, însemnătatea căruia depinde de
                     specificator:  Pentru specificatorii <return>e</return>, <return>E</return>, <return>f</return> și <return>F</return>: acesta este numărul de cifre
                     ce vor fi tipărite după punctul zecimal (implicit acesta este 6).  Pentru
                     specificatorii <return>g</return> și <return>G</return>: acesta este numărul maxim de cifre semnificative ce va
                     fi tipărit.  Pentru specificatorul <return>s</return>: acesta funcționează ca punct de oprire,
                     stabilind limita maximă a numărului de caractere din șir.   Dacă punctul este
                     specificat fără o valoare explicită pentru precizie, se presupune că aceasta
                     este 0.
                     
                     Pentru specificatorii <return>e</return>, <return>E</return>, <return>f</return> și <return>F</return>: acesta este numărul de cifre ce vor fi
                     tipărite după punctul zecimal (implicit acesta este 6).
                     
                     Pentru specificatorii <return>g</return> și <return>G</return>: acesta este numărul maxim de cifre semnificative
                     ce va fi tipărit.
                     
                     Pentru specificatorul <return>s</return>: acesta funcționează ca punct de oprire, stabilind
                     limita maximă a numărului de caractere din șir.
                     
                     Dacă punctul este specificat fără o valoare explicită pentru precizie, se
                     presupune că aceasta este 0.
                     
                     Încercarea de a folosi un specificator de poziție mai mare decât <info>PHP_INT_MAX</info> va
                     genera avertizări.
                     
                     SpecifiersSpecifierDescriere<return>%</return> Specifică caracterul procent. Nu este necesar
                     vre-un argument. <return>b</return> Argumentul este tratat ca un întreg și prezentat ca număr
                     binar. <return>c</return> Argumentul este tratat ca un întreg și prezentat ca caracter cu acest
                     cod ASCII. <return>d</return> Argumentul este tratat ca un întreg și prezentat ca număr zecimal
                     (cu semn). <return>e</return> Argumentul este tratat ca număr în notație exponențială (de ex.
                     1.2e+2). Specificatorul de precizie semnifică numărul de cifre după virgulă
                     începând cu PHP 5.2.1. În versiuni anterioare el specifica numărul de cifre
                     semnificative (cu una mai puțin). <return>E</return> La fel ca și specificatorul <return>e</return>, dar
                     folosește caracterul majuscul (de ex. 1.2E+2). <return>f</return> Argumentul este tratat ca
                     număr cu virgulă și prezentat ca atare (în dependență de setările de
                     localizare). <return>F</return> Argumentul este tratat ca număr cu virgulă și prezentat ca atare
                     (fără a se ține cont de setările de localizare). Disponibil începând cu PHP
                     5.0.3. <return>g</return> Format general.  Fie că P este egal cu precizia, dacă nu este zero, 6
                     dacă precizia este omisă, sau 1 dacă precizia este zero. Atunci dacă o
                     conversie cu stilul E ar avea un exponent X:  Dacă P &gt; X ≥ −4, atunci
                     conversia este de stilul f și precizia P − (X + 1). În caz contrar, conversia
                     este de stilul e și precizia P − 1. <return>G</return> La fel ca și specificatorul <return>g</return>, dar
                     utilizează <return>E</return> și <return>f</return>. <return>o</return> Argumentul este tratat ca întreg și prezentat ca număr
                     octal. <return>s</return> Argumentul este tratat și prezentat ca șir de caractere. <return>u</return> Argumentul
                     este tratat ca întreg și prezentat ca număr zecimal fără semn. <return>x</return> Argumentul
                     este tratat ca întreg și prezentat ca număr hexazecimal (cu caractere
                     minuscule). <return>X</return> Argumentul este tratat ca întreg și prezentat ca număr
                     hexazecimal (cu caractere majuscule).
                     
                     Format general.
                     
                     Fie că P este egal cu precizia, dacă nu este zero, 6 dacă precizia este omisă,
                     sau 1 dacă precizia este zero. Atunci dacă o conversie cu stilul E ar avea un
                     exponent X:
                     
                     Dacă P &gt; X ≥ −4, atunci conversia este de stilul f și precizia P − (X + 1).
                     În caz contrar, conversia este de stilul e și precizia P − 1.
                     
                     Specificatorul de tip <return>c</return> ignoră completarea cu spații și lungimea
                     
                     Încercarea de a folosi o combinație din specificatori de șiruri de caractere și
                     lungime cu seturi de caractere ce necesită mai mult de un octet per caracter
                     poate da rezultate imprevizibile
                     
                     Variabilele vor fi aduse la un tip potrivit pentru specificatorul: Manipularea
                     tipurilorTipulSpecificatorii<return>string</return><return>s</return><return>integer</return><return>d</return>, <return>u</return>, <return>c</return>, <return>o</return>, <return>x</return>, <return>X</return>, <return>b</return><return>double</return><return>g</return>, <return>G</return>, <return>e</return>, <return>E</return>,
                     <return>f</return>, <return>F</return>
  <info>mixed   </info>  <strong>$values</strong>  

<comment>Return:</comment>
  <info>int</info>  Returns the length of the string written.

<comment>See Also:</comment>
   * <strong>printf()</strong>
   * <strong>sprintf()</strong>
   * <strong>vprintf()</strong>
   * <strong>vsprintf()</strong>
   * <strong>vfprintf()</strong>
   * <strong>sscanf()</strong>
   * <strong>fscanf()</strong>
   * <strong>number_format()</strong>
   * <strong>date()</strong>


id: fputcsv
type: function
doc:
<comment>Description:</comment>
  Format line as CSV and write to file pointer
  
  <strong>fputcsv()</strong> formats a line (passed as a <strong>$fields</strong> array) as CSV and writes it (terminated by a
  newline) to the specified file <strong>$handle</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle     </strong>  Indicatorul fișierului trebuie să fie valid și trebuie să indice la un
                          fișier
                          deschis cu succes cu ajutorul <strong>fopen()</strong> sau
                          <strong>fsockopen()</strong> (și să nu fie închis cu
                          <strong>fclose()</strong>).
  <info>array   </info>  <strong>$fields     </strong>  An array of <info>string</info>s.
  <info>string  </info>  <strong>$delimiter  </strong>  The optional <strong>$delimiter</strong> parameter sets the field delimiter (one character
                          only).
  <info>string  </info>  <strong>$enclosure  </strong>  The optional <strong>$enclosure</strong> parameter sets the field enclosure (one character
                          only).
  <info>string  </info>  <strong>$escape_char</strong>  The optional <strong>$escape_char</strong> parameter sets the escape character (at most one
                          character). An empty string (<return>""</return>) disables the proprietary escape
                          mechanism.

<comment>Return:</comment>
  <info>intfalse</info>  Returns the length of the written string  sau <info>false</info> în cazul eșecului.

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


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


id: fread
type: function
doc:
<comment>Description:</comment>
  Binary-safe file read
  
  <strong>fread()</strong> reads up to <strong>$length</strong> bytes from the file pointer referenced by <strong>$stream</strong>. Reading stops as
  soon as one of the following conditions is met: <strong>$length</strong> bytes have been read  EOF (end of file) is
  reached  a packet becomes available or the  socket timeout occurs (for network streams)  if the
  stream is read buffered and it does not represent a plain file, at most one read of up to a number
  of bytes equal to the chunk size (usually 8192) is made; depending on the previously buffered
  data, the size of the returned data may be larger than the chunk size.
  
  <strong>$length</strong> bytes have been read
  
  EOF (end of file) is reached
  
  a packet becomes available or the  socket timeout occurs (for network streams)
  
  if the stream is read buffered and it does not represent a plain file, at most one read of up to a
  number of bytes equal to the chunk size (usually 8192) is made; depending on the previously
  buffered data, the size of the returned data may be larger than the chunk size.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.
  <info>int     </info>  <strong>$length</strong>  Up to <strong>$length</strong> number of bytes read.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the read string  sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>fwrite()</strong>
   * <strong>fopen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>popen()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>fscanf()</strong>
   * <strong>file()</strong>
   * <strong>fpassthru()</strong>
   * <strong>ftell()</strong>
   * <strong>rewind()</strong>
   * <strong>unpack()</strong>


id: frenchtojd
type: function
doc:
<comment>Description:</comment>
  Converts a date from the French Republican Calendar to a Julian Day Count
  
  Converts a date from the French Republican Calendar to a Julian Day Count.
  
  These routines only convert dates in years 1 through 14 (Gregorian dates 22 September 1792 through
  22 September 1806). This more than covers the period when the calendar was in use.

<comment>Param:</comment>
  <info>int</info>  <strong>$month</strong>  The month as a number from 1 (for Vendémiaire) to 13 (for the period of 5-6 days at
               the end of each year)
  <info>int</info>  <strong>$day  </strong>  The day as a number from 1 to 30
  <info>int</info>  <strong>$year </strong>  The year as a number between 1 and 14

<comment>Return:</comment>
  <info>int</info>  The julian day for the given french revolution date as an integer.

<comment>See Also:</comment>
   * <strong>jdtofrench()</strong>
   * <strong>cal_to_jd()</strong>


id: fscanf
type: function
doc:
<comment>Description:</comment>
  Parses input from a file according to a format
  
  The function <strong>fscanf()</strong> is similar to <strong>sscanf()</strong>, but it takes its input from a file associated with
  <strong>$stream</strong> and interprets the input according to the specified <strong>$format</strong>, which is described in the
  documentation for <strong>sprintf()</strong>.
  
  Any whitespace in the format string matches any whitespace in the input stream. This means that
  even a tab <return>\t</return> in the format string can match a single space character in the input stream.
  
  Each call to <strong>fscanf()</strong> reads one line from the file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.
  <info>string  </info>  <strong>$format</strong>  Șirul de formatare este compus din zero sau mai multe directive: caractere
                     obișnuite (în afară de <return>%</return>), care sunt copiate direct în rezultat și
                     specificatori de conversie, fiecare având parametrul său.
                     
                     Un specificator de conversie e compus după următorul prototip:
                     <return>%[argnum$][flags][width][.precision]specifier</return>.
                     
                     Un întreg urmat de senmul dolar <return>$</return>, pentru a specifica ce argument de număr
                     trebuie tratat în conversie.
                     
                     FlagsFlagDescriere<return>-</return> Alinierea spre stânga în limitele lungimii câmpului;
                     Implicit se efectuează alinierea spre dreapta <return>+</return> Prefixează numerele pozitive cu
                     semnul plus <return>+</return>; implicit doar numerele negative sunt prefixate cu semnul minus. <return>
                     </return>(spațiu) Completează rezultatul cu spații. Acesta este comportamentul implicit.
                     <return>0</return> Completează numerele cu zerouri în stânga. Cu specificatorii <return>s</return> se poate de
                     completat cu zerouri și în dreapta. <return>'</return>(char) Completează rezultatul cu
                     caracterul (char).
                     
                     Un număr întreg ce indică câte caractere (minimum) trebuie să aibă rezultatul
                     conversiei.
                     
                     Un punct <return>.</return>, urmat de un număr întreg, însemnătatea căruia depinde de
                     specificator:  Pentru specificatorii <return>e</return>, <return>E</return>, <return>f</return> și <return>F</return>: acesta este numărul de cifre
                     ce vor fi tipărite după punctul zecimal (implicit acesta este 6).  Pentru
                     specificatorii <return>g</return> și <return>G</return>: acesta este numărul maxim de cifre semnificative ce va
                     fi tipărit.  Pentru specificatorul <return>s</return>: acesta funcționează ca punct de oprire,
                     stabilind limita maximă a numărului de caractere din șir.   Dacă punctul este
                     specificat fără o valoare explicită pentru precizie, se presupune că aceasta
                     este 0.
                     
                     Pentru specificatorii <return>e</return>, <return>E</return>, <return>f</return> și <return>F</return>: acesta este numărul de cifre ce vor fi
                     tipărite după punctul zecimal (implicit acesta este 6).
                     
                     Pentru specificatorii <return>g</return> și <return>G</return>: acesta este numărul maxim de cifre semnificative
                     ce va fi tipărit.
                     
                     Pentru specificatorul <return>s</return>: acesta funcționează ca punct de oprire, stabilind
                     limita maximă a numărului de caractere din șir.
                     
                     Dacă punctul este specificat fără o valoare explicită pentru precizie, se
                     presupune că aceasta este 0.
                     
                     Încercarea de a folosi un specificator de poziție mai mare decât <info>PHP_INT_MAX</info> va
                     genera avertizări.
                     
                     SpecifiersSpecifierDescriere<return>%</return> Specifică caracterul procent. Nu este necesar
                     vre-un argument. <return>b</return> Argumentul este tratat ca un întreg și prezentat ca număr
                     binar. <return>c</return> Argumentul este tratat ca un întreg și prezentat ca caracter cu acest
                     cod ASCII. <return>d</return> Argumentul este tratat ca un întreg și prezentat ca număr zecimal
                     (cu semn). <return>e</return> Argumentul este tratat ca număr în notație exponențială (de ex.
                     1.2e+2). Specificatorul de precizie semnifică numărul de cifre după virgulă
                     începând cu PHP 5.2.1. În versiuni anterioare el specifica numărul de cifre
                     semnificative (cu una mai puțin). <return>E</return> La fel ca și specificatorul <return>e</return>, dar
                     folosește caracterul majuscul (de ex. 1.2E+2). <return>f</return> Argumentul este tratat ca
                     număr cu virgulă și prezentat ca atare (în dependență de setările de
                     localizare). <return>F</return> Argumentul este tratat ca număr cu virgulă și prezentat ca atare
                     (fără a se ține cont de setările de localizare). Disponibil începând cu PHP
                     5.0.3. <return>g</return> Format general.  Fie că P este egal cu precizia, dacă nu este zero, 6
                     dacă precizia este omisă, sau 1 dacă precizia este zero. Atunci dacă o
                     conversie cu stilul E ar avea un exponent X:  Dacă P &gt; X ≥ −4, atunci
                     conversia este de stilul f și precizia P − (X + 1). În caz contrar, conversia
                     este de stilul e și precizia P − 1. <return>G</return> La fel ca și specificatorul <return>g</return>, dar
                     utilizează <return>E</return> și <return>f</return>. <return>o</return> Argumentul este tratat ca întreg și prezentat ca număr
                     octal. <return>s</return> Argumentul este tratat și prezentat ca șir de caractere. <return>u</return> Argumentul
                     este tratat ca întreg și prezentat ca număr zecimal fără semn. <return>x</return> Argumentul
                     este tratat ca întreg și prezentat ca număr hexazecimal (cu caractere
                     minuscule). <return>X</return> Argumentul este tratat ca întreg și prezentat ca număr
                     hexazecimal (cu caractere majuscule).
                     
                     Format general.
                     
                     Fie că P este egal cu precizia, dacă nu este zero, 6 dacă precizia este omisă,
                     sau 1 dacă precizia este zero. Atunci dacă o conversie cu stilul E ar avea un
                     exponent X:
                     
                     Dacă P &gt; X ≥ −4, atunci conversia este de stilul f și precizia P − (X + 1).
                     În caz contrar, conversia este de stilul e și precizia P − 1.
                     
                     Specificatorul de tip <return>c</return> ignoră completarea cu spații și lungimea
                     
                     Încercarea de a folosi o combinație din specificatori de șiruri de caractere și
                     lungime cu seturi de caractere ce necesită mai mult de un octet per caracter
                     poate da rezultate imprevizibile
                     
                     Variabilele vor fi aduse la un tip potrivit pentru specificatorul: Manipularea
                     tipurilorTipulSpecificatorii<return>string</return><return>s</return><return>integer</return><return>d</return>, <return>u</return>, <return>c</return>, <return>o</return>, <return>x</return>, <return>X</return>, <return>b</return><return>double</return><return>g</return>, <return>G</return>, <return>e</return>, <return>E</return>,
                     <return>f</return>, <return>F</return>
  <info>mixed   </info>  <strong>$vars  </strong>  The optional assigned values.

<comment>Return:</comment>
  <info>arrayintfalsenull</info>  If only two parameters were passed to this function, the values parsed will be
                     returned as an array. Otherwise, if optional parameters are passed, the
                     function will return the number of assigned values. The optional parameters
                     must be passed by reference.
                     
                     If there are more substrings expected in the <strong>$format</strong> than there are available
                     within <strong>$string</strong>, <info>null</info> will be returned. On other errors, <info>false</info> will be returned.

<comment>See Also:</comment>
   * <strong>fread()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>sscanf()</strong>
   * <strong>printf()</strong>
   * <strong>sprintf()</strong>


id: fseek
type: function
doc:
<comment>Description:</comment>
  Seeks on a file pointer
  
  Sets the file position indicator for the file referenced by <strong>$stream</strong>. The new position, measured in
  bytes from the beginning of the file, is obtained by adding <strong>$offset</strong> to the position specified by
  <strong>$whence</strong>.
  
  In general, it is allowed to seek past the end-of-file; if data is then written, reads in any
  unwritten region between the end-of-file and the sought position will yield bytes with value 0.
  However, certain streams may not support this behavior, especially when they have an underlying
  fixed size storage.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.
  <info>int     </info>  <strong>$offset</strong>  The offset.
                     
                     To move to a position before the end-of-file, you need to pass a negative value
                     in <strong>$offset</strong> and set <strong>$whence</strong> to <info>SEEK_END</info>.
  <info>int     </info>  <strong>$whence</strong>  <strong>$whence</strong> values are: <info>SEEK_SET</info> - Set position equal to <strong>$offset</strong> bytes.<info>SEEK_CUR</info> -
                     Set position to current location plus <strong>$offset</strong>.<info>SEEK_END</info> - Set position to
                     end-of-file plus <strong>$offset</strong>.

<comment>Return:</comment>
  <info>int</info>  Upon success, returns 0; otherwise, returns -1.

<comment>See Also:</comment>
   * <strong>ftell()</strong>
   * <strong>rewind()</strong>


id: fsockopen
type: function
doc:
<comment>Description:</comment>
  Open Internet or Unix domain socket connection
  
  Initiates a socket connection to the resource specified by <strong>$hostname</strong>.
  
  PHP supports targets in the Internet and Unix domains as described in .  A list of supported
  transports can also be retrieved using <strong>stream_get_transports()</strong>.
  
  The socket will by default be opened in blocking mode.  You can switch it to non-blocking mode by
  using <strong>stream_set_blocking()</strong>.
  
  The function <strong>stream_socket_client()</strong> is similar but provides a richer set of options, including
  non-blocking connection and the ability to provide a stream context.

<comment>Param:</comment>
  <info>string   </info>  <strong>$hostname     </strong>  If OpenSSL support is installed, you may prefix the <strong>$hostname</strong> with
                             either <return>ssl://</return> or <return>tls://</return> to use an SSL or TLS client connection over
                             TCP/IP to connect to the remote host.
  <info>int      </info>  <strong>$port         </strong>  The port number. This can be omitted and skipped with <return>-1</return> for transports
                             that do not use ports, such as <return>unix://</return>.
  <info>int      </info>  <strong>$error_code   </strong>  If provided, holds the system level error number that occurred in the
                             system-level <return>connect()</return> call.
                             
                             If the value returned in <strong>$error_code</strong> is <return>0</return> and the function returned
                             <info>false</info>, it is an indication that the error occurred before the
                             <return>connect()</return> call. This is most likely due to a problem initializing the
                             socket.
  <info>string   </info>  <strong>$error_message</strong>  The error message as a string.
  <info>floatnull</info>  <strong>$timeout      </strong>  The connection timeout, in seconds.
                             
                             If you need to set a timeout for reading/writing data over the socket,
                             use <strong>stream_set_timeout()</strong>, as the  <strong>$timeout</strong> parameter to <strong>fsockopen()</strong>
                             only applies while connecting the socket.

<comment>Return:</comment>
  <info>resourcefalse</info>  <strong>fsockopen()</strong> returns a file pointer which may be used together with the other file
                 functions (such as <strong>fgets()</strong>, <strong>fgetss()</strong>, <strong>fwrite()</strong>, <strong>fclose()</strong>, and <strong>feof()</strong>). If the call
                 fails, it will return <info>false</info>

<comment>See Also:</comment>
   * <strong>pfsockopen()</strong>
   * <strong>stream_socket_client()</strong>
   * <strong>stream_set_blocking()</strong>
   * <strong>stream_set_timeout()</strong>
   * <strong>fgets()</strong>
   * <strong>fgetss()</strong>
   * <strong>fwrite()</strong>
   * <strong>fclose()</strong>
   * <strong>feof()</strong>
   * <strong>socket_connect()</strong>
   * The Curl extension


id: fstat
type: function
doc:
<comment>Description:</comment>
  Gets information about a file using an open file pointer
  
  Gathers the statistics of the file opened by the file pointer <strong>$stream</strong>. This function is similar to
  the <strong>stat()</strong> function except that it operates on an open file pointer instead of a filename.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array with the statistics of the file; the format of the array is described
              in detail on the <strong>stat()</strong> manual page. Returns <info>false</info> on failure.


id: ftell
type: function
doc:
<comment>Description:</comment>
  Returns the current position of the file read/write pointer
  
  Returns the position of the file pointer referenced by <strong>$stream</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The file pointer must be valid, and must point to a file successfully opened by
                     <strong>fopen()</strong> or <strong>popen()</strong>. <strong>ftell()</strong> gives undefined results for append-only streams
                     (opened with "a" flag).

<comment>Return:</comment>
  <info>intfalse</info>  Returns the position of the file pointer referenced by <strong>$stream</strong> as an integer; i.e., its
            offset into the file stream.
            
            If an error occurs, returns <info>false</info>.
            
            Deoarece tipul întreg al PHP este cu semn și multe platforme utilizează întregi
            de 32 de biți, unele funcții ale sistemului de fișiere pot întoarce rezultate
            neașteptate pentru fișiere ce depășesc 2GB.

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


id: ftok
type: function
doc:
<comment>Description:</comment>
  Convert a pathname and a project identifier to a System V IPC key
  
  The function converts the <strong>$filename</strong> of an existing accessible file and a project identifier into
  an <return>integer</return> for use with for example <strong>shmop_open()</strong> and other System V IPC keys.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename  </strong>  Path to an accessible file.
  <info>string</info>  <strong>$project_id</strong>  Project identifier. This must be a one character string.

<comment>Return:</comment>
  <info>int</info>  On success the return value will be the created key value, otherwise <return>-1</return> is returned.

<comment>See Also:</comment>
   * <strong>shmop_open()</strong>
   * <strong>sem_get()</strong>


id: ftp_alloc
type: function
doc:
<comment>Description:</comment>
  Allocates space for a file to be uploaded
  
  Sends an <return>ALLO</return> command to the remote FTP server to  allocate space for a file to be uploaded.
  
  Many FTP servers do not support this command.  These servers may return a failure  code (<info>false</info>)
  indicating the command is not supported or a success code (<info>true</info>) to indicate that pre-allocation
  is not necessary and the client should continue as though the operation were successful.  Because
  of this, it may be best to reserve this function for servers which explicitly require
  preallocation.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>int     </info>  <strong>$filesize  </strong>  The number of bytes to allocate.
  <info>string  </info>  <strong>$result    </strong>  A textual representation of the servers response will be returned by
                         reference in <strong>$result</strong> if a variable is provided.

<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>ftp_put()</strong>
   * <strong>ftp_fput()</strong>


id: ftp_append
type: function
doc:
<comment>Description:</comment>
  Append the contents of a file to another file on the FTP server
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp        </strong>  
  <info>string  </info>  <strong>$remote_file</strong>  
  <info>string  </info>  <strong>$local_file </strong>  
  <info>int     </info>  <strong>$mode       </strong>  

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


id: ftp_cdup
type: function
doc:
<comment>Description:</comment>
  Changes to the parent directory
  
  Changes to the parent directory.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.

<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>ftp_chdir()</strong>
   * <strong>ftp_pwd()</strong>


id: ftp_chdir
type: function
doc:
<comment>Description:</comment>
  Changes the current directory on a FTP server
  
  Changes the current directory to the specified one.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The target directory.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului. If changing directory fails, PHP will also throw a
        warning.

<comment>See Also:</comment>
   * <strong>ftp_cdup()</strong>
   * <strong>ftp_pwd()</strong>


id: ftp_chmod
type: function
doc:
<comment>Description:</comment>
  Set permissions on a file via FTP
  
  Sets the permissions on the specified remote file to  <strong>$mode</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>int     </info>  <strong>$mode      </strong>  The new permissions, given as an octal value.
  <info>string  </info>  <strong>$filename  </strong>  The remote file.

<comment>Return:</comment>
  <info>int</info>  Returns the new file permissions on success or <info>false</info> on error.

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


id: ftp_close
type: function
doc:
<comment>Description:</comment>
  Closes an FTP connection
  
  <strong>ftp_close()</strong> closes the given link identifier and releases the <info>resource</info>.
  
  After calling this function, you can no longer use the FTP connection and must create a new one
  with <strong>ftp_connect()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.

<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>ftp_connect()</strong>


id: ftp_connect
type: function
doc:
<comment>Description:</comment>
  Opens an FTP connection
  
  <strong>ftp_connect()</strong> opens an FTP connection to the specified <strong>$host</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$host   </strong>  The FTP server address. This parameter shouldn't have any trailing  slashes and
                    shouldn't be prefixed with <return>ftp://</return>.
  <info>int   </info>  <strong>$port   </strong>  This parameter specifies an alternate port to connect to. If it is omitted or
                    set to zero, then the default FTP port, 21, will be used.
  <info>int   </info>  <strong>$timeout</strong>  This parameter specifies the timeout in seconds for all subsequent network
                    operations. If omitted, the default value is 90 seconds. The timeout can be
                    changed and queried at any time with <strong>ftp_set_option()</strong> and <strong>ftp_get_option()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a FTP stream on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ftp_close()</strong>
   * <strong>ftp_ssl_connect()</strong>


id: ftp_delete
type: function
doc:
<comment>Description:</comment>
  Deletes a file on the FTP server
  
  <strong>ftp_delete()</strong> deletes the file specified by <strong>$path</strong> from the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$path      </strong>  The file to delete.

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


id: ftp_exec
type: function
doc:
<comment>Description:</comment>
  Requests execution of a command on the FTP server
  
  Sends a SITE EXEC <strong>$command</strong> request to the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$command   </strong>  The command to execute.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the command was successful (server sent response code: <return>200</return>); otherwise
        returns <info>false</info>.

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


id: ftp_fget
type: function
doc:
<comment>Description:</comment>
  Downloads a file from the FTP server and saves to an open file
  
  <strong>ftp_fget()</strong> retrieves <strong>$remote_file</strong> from the FTP server, and writes it to the given file pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>resource</info>  <strong>$handle     </strong>  An open file pointer in which we store the data.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$resumepos  </strong>  The position in the remote file to start downloading from.

<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>ftp_get()</strong>
   * <strong>ftp_nb_get()</strong>
   * <strong>ftp_nb_fget()</strong>


id: ftp_fput
type: function
doc:
<comment>Description:</comment>
  Uploads from an open file to the FTP server
  
  <strong>ftp_fput()</strong> uploads the data from a file pointer to a remote file on the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>resource</info>  <strong>$handle     </strong>  An open file pointer on the local file. Reading stops at end of file.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$startpos   </strong>  The position in the remote file to start uploading to.

<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>ftp_put()</strong>
   * <strong>ftp_nb_fput()</strong>
   * <strong>ftp_nb_put()</strong>


id: ftp_get
type: function
doc:
<comment>Description:</comment>
  Downloads a file from the FTP server
  
  <strong>ftp_get()</strong> retrieves a remote file from the FTP server, and saves it into a local file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$local_file </strong>  The local file path (will be overwritten if the file already exists).
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$resumepos  </strong>  The position in the remote file to start downloading from.

<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>ftp_pasv()</strong>
   * <strong>ftp_fget()</strong>
   * <strong>ftp_nb_get()</strong>
   * <strong>ftp_nb_fget()</strong>


id: ftp_get_option
type: function
doc:
<comment>Description:</comment>
  Retrieves various runtime behaviours of the current FTP stream
  
  This function returns the value for the requested  <strong>$option</strong> from the specified FTP connection.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>int     </info>  <strong>$option    </strong>  Currently, the following options are supported: Supported runtime FTP
                         options<info>FTP_TIMEOUT_SEC</info> Returns the current timeout used for network related
                         operations. <info>FTP_AUTOSEEK</info> Returns <info>true</info> if this option is on, <info>false</info>
                         otherwise.

<comment>Return:</comment>
  <info>mixed</info>  Returns the value on success or <info>false</info> if the given  <strong>$option</strong> is not supported. In the latter
         case, a warning message is also thrown.

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


id: ftp_login
type: function
doc:
<comment>Description:</comment>
  Logs in to an FTP connection
  
  Logs in to the given FTP stream.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$username  </strong>  The username (<return>USER</return>).
  <info>string  </info>  <strong>$password  </strong>  The password (<return>PASS</return>).

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului. If login fails, PHP will also throw a warning.


id: ftp_mdtm
type: function
doc:
<comment>Description:</comment>
  Returns the last modified time of the given file
  
  <strong>ftp_mdtm()</strong> gets the last modified time for a remote file.
  
  Not all servers support this feature!
  
  <strong>ftp_mdtm()</strong> does not work with directories.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The file from which to extract the last modification time.

<comment>Return:</comment>
  <info>int</info>  Returns the last modified time as a Unix timestamp on success, or -1 on  error.


id: ftp_mkdir
type: function
doc:
<comment>Description:</comment>
  Creates a directory
  
  Creates the specified <strong>$directory</strong> on the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The name of the directory that will be created.

<comment>Return:</comment>
  <info>string</info>  Returns the newly created directory name on success or <info>false</info> on error.

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


id: ftp_mlsd
type: function
doc:
<comment>Description:</comment>
  Returns a list of files in the given directory

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The directory to be listed.

<comment>Return:</comment>
  <info>array</info>  Returns an array of arrays with file infos from the specified directory on success or <info>false</info>
         on error.

<comment>See Also:</comment>
   * <strong>ftp_rawlist()</strong>
   * <strong>ftp_nlist()</strong>


id: ftp_nb_continue
type: function
doc:
<comment>Description:</comment>
  Continues retrieving/sending a file (non-blocking)
  
  Continues retrieving/sending a file non-blocking.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.

<comment>Return:</comment>
  <info>int</info>  Returns <info>FTP_FAILED</info> or <info>FTP_FINISHED</info> or <info>FTP_MOREDATA</info>.


id: ftp_nb_fget
type: function
doc:
<comment>Description:</comment>
  Retrieves a file from the FTP server and writes it to an open file (non-blocking)
  
  <strong>ftp_nb_fget()</strong> retrieves a remote file from the FTP  server.
  
  The difference between this function and <strong>ftp_fget()</strong> is  that this function retrieves the file
  asynchronously, so your program can  perform other operations while the file is being downloaded.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>resource</info>  <strong>$handle     </strong>  An open file pointer in which we store the data.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$resumepos  </strong>  The position in the remote file to start downloading from.

<comment>Return:</comment>
  <info>int</info>  Returns <info>FTP_FAILED</info> or <info>FTP_FINISHED</info> or <info>FTP_MOREDATA</info>.

<comment>See Also:</comment>
   * <strong>ftp_nb_get()</strong>
   * <strong>ftp_nb_continue()</strong>
   * <strong>ftp_fget()</strong>
   * <strong>ftp_get()</strong>


id: ftp_nb_fput
type: function
doc:
<comment>Description:</comment>
  Stores a file from an open file to the FTP server (non-blocking)
  
  <strong>ftp_nb_fput()</strong> uploads the data from a file pointer to a remote file on the FTP server.
  
  The difference between this function and the <strong>ftp_fput()</strong>  is that this function uploads the file
  asynchronously, so your program can perform other operations while the file is being uploaded.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>resource</info>  <strong>$handle     </strong>  An open file pointer on the local file. Reading stops at end of file.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$startpos   </strong>  The position in the remote file to start uploading to.

<comment>Return:</comment>
  <info>int</info>  Returns <info>FTP_FAILED</info> or <info>FTP_FINISHED</info> or <info>FTP_MOREDATA</info>.

<comment>See Also:</comment>
   * <strong>ftp_nb_put()</strong>
   * <strong>ftp_nb_continue()</strong>
   * <strong>ftp_put()</strong>
   * <strong>ftp_fput()</strong>


id: ftp_nb_get
type: function
doc:
<comment>Description:</comment>
  Retrieves a file from the FTP server and writes it to a local file (non-blocking)
  
  <strong>ftp_nb_get()</strong> retrieves a remote file from the FTP server, and saves it into a local file.
  
  The difference between this function and <strong>ftp_get()</strong> is that this function retrieves the file
  asynchronously, so your program can perform  other operations while the file is being downloaded.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$local_file </strong>  The local file path (will be overwritten if the file already exists).
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$resumepos  </strong>  The position in the remote file to start downloading from.

<comment>Return:</comment>
  <info>int</info>  Returns <info>FTP_FAILED</info> or <info>FTP_FINISHED</info> or <info>FTP_MOREDATA</info>.

<comment>See Also:</comment>
   * <strong>ftp_nb_fget()</strong>
   * <strong>ftp_nb_continue()</strong>
   * <strong>ftp_fget()</strong>
   * <strong>ftp_get()</strong>


id: ftp_nb_put
type: function
doc:
<comment>Description:</comment>
  Stores a file on the FTP server (non-blocking)
  
  <strong>ftp_nb_put()</strong> stores a local file on the FTP server.
  
  The difference between this function and the <strong>ftp_put()</strong> is that this function uploads the file
  asynchronously, so your program can perform other operations while the file is being uploaded.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>string  </info>  <strong>$local_file </strong>  The local file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$startpos   </strong>  The position in the remote file to start uploading to.

<comment>Return:</comment>
  <info>int</info>  Returns <info>FTP_FAILED</info> or <info>FTP_FINISHED</info> or <info>FTP_MOREDATA</info>.

<comment>See Also:</comment>
   * <strong>ftp_nb_fput()</strong>
   * <strong>ftp_nb_continue()</strong>
   * <strong>ftp_put()</strong>
   * <strong>ftp_fput()</strong>


id: ftp_nlist
type: function
doc:
<comment>Description:</comment>
  Returns a list of files in the given directory

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The directory to be listed. This parameter can also include arguments, eg.
                         ftp_nlist($conn_id, "-la /your/dir"); Note that this parameter isn't
                         escaped so there may be some issues with filenames containing spaces and
                         other characters.

<comment>Return:</comment>
  <info>array</info>  Returns an array of filenames from the specified directory on success or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ftp_rawlist()</strong>
   * <strong>ftp_mlsd()</strong>


id: ftp_pasv
type: function
doc:
<comment>Description:</comment>
  Turns passive mode on or off
  
  <strong>ftp_pasv()</strong> turns on or off passive mode. In passive mode, data connections are initiated by the
  client, rather than by the server. It may be needed if the client is behind firewall.
  
  Please note that <strong>ftp_pasv()</strong> can only be called after a successful login or otherwise it will fail.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>bool    </info>  <strong>$pasv      </strong>  If <info>true</info>, the passive mode is turned on, else it's turned off.

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


id: ftp_put
type: function
doc:
<comment>Description:</comment>
  Uploads a file to the FTP server
  
  <strong>ftp_put()</strong> stores a local file on the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file path.
  <info>string  </info>  <strong>$local_file </strong>  The local file path.
  <info>int     </info>  <strong>$mode       </strong>  The transfer mode. Must be either <info>FTP_ASCII</info> or <info>FTP_BINARY</info>.
  <info>int     </info>  <strong>$startpos   </strong>  The position in the remote file to start uploading to.

<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>ftp_pasv()</strong>
   * <strong>ftp_fput()</strong>
   * <strong>ftp_nb_fput()</strong>
   * <strong>ftp_nb_put()</strong>


id: ftp_pwd
type: function
doc:
<comment>Description:</comment>
  Returns the current directory name

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.

<comment>Return:</comment>
  <info>string</info>  Returns the current directory name or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ftp_chdir()</strong>
   * <strong>ftp_cdup()</strong>


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


id: ftp_raw
type: function
doc:
<comment>Description:</comment>
  Sends an arbitrary command to an FTP server
  
  Sends an arbitrary <strong>$command</strong> to the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$command   </strong>  The command to execute.

<comment>Return:</comment>
  <info>array</info>  Returns the server's response as an array of strings. No parsing is performed on the
         response string, nor does  <strong>ftp_raw()</strong> determine if the command succeeded.

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


id: ftp_rawlist
type: function
doc:
<comment>Description:</comment>
  Returns a detailed list of files in the given directory
  
  <strong>ftp_rawlist()</strong> executes the FTP  LIST command, and returns the result as an array.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The directory path. May include arguments for the LIST command.
  <info>bool    </info>  <strong>$recursive </strong>  If set to <info>true</info>, the issued command will be LIST -R.

<comment>Return:</comment>
  <info>array</info>  Returns an array where each element corresponds to one line of text. Returns <info>false</info> when
         passed <strong>$directory</strong> is invalid.
         
         The output is not parsed in any way. The system type identifier returned by <strong>ftp_systype()</strong>
         can be used to determine how the results  should be interpreted.

<comment>See Also:</comment>
   * <strong>ftp_nlist()</strong>
   * <strong>ftp_mlsd()</strong>


id: ftp_rename
type: function
doc:
<comment>Description:</comment>
  Renames a file or a directory on the FTP server
  
  <strong>ftp_rename()</strong> renames a file or a directory on the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$oldname   </strong>  The old file/directory name.
  <info>string  </info>  <strong>$newname   </strong>  The new name.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului. Upon failure (such as attempting to rename a
        non-existent file), an <return>E_WARNING</return> error will be emitted.


id: ftp_rmdir
type: function
doc:
<comment>Description:</comment>
  Removes a directory
  
  Removes the specified <strong>$directory</strong> on the FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$directory </strong>  The directory to delete. This must be either an absolute or relative path
                         to an empty 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>ftp_mkdir()</strong>


id: ftp_set_option
type: function
doc:
<comment>Description:</comment>
  Set miscellaneous runtime FTP options
  
  This function controls various runtime options for the specified FTP  stream.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>int     </info>  <strong>$option    </strong>  Currently, the following options are supported: Supported runtime FTP
                         options<info>FTP_TIMEOUT_SEC</info> Changes the timeout in seconds used for all network
                         related  functions. <strong>$value</strong> must be an integer that is greater than 0. The
                         default timeout is 90 seconds. <info>FTP_AUTOSEEK</info> When enabled, GET or PUT
                         requests with a  <strong>$resumepos</strong> or <strong>$startpos</strong> parameter will first seek to the
                         requested position within the file. This is enabled by default.
                         <info>FTP_USEPASVADDRESS</info> When disabled, PHP will ignore the IP address returned
                         by the FTP server in response to the PASV command and instead use the IP
                         address that was supplied in the ftp_connect(). <strong>$value</strong> must be a boolean.
  <info>mixed   </info>  <strong>$value     </strong>  This parameter depends on which <strong>$option</strong> is chosen to be altered.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the option could be set; <info>false</info> if not. A warning message will be thrown if
        the <strong>$option</strong> is not supported or the passed <strong>$value</strong> doesn't match the expected value for the
        given <strong>$option</strong>.

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


id: ftp_site
type: function
doc:
<comment>Description:</comment>
  Sends a SITE command to the server
  
  <strong>ftp_site()</strong> sends the given <return>SITE</return>  command to the FTP server.
  
  <return>SITE</return> commands are not standardized, and vary from server to server. They are useful for handling
  such things as file permissions and  group membership.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$command   </strong>  The SITE command. Note that this parameter isn't escaped so there may be
                         some issues with filenames containing spaces and other characters.

<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>ftp_raw()</strong>


id: ftp_size
type: function
doc:
<comment>Description:</comment>
  Returns the size of the given file
  
  <strong>ftp_size()</strong> returns the size of the given file in bytes.
  
  Not all servers support this feature.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream </strong>  The link identifier of the FTP connection.
  <info>string  </info>  <strong>$remote_file</strong>  The remote file.

<comment>Return:</comment>
  <info>int</info>  Returns the file size on success, or -1 on error.

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


id: ftp_ssl_connect
type: function
doc:
<comment>Description:</comment>
  Opens a Secure SSL-FTP connection
  
  <strong>ftp_ssl_connect()</strong> opens an explicit SSL-FTP connection to the specified <strong>$host</strong>. That implies that
  <strong>ftp_ssl_connect()</strong> will succeed even if the server is not configured for SSL-FTP, or its
  certificate is invalid. Only when <strong>ftp_login()</strong> is called, the client will send the appropriate AUTH
  FTP command, so <strong>ftp_login()</strong> will fail in the mentioned cases.
  
  Before PHP 7.0.0, <strong>ftp_ssl_connect()</strong> was only available if both the ftp module and the OpenSSL
  support have been built statically into php; this means that on Windows this function had been
  undefined in the official PHP builds. To have this function available on Windows, it had been
  necessary to compile own PHP binaries.
  
  <strong>ftp_ssl_connect()</strong> is not intended for use with sFTP. To use sFTP with PHP, please see <strong>ssh2_sftp()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$host   </strong>  The FTP server address. This parameter shouldn't have any trailing  slashes and
                    shouldn't be prefixed with <return>ftp://</return>.
  <info>int   </info>  <strong>$port   </strong>  This parameter specifies an alternate port to connect to. If it is omitted or
                    set to zero, then the default FTP port, 21, will be used.
  <info>int   </info>  <strong>$timeout</strong>  This parameter specifies the timeout for all subsequent network operations. If
                    omitted, the default value is 90 seconds. The timeout can be changed and queried
                    at any time with <strong>ftp_set_option()</strong> and <strong>ftp_get_option()</strong>.

<comment>Return:</comment>
  <info>resource</info>  Returns a SSL-FTP stream on success or <info>false</info> on error.

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


id: ftp_systype
type: function
doc:
<comment>Description:</comment>
  Returns the system type identifier of the remote FTP server
  
  Returns the system type identifier of the remote FTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ftp_stream</strong>  The link identifier of the FTP connection.

<comment>Return:</comment>
  <info>string</info>  Returns the remote system type, or <info>false</info> on error.


id: ftruncate
type: function
doc:
<comment>Description:</comment>
  Truncates a file to a given length
  
  Takes the filepointer, <strong>$stream</strong>, and truncates the file to length, <strong>$size</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$stream</strong>  The file pointer.
                     
                     The <strong>$stream</strong> must be open for writing.
  <info>int     </info>  <strong>$size  </strong>  The size to truncate to.
                     
                     If <strong>$size</strong> is larger than the file then the file is extended with null bytes.
                     
                     If <strong>$size</strong> is smaller than the file then the file is truncated to that size.

<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>fopen()</strong>
   * <strong>fseek()</strong>


id: func_get_arg
type: function
doc:
<comment>Description:</comment>
  Return an item from the argument list
  
  Gets the specified argument from a user-defined function's argument list.
  
  This function may be used in conjunction with  <strong>func_get_args()</strong> and <strong>func_num_args()</strong> to allow
  user-defined functions to accept variable-length argument lists.

<comment>Param:</comment>
  <info>int</info>  <strong>$arg_num</strong>  The argument offset. Function arguments are counted starting from zero.

<comment>Return:</comment>
  <info>mixed</info>  Returns the specified argument, or <info>false</info> on error.

<comment>See Also:</comment>
   * <return>...</return> syntax in PHP 5.6+
   * <strong>func_get_args()</strong>
   * <strong>func_num_args()</strong>


id: func_get_args
type: function
doc:
<comment>Description:</comment>
  Returns an array comprising a function's argument list
  
  Gets an array of the function's argument list.
  
  This function may be used in conjunction with  <strong>func_get_arg()</strong> and <strong>func_num_args()</strong> to allow
  user-defined functions to accept variable-length argument lists.

<comment>Return:</comment>
  <info>array</info>  Returns an array in which each element is a copy of the corresponding member of the current
         user-defined function's argument list.

<comment>See Also:</comment>
   * <return>...</return> syntax in PHP 5.6+
   * <strong>func_get_arg()</strong>
   * <strong>func_num_args()</strong>
   * ReflectionFunctionAbstract::getParameters


id: func_num_args
type: function
doc:
<comment>Description:</comment>
  Returns the number of arguments passed to the function
  
  Gets the number of arguments passed to the function.
  
  This function may be used in conjunction with  <strong>func_get_arg()</strong> and <strong>func_get_args()</strong> to allow
  user-defined functions to accept variable-length argument lists.

<comment>Return:</comment>
  <info>int</info>  Returns the number of arguments passed into the current user-defined function.

<comment>See Also:</comment>
   * <return>...</return> syntax in PHP 5.6+
   * <strong>func_get_arg()</strong>
   * <strong>func_get_args()</strong>
   * ReflectionFunctionAbstract::getNumberOfParameters


id: function_exists
type: function
doc:
<comment>Description:</comment>
  Return true if the given function has been defined
  
  Checks the list of defined functions, both built-in (internal) and user-defined, for
  <strong>$function_name</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$function_name</strong>  The function name, as a string.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$function_name</strong> exists and is a function, <info>false</info> otherwise.
        
        This function will return <info>false</info> for constructs, such as  <strong>include_once()</strong> and <strong>echo()</strong>.

<comment>See Also:</comment>
   * <strong>method_exists()</strong>
   * <strong>is_callable()</strong>
   * <strong>get_defined_functions()</strong>
   * <strong>class_exists()</strong>
   * <strong>extension_loaded()</strong>


id: fwrite
type: function
doc:
<comment>Description:</comment>
  Binary-safe file write
  
  <strong>fwrite()</strong> writes the contents of <strong>$string</strong> to the file stream pointed to by <strong>$handle</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$handle</strong>  O <info>
                     resursă</info> de tip indicator în sistemul de fișiere care este în mod tipic
                     creată utilizând <strong>fopen()</strong>.
  <info>string  </info>  <strong>$string</strong>  The string that is to be written.
  <info>int     </info>  <strong>$length</strong>  If the <strong>$length</strong> argument is given, writing will stop after <strong>$length</strong> bytes have
                     been written or the end of <strong>$string</strong> is reached, whichever comes first.
                     
                     Note that if the <strong>$length</strong> argument is given, then the magic_quotes_runtime
                     configuration option will be ignored and no slashes will be stripped from
                     <strong>$string</strong>.

<comment>Return:</comment>
  <info>int</info>  <strong>fwrite()</strong> returns the number of bytes written, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>fread()</strong>
   * <strong>fopen()</strong>
   * <strong>fsockopen()</strong>
   * <strong>popen()</strong>
   * <strong>file_get_contents()</strong>
   * <strong>pack()</strong>


id: gc_collect_cycles
type: function
doc:
<comment>Description:</comment>
  Forces collection of any existing garbage cycles
  
  Forces collection of any existing garbage cycles.

<comment>Return:</comment>
  <info>int</info>  Returns number of collected cycles.

<comment>See Also:</comment>
   * Garbage Collection


id: gc_disable
type: function
doc:
<comment>Description:</comment>
  Deactivates the circular reference collector
  
  Deactivates the circular reference collector, setting zend.enable_gc to <return>0</return>.

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

<comment>See Also:</comment>
   * Garbage Collection


id: gc_enable
type: function
doc:
<comment>Description:</comment>
  Activates the circular reference collector
  
  Activates the circular reference collector, setting zend.enable_gc to <return>1</return>.

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

<comment>See Also:</comment>
   * Garbage Collection


id: gc_enabled
type: function
doc:
<comment>Description:</comment>
  Returns status of the circular reference collector
  
  Returns status of the circular reference collector.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the garbage collector is enabled, <info>false</info> otherwise.

<comment>See Also:</comment>
   * Garbage Collection


id: gc_mem_caches
type: function
doc:
<comment>Description:</comment>
  Reclaims memory used by the Zend Engine memory manager
   
  
  Reclaims memory used by the Zend Engine memory manager.

<comment>Return:</comment>
  <info>int</info>  Returns the number of bytes freed.

<comment>See Also:</comment>
   * Garbage Collection


id: gc_status
type: function
doc:
<comment>Description:</comment>
  Gets information about the garbage collector
  
  Gets information about the current state of the garbage collector.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array with the following elements:
         <return>"runs"</return><return>"collected"</return><return>"threshold"</return><return>"roots"</return>
         
         <return>"runs"</return>
         
         <return>"collected"</return>
         
         <return>"threshold"</return>
         
         <return>"roots"</return>

<comment>See Also:</comment>
   * Garbage Collection


id: gd_info
type: function
doc:
<comment>Description:</comment>
  Retrieve information about the currently installed GD library
  
  Gets information about the version and capabilities of the installed GD library.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array.
         
         Elements of array returned by <strong>gd_info()</strong>AttributeMeaningGD Version<info>string</info> value describing
         the installed <return>libgd</return> version.FreeType Support<info>bool</info> value.  <info>true</info> if FreeType Support is
         installed.FreeType Linkage<info>string</info> value describing the way in which FreeType was linked.
         Expected values are: 'with freetype', 'with TTF library', and 'with unknown library'.  This
         element will only be defined if <return>FreeType Support</return> evaluated to <info>true</info>.GIF Read Support<info>bool</info>
         value.  <info>true</info> if support for reading <return>GIF</return> images is included.GIF Create Support<info>bool</info> value.
         <info>true</info> if support for creating <return>GIF</return> images is included.JPEG Support<info>bool</info> value.  <info>true</info> if <return>JPEG</return>
         support is included.PNG Support<info>bool</info> value.  <info>true</info> if <return>PNG</return> support is included.WBMP
         Support<info>bool</info> value.  <info>true</info> if <return>WBMP</return> support is included.XBM Support<info>bool</info> value.  <info>true</info> if <return>XBM</return>
         support is included.WebP Support<info>bool</info> value.  <info>true</info> if <return>WebP</return> support is included.

<comment>See Also:</comment>
   * <strong>imagepng()</strong>
   * <strong>imagejpeg()</strong>
   * <strong>imagegif()</strong>
   * <strong>imagewbmp()</strong>
   * <strong>imagewebp()</strong>
   * <strong>imagetypes()</strong>


id: geoip_asnum_by_name
type: function
doc:
<comment>Description:</comment>
  Get the Autonomous System Numbers (ASN)
  
  The <strong>geoip_asnum_by_name()</strong> function will return the Autonomous System Numbers (ASN) associated with
  an IP address.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address.

<comment>Return:</comment>
  <info>string</info>  Returns the ASN on success, or <info>false</info> if the address cannot be found in the database.


id: geoip_continent_code_by_name
type: function
doc:
<comment>Description:</comment>
  Get the two letter continent code
  
  The <strong>geoip_continent_code_by_name()</strong> function will return the two letter continent code
  corresponding to a hostname or an IP address.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose location is to be looked-up.

<comment>Return:</comment>
  <info>string</info>  Returns the two letter continent code on success, or <info>false</info> if the address cannot be found
          in the database.

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


id: geoip_country_code3_by_name
type: function
doc:
<comment>Description:</comment>
  Get the three letter country code
  
  The <strong>geoip_country_code3_by_name()</strong> function will return the three letter country code corresponding
  to a hostname or an IP address.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose location is to be looked-up.

<comment>Return:</comment>
  <info>string</info>  Returns the three letter country code on success, or <info>false</info>  if the address cannot be found
          in the database.

<comment>See Also:</comment>
   * <strong>geoip_country_code_by_name()</strong>
   * <strong>geoip_country_name_by_name()</strong>


id: geoip_country_code_by_name
type: function
doc:
<comment>Description:</comment>
  Get the two letter country code
  
  The <strong>geoip_country_code_by_name()</strong> function will return the two letter country code corresponding to
  a hostname or an IP address.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose location is to be looked-up.

<comment>Return:</comment>
  <info>string</info>  Returns the two letter ISO country code on success, or <info>false</info>  if the address cannot be
          found in the database.

<comment>See Also:</comment>
   * <strong>geoip_country_code3_by_name()</strong>
   * <strong>geoip_country_name_by_name()</strong>


id: geoip_country_name_by_name
type: function
doc:
<comment>Description:</comment>
  Get the full country name
  
  The <strong>geoip_country_name_by_name()</strong> function will return the full country name corresponding to a
  hostname or an IP address.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose location is to be looked-up.

<comment>Return:</comment>
  <info>string</info>  Returns the country name on success, or <info>false</info> if the address cannot  be found in the
          database.

<comment>See Also:</comment>
   * <strong>geoip_country_code_by_name()</strong>
   * <strong>geoip_country_code3_by_name()</strong>


id: geoip_database_info
type: function
doc:
<comment>Description:</comment>
  Get GeoIP Database information
  
  The <strong>geoip_database_info()</strong> function returns the corresponding GeoIP Database version as it is
  defined inside the binary file.
  
  If this function is called without arguments, it returns the version of the GeoIP Free Country
  Edition.

<comment>Param:</comment>
  <info>int</info>  <strong>$database</strong>  The database type as an integer. You can use the various constants defined with
                  this extension (ie: GEOIP_*_EDITION).

<comment>Return:</comment>
  <info>string</info>  Returns the corresponding database version, or <info>null</info> on error.


id: geoip_db_avail
type: function
doc:
<comment>Description:</comment>
  Determine if GeoIP Database is available
  
  The <strong>geoip_db_avail()</strong> function returns if the corresponding GeoIP Database is available and can be
  opened on disk.
  
  It does not indicate if the file is a proper database, only if it is readable.

<comment>Param:</comment>
  <info>int</info>  <strong>$database</strong>  The database type as an integer. You can use the various constants defined with
                  this extension (ie: GEOIP_*_EDITION).

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> is database exists, <info>false</info> if not found, or <info>null</info> on error.


id: geoip_db_filename
type: function
doc:
<comment>Description:</comment>
  Returns the filename of the corresponding GeoIP Database
  
  The <strong>geoip_db_filename()</strong> function returns the filename of the corresponding GeoIP Database.
  
  It does not indicate if the file exists or not on disk, only where the library is looking for the
  database.

<comment>Param:</comment>
  <info>int</info>  <strong>$database</strong>  The database type as an integer. You can use the various constants defined with
                  this extension (ie: GEOIP_*_EDITION).

<comment>Return:</comment>
  <info>string</info>  Returns the filename of the corresponding database, or <info>null</info> on error.


id: geoip_db_get_all_info
type: function
doc:
<comment>Description:</comment>
  Returns detailed information about all GeoIP database types
  
  The <strong>geoip_db_get_all_info()</strong> function will return  detailed information as a multi-dimensional
  array about all the  GeoIP database types.
  
  This function is available even if no databases are installed. It will simply list them as
  non-available.
  
  The names of the different keys of the returning associative array are as follows:
  
   "available" -- Boolean, indicate if DB is available (see <strong>geoip_db_avail()</strong>)  "description" -- The
  database description  "filename" -- The database filename on disk (see <strong>geoip_db_filename()</strong>)
  
  "available" -- Boolean, indicate if DB is available (see <strong>geoip_db_avail()</strong>)
  
  "description" -- The database description
  
  "filename" -- The database filename on disk (see <strong>geoip_db_filename()</strong>)

<comment>Return:</comment>
  <info>array</info>  Returns the associative array.


id: geoip_domain_by_name
type: function
doc:
<comment>Description:</comment>
  Get the second level domain name
  
  The <strong>geoip_domain_by_name()</strong> function will return the second level domain names associated with a
  hostname or an IP address.
  
  This function is currently only available to users who have bought a commercial GeoIP Domain
  Edition. A warning will be issued if the proper database cannot be  located.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address.

<comment>Return:</comment>
  <info>string</info>  Returns the domain name on success, or <info>false</info> if the address cannot be found in the
          database.


id: geoip_id_by_name
type: function
doc:
<comment>Description:</comment>
  Get the Internet connection type
  
  The <strong>geoip_id_by_name()</strong> function will return the Internet  connection type corresponding to a
  hostname or an IP address.
  
  The return value is numeric and can be compared to the following constants:
  
   GEOIP_UNKNOWN_SPEED  GEOIP_DIALUP_SPEED  GEOIP_CABLEDSL_SPEED  GEOIP_CORPORATE_SPEED 
  
  GEOIP_UNKNOWN_SPEED
  
  GEOIP_DIALUP_SPEED
  
  GEOIP_CABLEDSL_SPEED
  
  GEOIP_CORPORATE_SPEED

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose connection type is to be looked-up.

<comment>Return:</comment>
  <info>int</info>  Returns the connection type.


id: geoip_isp_by_name
type: function
doc:
<comment>Description:</comment>
  Get the Internet Service Provider (ISP) name
  
  The <strong>geoip_isp_by_name()</strong> function will return the name of the Internet Service Provider (ISP) that
  an IP is assigned to.
  
  This function is currently only available to users who have bought a commercial GeoIP ISP Edition.
  A warning will be issued if the proper database cannot be  located.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address.

<comment>Return:</comment>
  <info>string</info>  Returns the ISP name on success, or <info>false</info> if the address cannot be found in the database.


id: geoip_netspeedcell_by_name
type: function
doc:
<comment>Description:</comment>
  Get the Internet connection speed
  
  The <strong>geoip_netspeedcell_by_name()</strong> function will return the Internet  connection type and speed
  corresponding to a hostname or an IP address.
  
  This function is only available if using GeoIP Library version 1.4.8 or newer.
  
  This function is currently only available to users who have bought a commercial GeoIP NetSpeedCell
  Edition. A warning will be issued if the proper database cannot be  located.
  
  The return value is a string, common values are:
  
   Cable/DSL  Dialup  Cellular  Corporate 
  
  Cable/DSL
  
  Dialup
  
  Cellular
  
  Corporate

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address.

<comment>Return:</comment>
  <info>string</info>  Returns the connection speed on success, or <info>false</info> if the address cannot be found in the
          database.


id: geoip_org_by_name
type: function
doc:
<comment>Description:</comment>
  Get the organization name
  
  The <strong>geoip_org_by_name()</strong> function will return the name of the organization that an IP is assigned
  to.
  
  This function is currently only available to users who have bought a commercial GeoIP
  Organization, ISP or AS Edition. A warning will be issued if the proper  database cannot be
  located.

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address.

<comment>Return:</comment>
  <info>string</info>  Returns the organization name on success, or <info>false</info> if the address cannot be found in the
          database.


id: geoip_record_by_name
type: function
doc:
<comment>Description:</comment>
  Returns the detailed City information found in the GeoIP Database
  
  The <strong>geoip_record_by_name()</strong> function will return the record information corresponding to a hostname
  or an IP address.
  
  This function is available for both GeoLite City Edition and commercial GeoIP City Edition. A
  warning will be issued if the proper database cannot be located.
  
  The names of the different keys of the returning associative array are as follows:
  
   "continent_code" -- Two letter continent code (as of version 1.0.4 with  libgeoip 1.4.3 or newer)
  "country_code" -- Two letter country code (see <strong>geoip_country_code_by_name()</strong>)  "country_code3" --
  Three letter country code (see <strong>geoip_country_code3_by_name()</strong>)  "country_name" -- The country name
  (see <strong>geoip_country_name_by_name()</strong>)  "region" -- The region code (ex: CA for California)  "city" --
  The city.  "postal_code" -- The Postal Code, FSA or Zip Code.  "latitude" -- The Latitude as
  signed double.  "longitude" -- The Longitude as signed double.  "dma_code" -- Designated Market
  Area code (USA and Canada only)  "area_code" -- The PSTN area code (ex: 212)
  
  "continent_code" -- Two letter continent code (as of version 1.0.4 with  libgeoip 1.4.3 or newer)
  
  "country_code" -- Two letter country code (see <strong>geoip_country_code_by_name()</strong>)
  
  "country_code3" -- Three letter country code (see <strong>geoip_country_code3_by_name()</strong>)
  
  "country_name" -- The country name (see <strong>geoip_country_name_by_name()</strong>)
  
  "region" -- The region code (ex: CA for California)
  
  "city" -- The city.
  
  "postal_code" -- The Postal Code, FSA or Zip Code.
  
  "latitude" -- The Latitude as signed double.
  
  "longitude" -- The Longitude as signed double.
  
  "dma_code" -- Designated Market Area code (USA and Canada only)
  
  "area_code" -- The PSTN area code (ex: 212)

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose record is to be looked-up.

<comment>Return:</comment>
  <info>array</info>  Returns the associative array on success, or <info>false</info> if the address  cannot be found in the
         database.


id: geoip_region_by_name
type: function
doc:
<comment>Description:</comment>
  Get the country code and region
  
  The <strong>geoip_region_by_name()</strong> function will return the country and region corresponding to a hostname
  or an IP address.
  
  This function is currently only available to users who have bought a commercial GeoIP Region
  Edition. A warning will be issued if the proper database cannot be located.
  
  The names of the different keys of the returning associative array are as follows:
  
   "country_code" -- Two letter country code (see <strong>geoip_country_code_by_name()</strong>)  "region" -- The
  region code (ex: CA for California)
  
  "country_code" -- Two letter country code (see <strong>geoip_country_code_by_name()</strong>)
  
  "region" -- The region code (ex: CA for California)

<comment>Param:</comment>
  <info>string</info>  <strong>$hostname</strong>  The hostname or IP address whose region is to be looked-up.

<comment>Return:</comment>
  <info>array</info>  Returns the associative array on success, or <info>false</info> if the address  cannot be found in the
         database.


id: geoip_region_name_by_code
type: function
doc:
<comment>Description:</comment>
  Returns the region name for some country and region code combo
  
  The <strong>geoip_region_name_by_code()</strong> function will return the region name corresponding to a country
  and region code combo.
  
  In the United States, the region code corresponds to the two-letter abbreviation of each state. In
  Canada, the region code corresponds to the two-letter province or territory code as attributed by
  Canada Post.
  
  For the rest of the world, GeoIP uses FIPS 10-4 codes to represent regions. You can check
  http://www.maxmind.com/app/fips10_4 for a detailed list of FIPS 10-4 codes.
  
  This function is always available if using GeoIP Library version 1.4.1 or newer. The data is taken
  directly from the GeoIP Library and not from any database.

<comment>Param:</comment>
  <info>string</info>  <strong>$country_code</strong>  The two-letter country code (see <strong>geoip_country_code_by_name()</strong>)
  <info>string</info>  <strong>$region_code </strong>  The two-letter (or digit) region code (see  <strong>geoip_region_by_name()</strong>)

<comment>Return:</comment>
  <info>string</info>  Returns the region name on success, or <info>false</info> if the country and region code combo cannot
          be found.


id: geoip_setup_custom_directory
type: function
doc:
<comment>Description:</comment>
  Set a custom directory for the GeoIP database
  
  The <strong>geoip_setup_custom_directory()</strong> function will change the default directory of the GeoIP
  database. This is equivalent to changing geoip.custom_directory.

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>  The full path of where the GeoIP database is on disk.

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


id: geoip_time_zone_by_country_and_region
type: function
doc:
<comment>Description:</comment>
  Returns the time zone for some country and region code combo
  
  The <strong>geoip_time_zone_by_country_and_region()</strong> function will return the time zone corresponding to a
  country and region code combo.
  
  In the United States, the region code corresponds to the two-letter abbreviation of each state. In
  Canada, the region code corresponds to the two-letter province or territory code as attributed by
  Canada Post.
  
  For the rest of the world, GeoIP uses FIPS 10-4 codes to represent regions. You can check
  http://www.maxmind.com/app/fips10_4 for a detailed list of FIPS 10-4 codes.
  
  This function is always available if using GeoIP Library version 1.4.1 or newer. The data is taken
  directly from the GeoIP Library and not from any database.

<comment>Param:</comment>
  <info>string</info>  <strong>$country_code</strong>  The two-letter country code (see <strong>geoip_country_code_by_name()</strong>)
  <info>string</info>  <strong>$region_code </strong>  The two-letter (or digit) region code (see  <strong>geoip_region_by_name()</strong>)

<comment>Return:</comment>
  <info>string</info>  Returns the time zone on success, or <info>false</info> if the country and region code combo cannot be
          found.


id: getSession
type: function
doc:
<comment>Description:</comment>
  Connect to a MySQL server
  
  Connects to the MySQL server.

<comment>Param:</comment>
  <info>string</info>  <strong>$uri</strong>  The URI to the MySQL server, such as <return>mysqlx://user:password@host</return>.
                
                URI format:
                
                scheme://[user[:[password]]@]target[:port][?attribute1=value1&attribute2=value2...
                
                <return>scheme</return>: required, the connection protocol
                
                In mysql_xdevapi it is always 'mysqlx' (for X Protocol)
                
                <return>user</return>: optional, the MySQL user account for authentication
                
                <return>password</return>: optional, the MySQL user's password for authentication
                
                <return>target</return>: required, the server instance the connection refers to:
                
                * TCP connection (host name, IPv4 address, or IPv6 address)
                
                * Unix socket path (local file path)
                
                * Windows named-pipe (local file path)
                
                <return>port</return>: optional, network port of MySQL server.
                
                by default port for X Protocol is 33060
                
                <return>?attribute=value</return>: this element is optional and specifies a data dictionary  that
                contains different options, including:
                
                The <return>auth</return> (authentication mechanism) attribute as it relates to encrypted
                connections. For additional information, see Command Options for Encrypted
                Connections. The following 'auth' values are supported: <return>plain</return>, <return>mysql41</return>, <return>external</return>,
                and <return>sha256_mem</return>.
                
                The <return>connect-timeout</return> attribute affects the connection and not subsequent operations.
                It is set per connection whether on a single or multiple hosts.
                
                Pass in a positive integer to define the connection timeout in seconds, or pass in 0
                (zero) to disable the timeout (infinite). Not defining connect-timeout uses the
                default value of 10.
                
                Related, the MYSQLX_CONNECTION_TIMEOUT (timeout in seconds) and
                MYSQLX_TEST_CONNECTION_TIMEOUT (used while running tests) environment variables can
                be set and used instead of connect-timeout in the URI. The connect-timeout URI
                option has precedence over these environment variables.
                
                The optional <return>compression</return> attribute accepts these values:  <return>preferred</return> (client
                negotiates with server to find a supported algorithm; connection is uncompressed if
                a mutually supported algorithm is not found),  <return>required</return> (like "preferred", but
                connection is terminated if a mutually supported algorithm is not found), or
                <return>disabled</return> (connection is uncompressed). Defaults to <return>preferred</return>.
                
                This option was added in version 8.0.20.
                
                The optional <return>compression-algorithms</return> attribute defines  the desired compression
                algorithms (and their preferred usage order):  <return>zstd_stream</return> (alias: zstd),
                <return>lz4_message</return> (alias: lz4), or <return>deflate_stream</return> (aliases: deflate or zlib). By default,
                the order used (depending on system availability) is lz4_message, zstd_stream, then
                deflate_stream. For example, passing in compression-algorithms=[lz4,zstd_stream]
                uses lz4 if it's available, otherwise zstd_stream is used. If both are unavailable
                then behavior depends on the compression value e.g., if compression=required then
                it'll fail with an error.
                
                This option was added in version 8.0.22.
                
                For related information, see MySQL Shell's Connecting using a URI String.

<comment>Return:</comment>
  <info>mysql_xdevapi\Session</info>  A <class>Session</class> object.


id: get_browser
type: function
doc:
<comment>Description:</comment>
  Tells what the user's browser is capable of
  
  Attempts to determine the capabilities of the user's browser, by looking up the browser's
  information in the browscap.ini file.

<comment>Param:</comment>
  <info>string</info>  <strong>$user_agent  </strong>  The User Agent to be analyzed. By default, the value of HTTP User-Agent
                         header is used; however, you can alter this (i.e., look up another
                         browser's info) by passing this parameter.
                         
                         You can bypass this parameter with a <info>null</info> value.
  <info>bool  </info>  <strong>$return_array</strong>  If set to <info>true</info>, this function will return an <info>array</info> instead of an <info>object</info>.

<comment>Return:</comment>
  <info>mixed</info>  The information is returned in an object or an array which will contain various data
         elements representing, for instance, the browser's major and minor version numbers and ID
         string; <info>true</info>/<info>false</info> values for features such as frames, JavaScript, and cookies; and so
         forth.
         
         The <return>cookies</return> value simply means that the browser itself is capable of accepting cookies and
         does not mean the user has enabled the browser to accept cookies or not. The only way to
         test if cookies are accepted is to set one with <strong>setcookie()</strong>, reload, and check for the
         value.


id: get_called_class
type: function
doc:
<comment>Description:</comment>
  The "Late Static Binding" class name
  
  Gets the name of the class the static method is called in.

<comment>Return:</comment>
  <info>string</info>  Returns the class name.  Returns <info>false</info> if called from outside a class.

<comment>See Also:</comment>
   * <strong>get_parent_class()</strong>
   * <strong>get_class()</strong>
   * <strong>is_subclass_of()</strong>


id: get_cfg_var
type: function
doc:
<comment>Description:</comment>
  Gets the value of a PHP configuration option
  
  Gets the value of a PHP configuration <strong>$option</strong>.
  
  This function will not return configuration information set when the PHP was compiled, or read
  from an Apache configuration file.
  
  To check whether the system is using a configuration file, try retrieving the value of the
  cfg_file_path configuration setting. If this is available, a configuration file is being used.

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

<comment>Return:</comment>
  <info>stringarrayfalse</info>  Returns the current value of the PHP configuration variable specified by
                    <strong>$option</strong>, or <info>false</info> if an error occurs.

<comment>See Also:</comment>
   * <strong>ini_get()</strong>
   * <strong>ini_get_all()</strong>


id: get_class
type: function
doc:
<comment>Description:</comment>
  Returns the name of the class of an object
  
  Gets the name of the class of the given <strong>$object</strong>.

<comment>Param:</comment>
  <info>object</info>  <strong>$object</strong>  The tested object. This parameter may be omitted when inside a class.
                   
                   Explicitly passing <info>null</info> as the <strong>$object</strong> is no longer allowed as of PHP 7.2.0.
                   
                   The parameter is still optional and calling <strong>get_class()</strong> without a parameter from
                   inside a class will work, but passing <info>null</info> now emits an <info>E_WARNING</info> notice.

<comment>Return:</comment>
  <info>string</info>  Returns the name of the class of which <strong>$object</strong> is an instance. Returns <info>false</info> if <strong>$object</strong> is
          not an  object.
          
          If <strong>$object</strong> is omitted when inside a class, the name of that class is returned.
          
          If the <strong>$object</strong> is an instance of a class which exists  in a namespace, the qualified
          namespaced name of that class is returned.

<comment>See Also:</comment>
   * <strong>get_called_class()</strong>
   * <strong>get_parent_class()</strong>
   * <strong>gettype()</strong>
   * <strong>is_subclass_of()</strong>


id: get_class_methods
type: function
doc:
<comment>Description:</comment>
  Gets the class methods' names
  
  Gets the class methods names.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$class_name</strong>  The class name or an object instance

<comment>Return:</comment>
  <info>array</info>  Returns an array of method names defined for the class specified by <strong>$class_name</strong>. In case of
         an error, it returns <info>null</info>.

<comment>See Also:</comment>
   * <strong>get_class()</strong>
   * <strong>get_class_vars()</strong>
   * <strong>get_object_vars()</strong>


id: get_class_vars
type: function
doc:
<comment>Description:</comment>
  Get the default properties of the class
  
  Get the default properties of the given class.

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

<comment>Return:</comment>
  <info>array</info>  Returns an associative array of declared properties visible from the current scope, with
         their default value. The resulting array elements are in the form of  <return>varname =&gt; value</return>.
         In case of an error, it returns <info>false</info>.

<comment>See Also:</comment>
   * <strong>get_class_methods()</strong>
   * <strong>get_object_vars()</strong>


id: get_current_user
type: function
doc:
<comment>Description:</comment>
  Gets the name of the owner of the current PHP script
  
  Returns the name of the owner of the current PHP script.

<comment>Return:</comment>
  <info>string</info>  Returns the username as a string.

<comment>See Also:</comment>
   * <strong>getmyuid()</strong>
   * <strong>getmygid()</strong>
   * <strong>getmypid()</strong>
   * <strong>getmyinode()</strong>
   * <strong>getlastmod()</strong>


id: get_declared_classes
type: function
doc:
<comment>Description:</comment>
  Returns an array with the name of the defined classes
  
  Gets the declared classes.

<comment>Return:</comment>
  <info>array</info>  Returns an array of the names of the declared classes in the current script.
         
         Note that depending on what extensions you have compiled or loaded into PHP, additional
         classes could be present. This means that you will not be able to define your own classes
         using these names. There is a list of predefined classes in the Predefined Classes section
         of the appendices.

<comment>See Also:</comment>
   * <strong>class_exists()</strong>
   * <strong>get_declared_interfaces()</strong>
   * <strong>get_defined_functions()</strong>


id: get_declared_interfaces
type: function
doc:
<comment>Description:</comment>
  Returns an array of all declared interfaces
  
  Gets the declared interfaces.

<comment>Return:</comment>
  <info>array</info>  Returns an array of the names of the declared interfaces in the current script.

<comment>See Also:</comment>
   * <strong>interface_exists()</strong>
   * <strong>get_declared_classes()</strong>
   * <strong>class_implements()</strong>


id: get_declared_traits
type: function
doc:
<comment>Description:</comment>
  Returns an array of all declared traits

<comment>Return:</comment>
  <info>array</info>  Returns an array with names of all declared traits in values. Returns <info>null</info> in case of a
         failure.

<comment>See Also:</comment>
   * <strong>class_uses()</strong>
   * <strong>trait_exists()</strong>


id: get_defined_constants
type: function
doc:
<comment>Description:</comment>
  Returns an associative array with the names of all the constants and their values
  
  Returns the names and values of all the constants currently defined. This includes those created
  by extensions as well as those created with the <strong>define()</strong> function.

<comment>Param:</comment>
  <info>bool</info>  <strong>$categorize</strong>  Causing this function to return a multi-dimensional array with categories in
                     the keys of the first dimension and constants and their values in the second
                     dimension.
                     ]]>
                     Exemplul de mai sus va afișa ceva similar cu: Array ( [E_ERROR] => 1
                     [E_WARNING] => 2 [E_PARSE] => 4 [E_NOTICE] => 8 [E_CORE_ERROR] => 16
                     [E_CORE_WARNING] => 32 [E_COMPILE_ERROR] => 64 [E_COMPILE_WARNING] => 128
                     [E_USER_ERROR] => 256 [E_USER_WARNING] => 512 [E_USER_NOTICE] => 1024 [E_ALL]
                     => 2047 [TRUE] => 1 )
                      [pcre] => Array ( [PREG_PATTERN_ORDER] => 1 [PREG_SET_ORDER] => 2
                     [PREG_OFFSET_CAPTURE] => 256 [PREG_SPLIT_NO_EMPTY] => 1
                     [PREG_SPLIT_DELIM_CAPTURE] => 2 [PREG_SPLIT_OFFSET_CAPTURE] => 4
                     [PREG_GREP_INVERT] => 1 )
                      [user] => Array ( [MY_CONSTANT] => 1 )
                     
                     )
                     ]]>
                     
                     Exemplul de mai sus va afișa ceva similar cu:

<comment>Return:</comment>
  <info>array</info>  Returns an array of constant name =&gt; constant value array, optionally groupped by
         extension name registering the constant.

<comment>See Also:</comment>
   * <strong>defined()</strong>
   * <strong>get_loaded_extensions()</strong>
   * <strong>get_defined_functions()</strong>
   * <strong>get_defined_vars()</strong>


id: get_defined_functions
type: function
doc:
<comment>Description:</comment>
  Returns an array of all defined functions
  
  Gets an array of all defined functions.

<comment>Param:</comment>
  <info>bool</info>  <strong>$exclude_disabled</strong>  Whether disabled functions should be excluded from the return value.

<comment>Return:</comment>
  <info>array</info>  Returns a multidimensional array containing a list of all defined functions, both built-in
         (internal) and user-defined. The internal functions will be accessible via
         $arr["internal"], and the user defined ones using $arr["user"] (see example below).

<comment>See Also:</comment>
   * <strong>function_exists()</strong>
   * <strong>get_defined_vars()</strong>
   * <strong>get_defined_constants()</strong>
   * <strong>get_declared_classes()</strong>


id: get_defined_vars
type: function
doc:
<comment>Description:</comment>
  Întoarce un msiv cu toate variabilele definite
    
  
  Această funcție întoarce un tablou multidimensional ce conține lista tuturor variabilelor definite
  de mediu, de server sau de utilizator, în cadrul circumstanței în care este apelată funcția
  <strong>get_defined_vars()</strong>.

<comment>Return:</comment>
  <info>array</info>  Un tablou multidimensional cu toate variabilele.

<comment>See Also:</comment>
   * <strong>isset()</strong>
   * <strong>get_defined_functions()</strong>
   * <strong>get_defined_constants()</strong>


id: get_extension_funcs
type: function
doc:
<comment>Description:</comment>
  Returns an array with the names of the functions of a module
  
  This function returns the names of all the functions defined in the module indicated by
  <strong>$module_name</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$module_name</strong>  The module name.
                        
                        This parameter must be in lowercase.

<comment>Return:</comment>
  <info>array</info>  Returns an array with all the functions, or <info>false</info> if  <strong>$module_name</strong> is not a valid
         extension.

<comment>See Also:</comment>
   * <strong>get_loaded_extensions()</strong>
   * ReflectionExtension::getFunctions


id: get_headers
type: function
doc:
<comment>Description:</comment>
  Fetches all the headers sent by the server in response to an HTTP request
  
  <strong>get_headers()</strong> returns an array with the headers sent by the server in response to a HTTP request.

<comment>Param:</comment>
  <info>string  </info>  <strong>$url    </strong>  The target URL.
  <info>int     </info>  <strong>$format </strong>  If the optional <strong>$format</strong> parameter is set to non-zero, <strong>get_headers()</strong> parses the
                      response and sets the  array's keys.
  <info>resource</info>  <strong>$context</strong>  A valid context resource created with <strong>stream_context_create()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an indexed or associative array with the headers, or <info>false</info> on failure.

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


id: get_html_translation_table
type: function
doc:
<comment>Description:</comment>
  Returns the translation table used by htmlspecialchars and htmlentities
  
  <strong>get_html_translation_table()</strong> will return the translation table that is used internally for
  <strong>htmlspecialchars()</strong> and <strong>htmlentities()</strong>.
  
  Special characters can be encoded in several ways. E.g. <return>"</return> can be encoded as , <return>&#34;</return> or <return>&#x22</return>.
  <strong>get_html_translation_table()</strong> returns only the form used by <strong>htmlspecialchars()</strong> and <strong>htmlentities()</strong>.

<comment>Param:</comment>
  <info>int   </info>  <strong>$table   </strong>  Which table to return. Either <info>HTML_ENTITIES</info> or <info>HTML_SPECIALCHARS</info>.
  <info>int   </info>  <strong>$flags   </strong>  A bitmask of one or more of the following flags, which specify which quotes the
                     table will contain as well as which document type the table is for. The default
                     is <return>ENT_COMPAT | ENT_HTML401</return>. Available <strong>$flags</strong> constantsConstant
                     NameDescription<info>ENT_COMPAT</info>Table will contain entities for double-quotes, but not
                     for single-quotes.<info>ENT_QUOTES</info>Table will contain entities for both double and
                     single quotes.<info>ENT_NOQUOTES</info>Table will neither contain entities for single quotes
                     nor for double quotes.<info>ENT_HTML401</info>Table for HTML 4.01.<info>ENT_XML1</info>Table for XML
                     1.<info>ENT_XHTML</info>Table for XHTML.<info>ENT_HTML5</info>Table for HTML 5.
  <info>string</info>  <strong>$encoding</strong>  Encoding to use. If omitted, the default value for this argument is UTF-8.
                     
                     The following character sets are supported: Supported
                     charsetsCharsetAliasesDescriptionISO-8859-1ISO8859-1 Western European, Latin-1.
                     ISO-8859-5ISO8859-5 Little used cyrillic charset (Latin/Cyrillic).
                     ISO-8859-15ISO8859-15 Western European, Latin-9. Adds the Euro sign, French and
                     Finnish letters missing in Latin-1 (ISO-8859-1). UTF-8 ASCII compatible
                     multi-byte 8-bit Unicode. cp866ibm866, 866 DOS-specific Cyrillic charset.
                     cp1251Windows-1251, win-1251, 1251 Windows-specific Cyrillic charset.
                     cp1252Windows-1252, 1252 Windows specific charset for Western European.
                     KOI8-Rkoi8-ru, koi8r Russian. BIG5950 Traditional Chinese, mainly used in
                     Taiwan. GB2312936 Simplified Chinese, national standard character set.
                     BIG5-HKSCS Big5 with Hong Kong extensions, Traditional Chinese. Shift_JISSJIS,
                     SJIS-win, cp932, 932 Japanese EUC-JPEUCJP, eucJP-win Japanese MacRoman Charset
                     that was used by Mac OS. <return>''</return> An empty string activates detection from script
                     encoding (Zend multibyte), default_charset and current locale (see
                     <strong>nl_langinfo()</strong> and <strong>setlocale()</strong>), in this order. Not recommended.   Any other
                     character sets are not recognized. The default encoding will be used instead
                     and a warning will be emitted.
                     
                     Any other character sets are not recognized. The default encoding will be used
                     instead and a warning will be emitted.

<comment>Return:</comment>
  <info>array</info>  Returns the translation table as an array, with the original characters as keys and
         entities as values.

<comment>See Also:</comment>
   * <strong>htmlspecialchars()</strong>
   * <strong>htmlentities()</strong>
   * <strong>html_entity_decode()</strong>


id: get_include_path
type: function
doc:
<comment>Description:</comment>
  Gets the current include_path configuration option
  
  Gets the current include_path configuration option value.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the path, as a string,  sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>ini_get()</strong>
   * <strong>restore_include_path()</strong>
   * <strong>set_include_path()</strong>
   * <strong>include()</strong>


id: get_included_files
type: function
doc:
<comment>Description:</comment>
  Returns an array with the names of included or required files
  
  Gets the names of all files that have been included using <strong>include()</strong>, <strong>include_once()</strong>, <strong>require()</strong> or
  <strong>require_once()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an array of the names of all files.
         
         The script originally called is considered an "included file," so it will be listed
         together with the files referenced by  <strong>include()</strong> and family.
         
         Files that are included or required multiple times only show up once in the returned array.

<comment>See Also:</comment>
   * <strong>include()</strong>
   * <strong>include_once()</strong>
   * <strong>require()</strong>
   * <strong>require_once()</strong>
   * <strong>get_required_files()</strong>


id: get_loaded_extensions
type: function
doc:
<comment>Description:</comment>
  Returns an array with the names of all modules compiled and loaded
  
  This function returns the names of all the modules compiled and loaded in the PHP interpreter.

<comment>Param:</comment>
  <info>bool</info>  <strong>$zend_extensions</strong>  Only return Zend extensions, if not then regular extensions, like  mysqli
                          are listed. Defaults to <info>false</info> (return regular extensions).

<comment>Return:</comment>
  <info>array</info>  Returns an indexed array of all the modules names.

<comment>See Also:</comment>
   * <strong>get_extension_funcs()</strong>
   * <strong>extension_loaded()</strong>
   * <strong>dl()</strong>
   * <strong>phpinfo()</strong>


id: get_magic_quotes_gpc
type: function
doc:
<comment>Description:</comment>
  Gets the current configuration setting of magic_quotes_gpc
  
  Returns the current configuration setting of magic_quotes_gpc
  
  Keep in mind that attempting to set  magic_quotes_gpc at runtime will not work.
  
  For more information about magic_quotes, see this security section.

<comment>Return:</comment>
  <info>bool</info>  Returns 0 if magic_quotes_gpc is off, 1 otherwise.  Or always returns <info>false</info> as of PHP 5.4.0.

<comment>See Also:</comment>
   * <strong>addslashes()</strong>
   * <strong>stripslashes()</strong>
   * <strong>get_magic_quotes_runtime()</strong>
   * <strong>ini_get()</strong>


id: get_magic_quotes_runtime
type: function
doc:
<comment>Description:</comment>
  Gets the current active configuration setting of magic_quotes_runtime
  
  Returns the current active configuration setting of magic_quotes_runtime.

<comment>Return:</comment>
  <info>bool</info>  Returns 0 if magic_quotes_runtime is off, 1 otherwise.  Or always returns <info>false</info> as of PHP
        5.4.0.

<comment>See Also:</comment>
   * <strong>get_magic_quotes_gpc()</strong>
   * <strong>set_magic_quotes_runtime()</strong>


