# php_manual

id: imagestring
type: function
doc:
<comment>Description:</comment>
  Draw a string horizontally
  
  Draws a <strong>$string</strong> at the given coordinates.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image </strong>  O resursă - imagine,
                     întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                     <strong>imagecreatetruecolor()</strong>.
  <info>int     </info>  <strong>$font  </strong>  Poate fi 1, 2, 3, 4, 5
                     pentru font-urile încorporate cu codificarea latin2 (unde numerele mai mari
                     corespund font-urilor mai mari) sau orice identificator de font al
                     dumneavoastră, înregistrat cu <strong>imageloadfont()</strong>.
  <info>int     </info>  <strong>$x     </strong>  x-coordinate of the upper left corner.
  <info>int     </info>  <strong>$y     </strong>  y-coordinate of the upper left corner.
  <info>string  </info>  <strong>$string</strong>  The string to be written.
  <info>int     </info>  <strong>$color </strong>  Un identificator al culorii create cu
                     <strong>imagecolorallocate()</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>imagestringup()</strong>
   * <strong>imageloadfont()</strong>
   * <strong>imagettftext()</strong>


id: imagestringup
type: function
doc:
<comment>Description:</comment>
  Draw a string vertically
  
  Draws a <strong>$string</strong> vertically at the given coordinates.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image </strong>  O resursă - imagine,
                     întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                     <strong>imagecreatetruecolor()</strong>.
  <info>int     </info>  <strong>$font  </strong>  Poate fi 1, 2, 3, 4, 5
                     pentru font-urile încorporate cu codificarea latin2 (unde numerele mai mari
                     corespund font-urilor mai mari) sau orice identificator de font al
                     dumneavoastră, înregistrat cu <strong>imageloadfont()</strong>.
  <info>int     </info>  <strong>$x     </strong>  x-coordinate of the bottom left corner.
  <info>int     </info>  <strong>$y     </strong>  y-coordinate of the bottom left corner.
  <info>string  </info>  <strong>$string</strong>  The string to be written.
  <info>int     </info>  <strong>$color </strong>  Un identificator al culorii create cu
                     <strong>imagecolorallocate()</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>imagestring()</strong>
   * <strong>imageloadfont()</strong>


id: imagesx
type: function
doc:
<comment>Description:</comment>
  Get image width
  
  Returns the width of the given <strong>$image</strong> resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image</strong>  O resursă - imagine,
                    întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                    <strong>imagecreatetruecolor()</strong>.

<comment>Return:</comment>
  <info>int</info>  Return the width of the <strong>$image</strong> or <info>false</info> on  errors.

<comment>See Also:</comment>
   * <strong>imagecreatetruecolor()</strong>
   * <strong>getimagesize()</strong>
   * <strong>imagesy()</strong>


id: imagesy
type: function
doc:
<comment>Description:</comment>
  Get image height
  
  Returns the height of the given <strong>$image</strong> resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image</strong>  O resursă - imagine,
                    întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                    <strong>imagecreatetruecolor()</strong>.

<comment>Return:</comment>
  <info>int</info>  Return the height of the <strong>$image</strong> or <info>false</info> on  errors.

<comment>See Also:</comment>
   * <strong>imagecreatetruecolor()</strong>
   * <strong>getimagesize()</strong>
   * <strong>imagesx()</strong>


id: imagetruecolortopalette
type: function
doc:
<comment>Description:</comment>
  Convert a true color image to a palette image
  
  <strong>imagetruecolortopalette()</strong> converts a truecolor image to a palette image. The code for this
  function was originally drawn from the Independent JPEG Group library code, which is excellent.
  The code has been modified to preserve as much alpha channel information as possible in the
  resulting palette, in addition to preserving colors as well as possible. This does not work as
  well as might be hoped. It is usually best to simply produce a truecolor output image instead,
  which guarantees the highest output quality.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image  </strong>  O resursă - imagine,
                      întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                      <strong>imagecreatetruecolor()</strong>.
  <info>bool    </info>  <strong>$dither </strong>  Indicates if the image should be dithered - if it is <info>true</info> then dithering will
                      be used which will result in a more speckled image but with better color
                      approximation.
  <info>int     </info>  <strong>$ncolors</strong>  Sets the maximum number of colors that should be retained in the palette.

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


id: imagettfbbox
type: function
doc:
<comment>Description:</comment>
  Give the bounding box of a text using TrueType fonts
  
  This function calculates and returns the bounding box in pixels for a TrueType text.
  
  <strong>imageftbbox()</strong> is an extended variant of <strong>imagettfbbox()</strong> which additionally supports the <strong>$extrainfo</strong>.

<comment>Param:</comment>
  <info>float </info>  <strong>$size    </strong>  Dimensiunea font-ului în unități de puncte.
  <info>float </info>  <strong>$angle   </strong>  Angle in degrees in which <strong>$text</strong> will be measured.
  <info>string</info>  <strong>$fontfile</strong>  Calea către fontul TrueType pe care doriți să-l utilizați.
                     
                     În dependență de versiunea bibliotecii GD utilizate de PHP, atunci când
                     parametrul <strong>$fontfile</strong> nu începe cu un <return>/</return> la numele fișierului va fi adăugat <return>.ttf</return>
                     și biblioteca va încerca să caute acest fișier în căile către fonturi definite
                     în librărie.
                     
                     La utilizarea versiunilor bibliotecii GD mai joase de 2.0.18, caracterul <return>spațiu</return>
                     era utilizat ca separator al căilor pentru diferite fișiere cu fonturi, dar nu
                     punctul și virgula. Utilizarea neintenționată a acestei facilități va rezulta
                     în următorul avertisment: <return>Warning: Could not find/open font</return>. Pentru aceste
                     versiuni afectate unica soluție este de a transfera fontul într-o cale care nu
                     conține spații în denumire.
                     
                     În multe cazuri atunci când fontul se află în același director ca și scriptul
                     care îl utilizează, următorul truc va elimina problemele de incluziune.
                     ]]>
                     
                     Observați că open_basedir nu se aplică la <strong>$fontfile</strong>.
  <info>string</info>  <strong>$text    </strong>  The string to be measured.

<comment>Return:</comment>
  <info>array</info>  <strong>imagettfbbox()</strong> returns an array with 8 elements representing four points making the
         bounding box of the text on success and <info>false</info> on error. keycontents0lower left corner, X
         position1lower left corner, Y position2lower right corner, X position3lower right corner, Y
         position4upper right corner, X position5upper right corner, Y position6upper left corner, X
         position7upper left corner, Y position
         
         The points are relative to the text regardless of the <strong>$angle</strong>, so "upper left" means in the
         top left-hand  corner seeing the text horizontally.

<comment>See Also:</comment>
   * <strong>imagettftext()</strong>
   * <strong>imageftbbox()</strong>


id: imagettftext
type: function
doc:
<comment>Description:</comment>
  Write text to the image using TrueType fonts
  
  Writes the given <strong>$text</strong> into the image using TrueType fonts.
  
  <strong>imagefttext()</strong> is an extended variant of <strong>imagettftext()</strong> which additionally supports the <strong>$extrainfo</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image   </strong>  O resursă - imagine,
                       întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                       <strong>imagecreatetruecolor()</strong>.
  <info>float   </info>  <strong>$size    </strong>  Dimensiunea font-ului în unități de puncte.
  <info>float   </info>  <strong>$angle   </strong>  The angle in degrees, with 0 degrees being left-to-right reading text. Higher
                       values represent a counter-clockwise rotation. For example, a  value of 90
                       would result in bottom-to-top reading text.
  <info>int     </info>  <strong>$x       </strong>  The coordinates given by <strong>$x</strong> and <strong>$y</strong> will define the basepoint of the first
                       character (roughly the lower-left corner of the character). This is different
                       from the <strong>imagestring()</strong>, where <strong>$x</strong> and <strong>$y</strong> define the upper-left corner of the
                       first character. For example, "top left" is 0, 0.
  <info>int     </info>  <strong>$y       </strong>  The y-ordinate. This sets the position of the fonts baseline, not the very
                       bottom of the character.
  <info>int     </info>  <strong>$color   </strong>  The color index. Using the negative of a color index has the effect of
                       turning off antialiasing. See <strong>imagecolorallocate()</strong>.
  <info>string  </info>  <strong>$fontfile</strong>  Calea către fontul TrueType pe care doriți să-l utilizați.
                       
                       În dependență de versiunea bibliotecii GD utilizate de PHP, atunci când
                       parametrul <strong>$fontfile</strong> nu începe cu un <return>/</return> la numele fișierului va fi adăugat
                       <return>.ttf</return> și biblioteca va încerca să caute acest fișier în căile către fonturi
                       definite în librărie.
                       
                       La utilizarea versiunilor bibliotecii GD mai joase de 2.0.18, caracterul
                       <return>spațiu</return> era utilizat ca separator al căilor pentru diferite fișiere cu
                       fonturi, dar nu punctul și virgula. Utilizarea neintenționată a acestei
                       facilități va rezulta în următorul avertisment: <return>Warning: Could not find/open
                       font</return>. Pentru aceste versiuni afectate unica soluție este de a transfera
                       fontul într-o cale care nu conține spații în denumire.
                       
                       În multe cazuri atunci când fontul se află în același director ca și scriptul
                       care îl utilizează, următorul truc va elimina problemele de incluziune.
                       ]]>
                       
                       Observați că open_basedir nu se aplică la <strong>$fontfile</strong>.
  <info>string  </info>  <strong>$text    </strong>  The text string in UTF-8 encoding.
                       
                       May include decimal numeric character references (of the form: &#8364;) to
                       access characters in a font beyond position 127. The hexadecimal format (like
                       &#xA9;) is supported. Strings in UTF-8 encoding can be passed directly.
                       
                       Named entities, such as &copy;, are not supported. Consider using
                       <strong>html_entity_decode()</strong> to decode these named entities into UTF-8 strings.
                       
                       If a character is used in the string which is not supported by the font, a
                       hollow rectangle will replace the character.

<comment>Return:</comment>
  <info>array</info>  Returns an array with 8 elements representing four points making the bounding box of the
         text. The order of the points is lower left, lower  right, upper right, upper left. The
         points are relative to the text regardless of the angle, so "upper left" means in the top
         left-hand  corner when you see the text horizontally. Returns <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>imagettfbbox()</strong>
   * <strong>imagefttext()</strong>


id: imagetypes
type: function
doc:
<comment>Description:</comment>
  Return the image types supported by this PHP build
  
  Returns the image types supported by the current PHP installation.

<comment>Return:</comment>
  <info>int</info>  Returns a bit-field corresponding to the image formats supported by the version of GD linked
       into PHP.  The following bits are returned, <info>IMG_BMP</info> | <info>IMG_GIF</info> | <info>IMG_JPG</info> | <info>IMG_PNG</info> | <info>IMG_WBMP</info>
       |  <info>IMG_XPM</info> | <info>IMG_WEBP</info>.

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


id: imagewbmp
type: function
doc:
<comment>Description:</comment>
  Afișează imaginea în navigator sau în fișier
  
  <strong>imagewbmp()</strong> outputs or save a WBMP version of the given <strong>$image</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image     </strong>  O resursă - imagine,
                         întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                         <strong>imagecreatetruecolor()</strong>.
  <info>mixed   </info>  <strong>$to        </strong>  Calea către o resursă stream deschisă (care automat va
                         fi închisă după ce această funcție se încheie) în care va fi salvat
                         fișierul.
                         Dacă nu este stabilită sau este <info>null</info>, atunci fluxul imaginii va fi afișat
                         direct.
  <info>int     </info>  <strong>$foreground</strong>  You can set the foreground color with this parameter by setting an
                         identifier obtained from <strong>imagecolorallocate()</strong>. The default foreground color
                         is black.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.
        
        Însă dacă libgd eșuează să afișeze imaginea, această funcție întoarce <info>true</info>.

<comment>See Also:</comment>
   * <strong>image2wbmp()</strong>
   * <strong>imagepng()</strong>
   * <strong>imagegif()</strong>
   * <strong>imagejpeg()</strong>
   * <strong>imagetypes()</strong>


id: imagewebp
type: function
doc:
<comment>Description:</comment>
  Output a WebP image to browser or file
  
  Outputs or saves a WebP version of the given <strong>$image</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image  </strong>  O resursă - imagine,
                      întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                      <strong>imagecreatetruecolor()</strong>.
  <info>mixed   </info>  <strong>$to     </strong>  Calea către o resursă stream deschisă (care automat va
                      fi închisă după ce această funcție se încheie) în care va fi salvat fișierul.
                      Dacă nu este stabilită sau este <info>null</info>, atunci fluxul imaginii va fi afișat
                      direct.
  <info>int     </info>  <strong>$quality</strong>  <strong>$quality</strong> ranges from 0 (worst quality, smaller file) to 100 (best quality,
                      biggest file).

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.
        
        Însă dacă libgd eșuează să afișeze imaginea, această funcție întoarce <info>true</info>.


id: imagexbm
type: function
doc:
<comment>Description:</comment>
  Output an XBM image to browser or file
  
  Outputs or save an XBM version of the given  <strong>$image</strong>.
  
  <strong>imagexbm()</strong> doesn't apply any padding, so the image width has to be a multiple of 8. This
  restriction does no longer apply as of PHP 7.0.9.

<comment>Param:</comment>
  <info>resource</info>  <strong>$image     </strong>  O resursă - imagine,
                         întoarsă de una din funcțiile de creare a imaginilor, cum ar fi
                         <strong>imagecreatetruecolor()</strong>.
  <info>mixed   </info>  <strong>$filename  </strong>  The path to save the file to, given as <info>string</info>. If <info>null</info>, the raw image
                         stream will be output directly.
                         
                         The <strong>$filename</strong> (without the .xbm extension) is also used for the C
                         identifiers of the XBM, whereby non alphanumeric characters of the current
                         locale are substituted by underscores. If <strong>$filename</strong> is set to <info>null</info>, <return>image</return>
                         is used to build the C identifiers.
  <info>int     </info>  <strong>$foreground</strong>  You can set the foreground color with this parameter by setting an
                         identifier obtained from <strong>imagecolorallocate()</strong>. The default foreground color
                         is black. All other colors are treated as background.

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.
        
        Însă dacă libgd eșuează să afișeze imaginea, această funcție întoarce <info>true</info>.


id: imagick::ALPHACHANNEL_ACTIVATE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.8 or higher.


id: imagick::ALPHACHANNEL_COPY
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.6 or higher.


id: imagick::COLORSPACE_CMY
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.2 or higher.


id: imagick::COMPOSITE_EXCLUSION
type: constant
doc:
<comment>Description:</comment>
  Produces an effect similar to that of imagick::COMPOSITE_DIFFERENCE, but appears as lower contrast


id: imagick::COMPRESSION_DXT1
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.0 or higher.


id: imagick::DISTORTION_AFFINE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.6 or higher.


id: imagick::EVALUATE_ADDMODULUS
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.4 or higher.


id: imagick::FUNCTION_POLYNOMIAL
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.9 or higher.


id: imagick::INTERLACE_GIF
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.4 or higher.


id: imagick::INTERPOLATE_AVERAGE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.2 or higher.


id: imagick::LAYERMETHOD_COALESCE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.2.9 or higher.


id: imagick::LAYERMETHOD_COMPOSITE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.0 or higher.


id: imagick::LAYERMETHOD_FLATTEN
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.3.7 or higher.


id: imagick::RESOURCETYPE_AREA
type: constant
doc:
<comment>Description:</comment>
  Set the maximum width * height of an image that can reside in the pixel cache memory.


id: imagick::RESOURCETYPE_DISK
type: constant
doc:
<comment>Description:</comment>
  Set maximum amount of disk space in bytes permitted for use by the pixel cache.


id: imagick::RESOURCETYPE_MAP
type: constant
doc:
<comment>Description:</comment>
  Set maximum amount of memory map in bytes to allocate for the pixel cache.


id: imagick::RESOURCETYPE_MEMORY
type: constant
doc:
<comment>Description:</comment>
  Set maximum amount of memory in bytes to allocate for the pixel cache from the heap.


id: imagick::RESOURCETYPE_THREAD
type: constant
doc:
<comment>Description:</comment>
  Set maximum parallel threads. Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.7.8 or higher.


id: imagick::VIRTUALPIXELMETHOD_HORIZONTALTILE
type: constant
doc:
<comment>Description:</comment>
  Această constantă este disponibilă dacă
  Imagick a fost compilat cu ImageMagick de versiunea 6.4.3 or higher.


id: imap_8bit
type: function
doc:
<comment>Description:</comment>
  Convertește un string "8bit" într-un string "quoted-printable"
    
  
  Convertește un string "8bit" într-un string "quoted-printable" (în conformitate cu RFC2045,
  section 6.7).

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  String-ul "8bit" de convertit

<comment>Return:</comment>
  <info>string</info>  Întoarce un string "quoted-printable".

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


id: imap_alerts
type: function
doc:
<comment>Description:</comment>
  Întoarce toate mesajele de alertă IMAP care au avut loc
    
  
  Întoarce toate mesajele de alertă IMAP generate după ultimul apel al funcției <strong>imap_alerts()</strong>, sau
  începutul paginii.
  
  Când <strong>imap_alerts()</strong> este apelată, stiva alertelor este mai apoi curățită. Specificația IMAP
  stabilește ca aceste mesaje să fie transmise utilizatorului.

<comment>Return:</comment>
  <info>array</info>  Întoarce un tablou cu toate mesajele de alertă IMAP generate sau <info>false</info> dacă nu este
         disponibil nici un mesaj de alertă.

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


id: imap_append
type: function
doc:
<comment>Description:</comment>
  Append a string message to a specified mailbox
  
  Appends a string <strong>$message</strong> to the specified <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream  </strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox      </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                            
                            Transmiterea datelor neverificate către acest parametru este
                            primejdioasă, doar dacă nu a fost dezactivată opțiunea
                            imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$message      </strong>  The message to be append, as a string
                            
                            When talking to the Cyrus IMAP server, you must use "\r\n" as your
                            end-of-line terminator instead of "\n" or the operation will fail
  <info>string  </info>  <strong>$options      </strong>  If provided, the <strong>$options</strong> will also be written to the <strong>$mailbox</strong>
  <info>string  </info>  <strong>$internal_date</strong>  If this parameter is set, it will set the INTERNALDATE on the appended
                            message.  The parameter should be a date string that conforms to the
                            rfc2060 specifications for a date_time value.

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


id: imap_base64
type: function
doc:
<comment>Description:</comment>
  Decode BASE64 encoded text
  
  Decodes the given BASE-64 encoded <strong>$text</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$text</strong>  The encoded text

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

<comment>See Also:</comment>
   * <strong>imap_binary()</strong>
   * <strong>base64_encode()</strong>
   * <strong>base64_decode()</strong>
   * RFC2045, Section 6.8


id: imap_binary
type: function
doc:
<comment>Description:</comment>
  Convert an 8bit string to a base64 string
  
  Convert an 8bit string to a base64 string according to RFC2045, Section 6.8.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  The 8bit string

<comment>Return:</comment>
  <info>string</info>  Returns a base64 encoded string.

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


id: imap_body
type: function
doc:
<comment>Description:</comment>
  Read the message body
  
  <strong>imap_body()</strong> returns the body of the message, numbered <strong>$msg_number</strong> in the current mailbox.
  
  <strong>imap_body()</strong> will only return a verbatim copy of the message body. To extract single parts of a
  multipart MIME-encoded message you have to use <strong>imap_fetchstructure()</strong> to analyze its structure and
  <strong>imap_fetchbody()</strong> to extract a copy of a single body component.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>int     </info>  <strong>$options    </strong>  The optional <strong>$options</strong> are a bit mask with one or more of the following:
                          <info>FT_UID</info> - The <strong>$msg_number</strong> is a UID <info>FT_PEEK</info> - Do not set the \Seen flag if
                          not already set <info>FT_INTERNAL</info> - The return string is in internal format,
                          will not canonicalize to CRLF.
                          
                          <info>FT_UID</info> - The <strong>$msg_number</strong> is a UID
                          
                          <info>FT_PEEK</info> - Do not set the \Seen flag if not already set
                          
                          <info>FT_INTERNAL</info> - The return string is in internal format, will not
                          canonicalize to CRLF.

<comment>Return:</comment>
  <info>string</info>  Returns the body of the specified message, as a string.


id: imap_bodystruct
type: function
doc:
<comment>Description:</comment>
  Read the structure of a specified body section of a specific message
  
  Read the structure of a specified body section of a specific message.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>string  </info>  <strong>$section    </strong>  The body section to read

<comment>Return:</comment>
  <info>object</info>  Returns the information in an object, for a detailed description of the object structure
          and properties see  <strong>imap_fetchstructure()</strong>.

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


id: imap_check
type: function
doc:
<comment>Description:</comment>
  Check current mailbox
  
  Checks information about the current mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>object</info>  Returns the information in an object with following properties: <info>Date</info> - current system time
          formatted according to RFC2822 <info>Driver</info> - protocol used to access this mailbox: POP3, IMAP,
          NNTP <info>Mailbox</info> - the mailbox name <info>Nmsgs</info> - number of messages in the mailbox <info>Recent</info> - number
          of recent messages in the mailbox
          
          <info>Date</info> - current system time formatted according to RFC2822
          
          <info>Driver</info> - protocol used to access this mailbox: POP3, IMAP, NNTP
          
          <info>Mailbox</info> - the mailbox name
          
          <info>Nmsgs</info> - number of messages in the mailbox
          
          <info>Recent</info> - number of recent messages in the mailbox
          
          Returns <info>false</info> on failure.


id: imap_clearflag_full
type: function
doc:
<comment>Description:</comment>
  Clears flags on messages
  
  This function causes a store to delete the specified <strong>$flag</strong> to the flags set for the messages in
  the specified <strong>$sequence</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$sequence   </strong>  A sequence of message numbers. You can enumerate desired messages with the
                          <return>X,Y</return> syntax, or retrieve all messages  within an interval with the <return>X:Y</return>
                          syntax
  <info>string  </info>  <strong>$flag       </strong>  The flags which you can unset are "\\Seen", "\\Answered", "\\Flagged",
                          "\\Deleted", and "\\Draft" (as defined by RFC2060)
  <info>int     </info>  <strong>$options    </strong>  <strong>$options</strong> are a bit mask and may contain the single option: <info>ST_UID</info> - The
                          sequence argument contains UIDs instead of sequence numbers
                          
                          <info>ST_UID</info> - The sequence argument contains UIDs instead of sequence numbers

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


id: imap_close
type: function
doc:
<comment>Description:</comment>
  Close an IMAP stream
  
  Closes the imap stream.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$flag       </strong>  If set to <info>CL_EXPUNGE</info>, the function will silently expunge the mailbox
                          before closing, removing all messages marked for deletion. You can achieve
                          the same thing by using <strong>imap_expunge()</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>imap_open()</strong>


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


id: imap_createmailbox
type: function
doc:
<comment>Description:</comment>
  Create a new mailbox
  
  Creates a new mailbox specified by <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information. Names containing
                          international characters should be encoded by <strong>imap_utf7_encode()</strong>
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

<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>imap_renamemailbox()</strong>
   * <strong>imap_deletemailbox()</strong>


id: imap_delete
type: function
doc:
<comment>Description:</comment>
  Mark a message for deletion from current mailbox
  
  Marks messages listed in <strong>$msg_number</strong> for deletion. Messages marked for deletion will stay in the
  mailbox until either <strong>imap_expunge()</strong> is called or <strong>imap_close()</strong> is called with the optional
  parameter <info>CL_EXPUNGE</info>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>int     </info>  <strong>$options    </strong>  You can set the <info>FT_UID</info> which tells the function to treat the <strong>$msg_number</strong>
                          argument as a <return>UID</return>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info>.

<comment>See Also:</comment>
   * <strong>imap_undelete()</strong>
   * <strong>imap_expunge()</strong>
   * <strong>imap_close()</strong>


id: imap_deletemailbox
type: function
doc:
<comment>Description:</comment>
  Delete a mailbox
  
  Deletes the specified <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

<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>imap_createmailbox()</strong>
   * <strong>imap_renamemailbox()</strong>
   * <strong>imap_open()</strong> for the format of
     <strong>$mbox</strong>
    


id: imap_errors
type: function
doc:
<comment>Description:</comment>
  Returns all of the IMAP errors that have occurred
  
  Gets all of the IMAP errors (if any) that have occurred during this page request or since the
  error stack was reset.
  
  When <strong>imap_errors()</strong> is called, the error stack is subsequently cleared.

<comment>Return:</comment>
  <info>array</info>  This function returns an array of all of the IMAP error messages generated since the last
         <strong>imap_errors()</strong> call, or the beginning of the page. Returns <info>false</info> if no error messages are
         available.

<comment>See Also:</comment>
   * <strong>imap_last_error()</strong>
   * <strong>imap_alerts()</strong>


id: imap_expunge
type: function
doc:
<comment>Description:</comment>
  Delete all messages marked for deletion
  
  Deletes all the messages marked for deletion by  <strong>imap_delete()</strong>, <strong>imap_mail_move()</strong>, or
  <strong>imap_setflag_full()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info>.


id: imap_fetch_overview
type: function
doc:
<comment>Description:</comment>
  Read an overview of the information in the headers of the given message
  
  This function fetches mail headers for the given <strong>$sequence</strong> and returns an overview of their
  contents.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$sequence   </strong>  A message sequence description. You can enumerate desired messages with
                          the <return>X,Y</return> syntax, or retrieve all messages  within an interval with the <return>X:Y</return>
                          syntax
  <info>int     </info>  <strong>$options    </strong>  <strong>$sequence</strong> will contain a sequence of message indices or UIDs, if this
                          parameter is set to  <info>FT_UID</info>.

<comment>Return:</comment>
  <info>array</info>  Returns an array of objects describing one message header each. The object will only define
         a property if it exists. The possible properties are: <return>subject</return> - the messages subject <return>from</return> -
         who sent it <return>to</return> - recipient <return>date</return> - when was it sent <return>message_id</return> - Message-ID <return>references</return> - is
         a reference to this message id <return>in_reply_to</return> - is a reply to this message id <return>size</return> - size in
         bytes <return>uid</return> - UID the message has in the mailbox <return>msgno</return> - message sequence number in the
         mailbox <return>recent</return> - this message is flagged as recent <return>flagged</return> -  this message is flagged
         <return>answered</return> -  this message is flagged as answered <return>deleted</return> -  this message is flagged for
         deletion <return>seen</return> -  this message is flagged as already read <return>draft</return> -  this message is flagged
         as being a draft <return>udate</return> -  the UNIX timestamp of the arrival date
         
         <return>subject</return> - the messages subject
         
         <return>from</return> - who sent it
         
         <return>to</return> - recipient
         
         <return>date</return> - when was it sent
         
         <return>message_id</return> - Message-ID
         
         <return>references</return> - is a reference to this message id
         
         <return>in_reply_to</return> - is a reply to this message id
         
         <return>size</return> - size in bytes
         
         <return>uid</return> - UID the message has in the mailbox
         
         <return>msgno</return> - message sequence number in the mailbox
         
         <return>recent</return> - this message is flagged as recent
         
         <return>flagged</return> -  this message is flagged
         
         <return>answered</return> -  this message is flagged as answered
         
         <return>deleted</return> -  this message is flagged for deletion
         
         <return>seen</return> -  this message is flagged as already read
         
         <return>draft</return> -  this message is flagged as being a draft
         
         <return>udate</return> -  the UNIX timestamp of the arrival date

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


id: imap_fetchbody
type: function
doc:
<comment>Description:</comment>
  Fetch a particular section of the body of the message
  
  Fetch of a particular section of the body of the specified messages.  Body parts are not decoded
  by this function.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>string  </info>  <strong>$section    </strong>  The part number. It is a string of integers delimited by period which
                          index into a body part list as per the IMAP4 specification
  <info>int     </info>  <strong>$options    </strong>  A bitmask with one or more of the following: <info>FT_UID</info> - The <strong>$msg_number</strong> is a
                          UID <info>FT_PEEK</info> - Do not set the \Seen flag if not already set <info>FT_INTERNAL</info> -
                          The return string is in internal format, will not canonicalize to CRLF.
                          
                          <info>FT_UID</info> - The <strong>$msg_number</strong> is a UID
                          
                          <info>FT_PEEK</info> - Do not set the \Seen flag if not already set
                          
                          <info>FT_INTERNAL</info> - The return string is in internal format, will not
                          canonicalize to CRLF.

<comment>Return:</comment>
  <info>string</info>  Returns a particular section of the body of the specified messages as a text string.

<comment>See Also:</comment>
   * <strong>imap_savebody()</strong>
   * <strong>imap_fetchstructure()</strong>


id: imap_fetchheader
type: function
doc:
<comment>Description:</comment>
  Returns header for a message
  
  This function causes a fetch of the complete, unfiltered RFC2822 format header of the specified
  message.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>int     </info>  <strong>$options    </strong>  The possible <strong>$options</strong> are: <info>FT_UID</info> - The <strong>$msgno</strong> argument is a UID
                          <info>FT_INTERNAL</info> - The return string is in "internal" format, without any
                          attempt to canonicalize to CRLF newlines <info>FT_PREFETCHTEXT</info> - The RFC822.TEXT
                          should be pre-fetched at the same time.  This avoids an extra RTT on an
                          IMAP connection if a full message text is desired (e.g. in a "save to
                          local file" operation)
                          
                          <info>FT_UID</info> - The <strong>$msgno</strong> argument is a UID
                          
                          <info>FT_INTERNAL</info> - The return string is in "internal" format, without any
                          attempt to canonicalize to CRLF newlines
                          
                          <info>FT_PREFETCHTEXT</info> - The RFC822.TEXT should be pre-fetched at the same time.
                          This avoids an extra RTT on an IMAP connection if a full message text is
                          desired (e.g. in a "save to local file" operation)

<comment>Return:</comment>
  <info>string</info>  Returns the header of the specified message as a text string.

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


id: imap_fetchmime
type: function
doc:
<comment>Description:</comment>
  Fetch MIME headers for a particular section of the message
  
  Fetch the MIME headers of a particular section of the body of the specified messages.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>string  </info>  <strong>$section    </strong>  The part number. It is a string of integers delimited by period which
                          index into a body part list as per the IMAP4 specification
  <info>int     </info>  <strong>$options    </strong>  A bitmask with one or more of the following: <info>FT_UID</info> - The <strong>$msg_number</strong> is a
                          UID <info>FT_PEEK</info> - Do not set the \Seen flag if not already set <info>FT_INTERNAL</info> -
                          The return string is in internal format, will not canonicalize to CRLF.
                          
                          <info>FT_UID</info> - The <strong>$msg_number</strong> is a UID
                          
                          <info>FT_PEEK</info> - Do not set the \Seen flag if not already set
                          
                          <info>FT_INTERNAL</info> - The return string is in internal format, will not
                          canonicalize to CRLF.

<comment>Return:</comment>
  <info>string</info>  Returns the MIME headers of a particular section of the body of the specified messages as
          a text string.

<comment>See Also:</comment>
   * <strong>imap_fetchbody()</strong>
   * <strong>imap_fetchstructure()</strong>
   * <strong>imap_fetchheader()</strong>


id: imap_fetchstructure
type: function
doc:
<comment>Description:</comment>
  Read the structure of a particular message
  
  Fetches all the structured information for a given message.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>int     </info>  <strong>$options    </strong>  This optional parameter only has a single option,  <info>FT_UID</info>, which tells the
                          function to treat the <strong>$msg_number</strong> argument as a  <return>UID</return>.

<comment>Return:</comment>
  <info>objectfalse</info>  Returns an object with properties listed in the table below,  sau <info>false</info> în cazul
               eșecului.
               
                Returned Object for <strong>imap_fetchstructure()</strong> typePrimary body typeencodingBody transfer
               encodingifsubtype<info>true</info> if there is a subtype stringsubtypeMIME
               subtypeifdescription<info>true</info> if there is a description stringdescriptionContent
               description stringifid<info>true</info> if there is an identification stringidIdentification
               stringlinesNumber of linesbytesNumber of bytesifdisposition<info>true</info> if there is a
               disposition stringdispositionDisposition stringifdparameters<info>true</info> if the dparameters
               array existsdparametersAn array of objects where each object has an <return>"attribute"</return> and a
               <return>"value"</return> property corresponding to the parameters on the <return>Content-disposition</return> MIME
               header.ifparameters<info>true</info> if the parameters array existsparametersAn array of objects
               where each object has an <return>"attribute"</return> and a <return>"value"</return> property.partsAn array of objects
               identical in structure to the top-level object, each of which corresponds to a MIME
               body part.
               
               Primary body type (value may vary with used library, use of constants is
               recommended)ValueTypeConstant0textTYPETEXT1multipartTYPEMULTIPART2messageTYPEMESSAGE3applicationTYPEAPPLICATION4audioTYPEAUDIO5imageTYPEIMAGE6videoTYPEVIDEO7modelTYPEMODEL8otherTYPEOTHER
               
               Transfer encodings (value may vary with used library, use of constants is
               recommended)ValueTypeConstant07bitENC7BIT18bitENC8BIT2BinaryENCBINARY3Base64ENCBASE644Quoted-PrintableENCQUOTEDPRINTABLE5otherENCOTHER

<comment>See Also:</comment>
   * <strong>imap_fetchbody()</strong>
   * <strong>imap_bodystruct()</strong>


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


id: imap_gc
type: function
doc:
<comment>Description:</comment>
  Clears IMAP cache
  
  Purges the cache of entries of a specific type.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$caches     </strong>  Specifies the cache to purge. It may one or a combination of the following
                          constants:  <info>IMAP_GC_ELT</info> (message cache elements),  <info>IMAP_GC_ENV</info> (envelope
                          and bodies), <info>IMAP_GC_TEXTS</info> (texts).

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


id: imap_get_quota
type: function
doc:
<comment>Description:</comment>
  Retrieve the quota level settings, and usage statics per mailbox
  
  Retrieve the quota level settings, and usage statics per mailbox.
  
  For a non-admin user version of this function, please see the <strong>imap_get_quotaroot()</strong> function of
  PHP.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$quota_root </strong>  <strong>$quota_root</strong> should normally be in the form of <return>user.name</return> where name is the
                          mailbox you wish to retrieve information about.

<comment>Return:</comment>
  <info>array</info>  Returns an array with integer values limit and usage for the given mailbox.  The value of
         limit represents the total amount of space allowed for this mailbox.  The usage value
         represents the mailboxes current level of capacity.  Will return <info>false</info> in the case of
         failure.
         
         As of PHP 4.3, the function more properly reflects the functionality as dictated by the
         RFC2087. The array return value has changed to support an unlimited number of returned
         resources (i.e.  messages, or sub-folders) with each named resource receiving an individual
         array key.  Each key value then contains an another array with the usage and limit values
         within it.
         
         For backwards compatibility reasons, the original access methods are still available for
         use, although it is suggested to update.

<comment>See Also:</comment>
   * <strong>imap_open()</strong>
   * <strong>imap_set_quota()</strong>
   * <strong>imap_get_quotaroot()</strong>


id: imap_get_quotaroot
type: function
doc:
<comment>Description:</comment>
  Retrieve the quota settings per user
  
  Retrieve the quota settings per user. The limit value represents the total amount of space allowed
  for this user's total mailbox usage.  The usage value represents the user's current total mailbox
  capacity.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$quota_root </strong>  <strong>$quota_root</strong> should normally be in the form of which mailbox (i.e. INBOX).

<comment>Return:</comment>
  <info>array</info>  Returns an array of integer values pertaining to the specified user mailbox.  All values
         contain a key based upon the resource name, and a corresponding array with the usage and
         limit values within.
         
         This function will return <info>false</info> in the case of call failure, and an array of information
         about the connection upon an un-parsable response from the server.

<comment>See Also:</comment>
   * <strong>imap_open()</strong>
   * <strong>imap_set_quota()</strong>
   * <strong>imap_get_quota()</strong>


id: imap_getacl
type: function
doc:
<comment>Description:</comment>
  Gets the ACL for a given mailbox
  
  Gets the ACL for a given mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

<comment>Return:</comment>
  <info>array</info>  Returns an associative array of "folder" =&gt; "acl" pairs.

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


id: imap_getmailboxes
type: function
doc:
<comment>Description:</comment>
  Read the list of mailboxes, returning detailed information on each one
  
  Gets information on the mailboxes.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$ref        </strong>  <strong>$ref</strong> should normally be just the server specification as described in
                          <strong>imap_open()</strong>
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$pattern    </strong>  Specifică
                          poziția în ierarhia cutiilor poștale de unde va începe căutarea.
                          
                          Sunt două caractere speciale pe
                          care puteți să le transmiteți în cadrul <strong>$pattern</strong>:
                          '<return>*</return>' și '<return>%</return>'.
                          '<return>*</return>' înseamnă a returna toate cutiile poștale.
                          Dacă transmiteți <strong>$pattern</strong> ca '<return>*</return>',
                          veți obține o listă a întregii ierarhii a cutiilor poștale.
                          '<return>%</return>' înseamnă a întoarce doar nivelul curent.
                          '<return>%</return>' în calitate de <strong>$pattern</strong>
                          va întoarce doar cutiile poștale de la nivelul superior;
                          '<return>~/mail/%</return>' pe <return>UW_IMAPD</return>
                          va întoarce toate cutiile poștale în directorul ~/mail,
                          dar nici una din submapele acstui director.

<comment>Return:</comment>
  <info>array</info>  Returns an array of objects containing mailbox information. Each object has the attributes
         <strong>$name</strong>, specifying the full name of the mailbox; <strong>$delimiter</strong>, which is the hierarchy
         delimiter for the part of the hierarchy this mailbox is in; and <strong>$attributes</strong>. <strong>$Attributes</strong> is
         a bitmask that can be tested against: <info>LATT_NOINFERIORS</info> - This mailbox not contains, and may
         not contain any "children" (there are no mailboxes below this one). Calling
         <strong>imap_createmailbox()</strong> will not work on this mailbox. <info>LATT_NOSELECT</info> - This is only a
         container, not a mailbox - you cannot open it. <info>LATT_MARKED</info> - This mailbox is marked. This
         means that it may  contain new messages since the last time it was checked. Not provided by
         all IMAP servers. <info>LATT_UNMARKED</info> - This mailbox is not marked, does not contain new
         messages.  If either <info>MARKED</info> or <info>UNMARKED</info> is provided, you can assume the IMAP server
         supports this feature for this mailbox. <info>LATT_REFERRAL</info> - This container has a referral to a
         remote mailbox. <info>LATT_HASCHILDREN</info> - This mailbox has selectable inferiors.
         <info>LATT_HASNOCHILDREN</info> - This mailbox has no selectable inferiors.
         
         <info>LATT_NOINFERIORS</info> - This mailbox not contains, and may not contain any "children" (there are
         no mailboxes below this one). Calling  <strong>imap_createmailbox()</strong> will not work on this mailbox.
         
         <info>LATT_NOSELECT</info> - This is only a container, not a mailbox - you cannot open it.
         
         <info>LATT_MARKED</info> - This mailbox is marked. This means that it may  contain new messages since
         the last time it was checked. Not provided by all IMAP servers.
         
         <info>LATT_UNMARKED</info> - This mailbox is not marked, does not contain new messages.  If either
         <info>MARKED</info> or <info>UNMARKED</info> is provided, you can assume the IMAP server  supports this feature for
         this mailbox.
         
         <info>LATT_REFERRAL</info> - This container has a referral to a remote mailbox.
         
         <info>LATT_HASCHILDREN</info> - This mailbox has selectable inferiors.
         
         <info>LATT_HASNOCHILDREN</info> - This mailbox has no selectable inferiors.

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


id: imap_getsubscribed
type: function
doc:
<comment>Description:</comment>
  List all the subscribed mailboxes
  
  Gets information about the subscribed mailboxes.
  
  Identical to <strong>imap_getmailboxes()</strong>, except that it only returns mailboxes that the user is
  subscribed to.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$ref        </strong>  <strong>$ref</strong> should normally be just the server specification as described in
                          <strong>imap_open()</strong>
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$pattern    </strong>  Specifică
                          poziția în ierarhia cutiilor poștale de unde va începe căutarea.
                          
                          Sunt două caractere speciale pe
                          care puteți să le transmiteți în cadrul <strong>$pattern</strong>:
                          '<return>*</return>' și '<return>%</return>'.
                          '<return>*</return>' înseamnă a returna toate cutiile poștale.
                          Dacă transmiteți <strong>$pattern</strong> ca '<return>*</return>',
                          veți obține o listă a întregii ierarhii a cutiilor poștale.
                          '<return>%</return>' înseamnă a întoarce doar nivelul curent.
                          '<return>%</return>' în calitate de <strong>$pattern</strong>
                          va întoarce doar cutiile poștale de la nivelul superior;
                          '<return>~/mail/%</return>' pe <return>UW_IMAPD</return>
                          va întoarce toate cutiile poștale în directorul ~/mail,
                          dar nici una din submapele acstui director.

<comment>Return:</comment>
  <info>array</info>  Returns an array of objects containing mailbox information. Each object has the attributes
         <strong>$name</strong>, specifying the full name of the mailbox; <strong>$delimiter</strong>, which is the hierarchy
         delimiter for the part of the hierarchy this mailbox is in; and <strong>$attributes</strong>. <strong>$Attributes</strong> is
         a bitmask that can be tested against: <info>LATT_NOINFERIORS</info> - This mailbox has no "children"
         (there are no mailboxes below this one). <info>LATT_NOSELECT</info> - This is only a container, not a
         mailbox - you cannot open it. <info>LATT_MARKED</info> - This mailbox is marked. Only used by UW-IMAPD.
         <info>LATT_UNMARKED</info> - This mailbox is not marked. Only used by UW-IMAPD. <info>LATT_REFERRAL</info> - This
         container has a referral to a remote mailbox. <info>LATT_HASCHILDREN</info> - This mailbox has
         selectable inferiors. <info>LATT_HASNOCHILDREN</info> - This mailbox has no selectable inferiors.
         
         <info>LATT_NOINFERIORS</info> - This mailbox has no "children" (there are no mailboxes below this one).
         
         <info>LATT_NOSELECT</info> - This is only a container, not a mailbox - you cannot open it.
         
         <info>LATT_MARKED</info> - This mailbox is marked. Only used by UW-IMAPD.
         
         <info>LATT_UNMARKED</info> - This mailbox is not marked. Only used by UW-IMAPD.
         
         <info>LATT_REFERRAL</info> - This container has a referral to a remote mailbox.
         
         <info>LATT_HASCHILDREN</info> - This mailbox has selectable inferiors.
         
         <info>LATT_HASNOCHILDREN</info> - This mailbox has no selectable inferiors.


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


id: imap_headerinfo
type: function
doc:
<comment>Description:</comment>
  Read the header of the message
  
  Gets information about the given message number by reading its headers.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream  </strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number   </strong>  The message number
  <info>int     </info>  <strong>$fromlength   </strong>  Number of characters for the <return>fetchfrom</return> property. Must be greater than or
                            equal to zero.
  <info>int     </info>  <strong>$subjectlength</strong>  Number of characters for the <return>fetchsubject</return> property Must be greater than
                            or equal to zero.
  <info>string  </info>  <strong>$defaulthost  </strong>  

<comment>Return:</comment>
  <info>object</info>  Returns <info>false</info> on error or, if successful, the information in an object with following
          properties:  toaddress - full to: line, up to 1024 characters  to - an array of objects
          from the To: line, with the following  properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>
          fromaddress - full from: line, up to 1024 characters  from - an array of objects from the
          From: line, with the following  properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>  ccaddress -
          full cc: line, up to 1024 characters  cc - an array of objects from the Cc: line, with the
          following  properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>  bccaddress - full bcc: line, up
          to 1024 characters  bcc - an array of objects from the Bcc: line, with the following
          properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>  reply_toaddress - full Reply-To: line, up to
          1024 characters  reply_to - an array of objects from the Reply-To: line, with the
          following properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>  senderaddress - full sender: line,
          up to 1024 characters  sender - an array of objects from the Sender: line, with the
          following  properties: <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>  return_pathaddress - full
          Return-Path: line, up to 1024 characters  return_path - an array of objects from the
          Return-Path: line, with the following properties: <return>personal</return>,  <return>adl</return>, <return>mailbox</return>, and  <return>host</return>
          remail -   date - The message date as found in its headers  Date - Same as date  subject -
          The message subject  Subject - Same as subject   in_reply_to -   message_id -   newsgroups
          -   followup_to -   references -   Recent - <return>R</return> if recent and seen, <return>N</return> if recent and not
          seen, ' ' if not recent.  Unseen - <return>U</return> if not seen AND not recent, ' ' if seen OR not seen
          and recent  Flagged - <return>F</return> if flagged, ' ' if not flagged  Answered - <return>A</return> if answered, ' ' if
          unanswered  Deleted - <return>D</return> if deleted, ' ' if not deleted  Draft - <return>X</return> if draft, ' ' if not
          draft  Msgno - The message number  MailDate -   Size - The message size  udate - mail
          message date in Unix time  fetchfrom - from line formatted to fit <strong>$fromlength</strong> characters
          fetchsubject - subject line formatted to fit  <strong>$subjectlength</strong> characters
          
          toaddress - full to: line, up to 1024 characters
          
          to - an array of objects from the To: line, with the following  properties: <return>personal</return>, <return>adl</return>,
          <return>mailbox</return>, and <return>host</return>
          
          fromaddress - full from: line, up to 1024 characters
          
          from - an array of objects from the From: line, with the following  properties: <return>personal</return>,
          <return>adl</return>, <return>mailbox</return>, and <return>host</return>
          
          ccaddress - full cc: line, up to 1024 characters
          
          cc - an array of objects from the Cc: line, with the following  properties: <return>personal</return>, <return>adl</return>,
          <return>mailbox</return>, and <return>host</return>
          
          bccaddress - full bcc: line, up to 1024 characters
          
          bcc - an array of objects from the Bcc: line, with the following  properties: <return>personal</return>,
          <return>adl</return>, <return>mailbox</return>, and <return>host</return>
          
          reply_toaddress - full Reply-To: line, up to 1024 characters
          
          reply_to - an array of objects from the Reply-To: line, with the following properties:
          <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>
          
          senderaddress - full sender: line, up to 1024 characters
          
          sender - an array of objects from the Sender: line, with the following  properties:
          <return>personal</return>, <return>adl</return>, <return>mailbox</return>, and <return>host</return>
          
          return_pathaddress - full Return-Path: line, up to 1024 characters
          
          return_path - an array of objects from the Return-Path: line, with the following
          properties: <return>personal</return>,  <return>adl</return>, <return>mailbox</return>, and  <return>host</return>
          
          remail -
          
          date - The message date as found in its headers
          
          Date - Same as date
          
          subject - The message subject
          
          Subject - Same as subject
          
          in_reply_to -
          
          message_id -
          
          newsgroups -
          
          followup_to -
          
          references -
          
          Recent - <return>R</return> if recent and seen, <return>N</return> if recent and not seen, ' ' if not recent.
          
          Unseen - <return>U</return> if not seen AND not recent, ' ' if seen OR not seen and recent
          
          Flagged - <return>F</return> if flagged, ' ' if not flagged
          
          Answered - <return>A</return> if answered, ' ' if unanswered
          
          Deleted - <return>D</return> if deleted, ' ' if not deleted
          
          Draft - <return>X</return> if draft, ' ' if not draft
          
          Msgno - The message number
          
          MailDate -
          
          Size - The message size
          
          udate - mail message date in Unix time
          
          fetchfrom - from line formatted to fit <strong>$fromlength</strong> characters
          
          fetchsubject - subject line formatted to fit  <strong>$subjectlength</strong> characters

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


id: imap_headers
type: function
doc:
<comment>Description:</comment>
  Returns headers for all messages in a mailbox
  
  Returns headers for all messages in a mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>array</info>  Returns an array of string formatted with header info. One element per mail message.


id: imap_last_error
type: function
doc:
<comment>Description:</comment>
  Gets the last IMAP error that occurred during this page request
  
  Gets the full text of the last IMAP error message that occurred on the current page. The error
  stack is untouched; calling  <strong>imap_last_error()</strong> subsequently, with no intervening errors, will
  return the same error.

<comment>Return:</comment>
  <info>string</info>  Returns the full text of the last IMAP error message that occurred on the current page.
          Returns <info>false</info> if no error messages are available.

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


id: imap_list
type: function
doc:
<comment>Description:</comment>
  Read the list of mailboxes
  
  Read the list of mailboxes.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$ref        </strong>  <strong>$ref</strong> should normally be just the server specification as described in
                          <strong>imap_open()</strong>.
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$pattern    </strong>  Specifică
                          poziția în ierarhia cutiilor poștale de unde va începe căutarea.
                          
                          Sunt două caractere speciale pe
                          care puteți să le transmiteți în cadrul <strong>$pattern</strong>:
                          '<return>*</return>' și '<return>%</return>'.
                          '<return>*</return>' înseamnă a returna toate cutiile poștale.
                          Dacă transmiteți <strong>$pattern</strong> ca '<return>*</return>',
                          veți obține o listă a întregii ierarhii a cutiilor poștale.
                          '<return>%</return>' înseamnă a întoarce doar nivelul curent.
                          '<return>%</return>' în calitate de <strong>$pattern</strong>
                          va întoarce doar cutiile poștale de la nivelul superior;
                          '<return>~/mail/%</return>' pe <return>UW_IMAPD</return>
                          va întoarce toate cutiile poștale în directorul ~/mail,
                          dar nici una din submapele acstui director.

<comment>Return:</comment>
  <info>array</info>  Returns an array containing the names of the mailboxes or false in case of failure.

<comment>See Also:</comment>
   * <strong>imap_getmailboxes()</strong>
   * <strong>imap_lsub()</strong>


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


id: imap_listscan
type: function
doc:
<comment>Description:</comment>
  Returns the list of mailboxes that matches the given text
  
  Returns an array containing the names of the mailboxes that have <strong>$content</strong> in the text of the
  mailbox.
  
  This function is similar to <strong>imap_listmailbox()</strong>, but it will additionally check for the presence of
  the string <strong>$content</strong> inside the mailbox data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$ref        </strong>  <strong>$ref</strong> should normally be just the server  specification as described in
                          <strong>imap_open()</strong>
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$pattern    </strong>  Specifică
                          poziția în ierarhia cutiilor poștale de unde va începe căutarea.
                          
                          Sunt două caractere speciale pe
                          care puteți să le transmiteți în cadrul <strong>$pattern</strong>:
                          '<return>*</return>' și '<return>%</return>'.
                          '<return>*</return>' înseamnă a returna toate cutiile poștale.
                          Dacă transmiteți <strong>$pattern</strong> ca '<return>*</return>',
                          veți obține o listă a întregii ierarhii a cutiilor poștale.
                          '<return>%</return>' înseamnă a întoarce doar nivelul curent.
                          '<return>%</return>' în calitate de <strong>$pattern</strong>
                          va întoarce doar cutiile poștale de la nivelul superior;
                          '<return>~/mail/%</return>' pe <return>UW_IMAPD</return>
                          va întoarce toate cutiile poștale în directorul ~/mail,
                          dar nici una din submapele acstui director.
  <info>string  </info>  <strong>$content    </strong>  The searched string

<comment>Return:</comment>
  <info>array</info>  Returns an array containing the names of the mailboxes that have <strong>$content</strong> in the text of
         the mailbox.

<comment>See Also:</comment>
   * <strong>imap_listmailbox()</strong>
   * <strong>imap_search()</strong>


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


id: imap_lsub
type: function
doc:
<comment>Description:</comment>
  List all the subscribed mailboxes
  
  Gets an array of all the mailboxes that you have subscribed.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$ref        </strong>  <strong>$ref</strong> should normally be just the server  specification as described in
                          <strong>imap_open()</strong>
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$pattern    </strong>  Specifică
                          poziția în ierarhia cutiilor poștale de unde va începe căutarea.
                          
                          Sunt două caractere speciale pe
                          care puteți să le transmiteți în cadrul <strong>$pattern</strong>:
                          '<return>*</return>' și '<return>%</return>'.
                          '<return>*</return>' înseamnă a returna toate cutiile poștale.
                          Dacă transmiteți <strong>$pattern</strong> ca '<return>*</return>',
                          veți obține o listă a întregii ierarhii a cutiilor poștale.
                          '<return>%</return>' înseamnă a întoarce doar nivelul curent.
                          '<return>%</return>' în calitate de <strong>$pattern</strong>
                          va întoarce doar cutiile poștale de la nivelul superior;
                          '<return>~/mail/%</return>' pe <return>UW_IMAPD</return>
                          va întoarce toate cutiile poștale în directorul ~/mail,
                          dar nici una din submapele acstui director.

<comment>Return:</comment>
  <info>array</info>  Returns an array of all the subscribed mailboxes.

<comment>See Also:</comment>
   * <strong>imap_list()</strong>
   * <strong>imap_getmailboxes()</strong>


id: imap_mail
type: function
doc:
<comment>Description:</comment>
  Send an email message
  
  This function allows sending of emails with correct handling of Cc and Bcc receivers.
  
  The parameters <strong>$to</strong>, <strong>$cc</strong> and <strong>$bcc</strong> are all strings and are all parsed as RFC822 address lists.

<comment>Param:</comment>
  <info>string</info>  <strong>$to                </strong>  The receiver
  <info>string</info>  <strong>$subject           </strong>  The mail subject
  <info>string</info>  <strong>$message           </strong>  The mail body, see <strong>imap_mail_compose()</strong>
  <info>string</info>  <strong>$additional_headers</strong>  As string with additional headers to be set on the mail
  <info>string</info>  <strong>$cc                </strong>  
  <info>string</info>  <strong>$bcc               </strong>  The receivers specified in <strong>$bcc</strong> will get the mail, but are excluded
                               from the headers.
  <info>string</info>  <strong>$rpath             </strong>  Use this parameter to specify return path upon mail delivery failure.
                               This is useful when using PHP as a mail client for multiple users.

<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>mail()</strong>
   * <strong>imap_mail_compose()</strong>


id: imap_mail_compose
type: function
doc:
<comment>Description:</comment>
  Create a MIME message based on given envelope and body sections
  
  Create a MIME message based on the given <strong>$envelope</strong> and <strong>$body</strong> sections.

<comment>Param:</comment>
  <info>array</info>  <strong>$envelope</strong>  An associative array of header fields. Valid keys are: <return>"remail"</return>, <return>"return_path"</return>,
                    <return>"date"</return>, <return>"from"</return>, <return>"reply_to"</return>, <return>"in_reply_to"</return>, <return>"subject"</return>, <return>"to"</return>, <return>"cc"</return>, <return>"bcc"</return> and
                    <return>"message_id"</return>, which set the respective message headers to the given <info>string</info>. To
                    set additional headers, the key <return>"custom_headers"</return> is supported, which expects an
                    array of those headers, e.g. ["User-Agent: My Mail Client"].
  <info>array</info>  <strong>$body    </strong>  An indexed array of bodies. The first body is the main body of the message; only
                    if it has a type of <info>TYPEMULTIPART</info>, further bodies are processed; these bodies
                    constitute the bodies of the parts.
                    
                    Body Array StructureKeyTypeDescription<return>type</return><info>int</info> The MIME type. One of <info>TYPETEXT</info>
                    (default), <info>TYPEMULTIPART</info>, <info>TYPEMESSAGE</info>, <info>TYPEAPPLICATION</info>, <info>TYPEAUDIO</info>, <info>TYPEIMAGE</info>,
                    <info>TYPEMODEL</info> or <info>TYPEOTHER</info>. <return>encoding</return><info>int</info> The <return>Content-Transfer-Encoding</return>. One of
                    <info>ENC7BIT</info> (default), <info>ENC8BIT</info>, <info>ENCBINARY</info>, <info>ENCBASE64</info>, <info>ENCQUOTEDPRINTABLE</info> or
                    <info>ENCOTHER</info>. <return>charset</return><info>string</info>The charset parameter of the MIME
                    type.<return>type.parameters</return><info>array</info>An associative <info>array</info> of <return>Content-Type</return> parameter names
                    and their values.<return>subtype</return><info>string</info>The MIME subtype, e.g. <return>'jpeg'</return> for
                    <info>TYPEIMAGE</info>.<return>id</return><info>string</info>The <return>Content-ID</return>.<return>description</return><info>string</info>The
                    <return>Content-Description</return>.<return>disposition.type</return><info>string</info>The <return>Content-Disposition</return>, e.g.
                    <return>'attachment'</return>.<return>disposition</return><info>array</info>An associative <info>array</info> of <return>Content-Disposition</return>
                    parameter names and values.<return>contents.data</return><info>string</info>The payload.<return>lines</return><info>int</info>The size of
                    the payload in lines.<return>bytes</return><info>int</info>The size of the payload in bytes.<return>md5</return><info>string</info>The MD5
                    checksum of the payload.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the MIME message as <info>string</info>,  sau <info>false</info> în cazul eșecului.


id: imap_mail_copy
type: function
doc:
<comment>Description:</comment>
  Copy specified messages to a mailbox
  
  Copies mail messages specified by <strong>$msglist</strong> to specified mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$msglist    </strong>  <strong>$msglist</strong> is a range not just message numbers (as described in RFC2060).
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>int     </info>  <strong>$options    </strong>  <strong>$options</strong> is a bitmask of one or more of <info>CP_UID</info> - the sequence numbers
                          contain UIDS <info>CP_MOVE</info> - Delete the messages from the current mailbox after
                          copying
                          
                          <info>CP_UID</info> - the sequence numbers contain UIDS
                          
                          <info>CP_MOVE</info> - Delete the messages from the current mailbox after copying

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


id: imap_mail_move
type: function
doc:
<comment>Description:</comment>
  Move specified messages to a mailbox
  
  Moves mail messages specified by <strong>$msglist</strong> to the specified <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$msglist    </strong>  <strong>$msglist</strong> is a range not just message numbers (as described in RFC2060).
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>int     </info>  <strong>$options    </strong>  <strong>$options</strong> is a bitmask and may contain the single option: <info>CP_UID</info> - the
                          sequence numbers contain UIDS
                          
                          <info>CP_UID</info> - the sequence numbers contain UIDS

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


id: imap_mailboxmsginfo
type: function
doc:
<comment>Description:</comment>
  Get information about the current mailbox
  
  Checks the current mailbox status on the server. It is similar to <strong>imap_status()</strong>, but will
  additionally sum up the size of all messages in the mailbox, which will take some additional time
  to  execute.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>object</info>  Returns the information in an object with following properties: Mailbox propertiesDatedate
          of last change (current datetime)DriverdriverMailboxname of the mailboxNmsgsnumber of
          messagesRecentnumber of recent messagesUnreadnumber of unread messagesDeletednumber of
          deleted messagesSizemailbox size
          
          Returns <info>false</info> on failure.


id: imap_mime_header_decode
type: function
doc:
<comment>Description:</comment>
  Decode MIME header elements
  
  Decodes MIME message header extensions that are non ASCII text (see RFC2047).

<comment>Param:</comment>
  <info>string</info>  <strong>$text</strong>  The MIME text

<comment>Return:</comment>
  <info>array</info>  The decoded elements are returned in an array of objects, where each object has two
         properties, <return>charset</return> and  <return>text</return>.
         
         If the element hasn't been encoded, and in other words is in plain US-ASCII, the <return>charset</return>
         property of that element is set to <return>default</return>.

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


id: imap_msgno
type: function
doc:
<comment>Description:</comment>
  Gets the message sequence number for the given UID
  
  Returns the message sequence number for the given  <strong>$uid</strong>.
  
  This function is the inverse of <strong>imap_uid()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$uid        </strong>  The message UID

<comment>Return:</comment>
  <info>int</info>  Returns the message sequence number for the given  <strong>$uid</strong>.

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


id: imap_mutf7_to_utf8
type: function
doc:
<comment>Description:</comment>
  Decode a modified UTF-7 string to UTF-8
  
  Decode a modified UTF-7 (as specified in RFC 2060, section 5.1.3) string to UTF-8.
  
  This function is only available, if libcclient exports utf8_to_mutf7().

<comment>Param:</comment>
  <info>string</info>  <strong>$in</strong>  A string encoded in modified UTF-7.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns <strong>$in</strong> converted to UTF-8, sau <info>false</info> în cazul eșecului.

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


id: imap_num_msg
type: function
doc:
<comment>Description:</comment>
  Gets the number of messages in the current mailbox
  
  Gets the number of messages in the current mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>int</info>  Return the number of messages in the current mailbox, as an integer, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>imap_num_recent()</strong>
   * <strong>imap_status()</strong>


id: imap_num_recent
type: function
doc:
<comment>Description:</comment>
  Gets the number of recent messages in current mailbox
  
  Gets the number of recent messages in the current mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>int</info>  Returns the number of recent messages in the current mailbox, as an integer.

<comment>See Also:</comment>
   * <strong>imap_num_msg()</strong>
   * <strong>imap_status()</strong>


id: imap_open
type: function
doc:
<comment>Description:</comment>
  Open an IMAP stream to a mailbox
  
  Opens an IMAP stream to a <strong>$mailbox</strong>.
  
  This function can also be used to open streams to POP3 and NNTP servers, but some functions and
  features are only available on IMAP servers.

<comment>Param:</comment>
  <info>string</info>  <strong>$mailbox  </strong>  A mailbox name consists of a server and a mailbox path on this server. The
                      special name <return>INBOX</return> stands for the current users personal mailbox. Mailbox
                      names that contain international characters besides those in the printable
                      ASCII space have to be encoded with <strong>imap_utf7_encode()</strong>.
                      
                      Transmiterea datelor neverificate către acest parametru este
                      primejdioasă, doar dacă nu a fost dezactivată opțiunea
                      imap.enable_insecure_rsh.
                      
                      The server part, which is enclosed in '{' and '}', consists of the servers
                      name or ip address, an optional port (prefixed by ':'), and an optional
                      protocol specification (prefixed by '/').
                      
                      The server part is mandatory in all mailbox parameters.
                      
                      All names which start with <return>{</return> are remote names, and are in the form <return>"{"
                      remote_system_name [":" port] [flags] "}" [mailbox_name]</return> where:
                      <return>remote_system_name</return> - Internet domain name or bracketed IP address of server.
                      <return>port</return> - optional TCP port number, default is the default port for that service
                      <return>flags</return> - optional flags, see following table. <return>mailbox_name</return> - remote mailbox
                      name, default is INBOX
                      
                      <return>remote_system_name</return> - Internet domain name or bracketed IP address of server.
                      
                      <return>port</return> - optional TCP port number, default is the default port for that service
                      
                      <return>flags</return> - optional flags, see following table.
                      
                      <return>mailbox_name</return> - remote mailbox name, default is INBOX
                      
                      Optional flags for namesFlagDescription<return>/service=</return>servicemailbox access service,
                      default is "imap"<return>/user=</return>userremote user name for login on the
                      server<return>/authuser=</return>userremote authentication user; if specified this is the user
                      name whose password is used (e.g. administrator)<return>/anonymous</return>remote access as
                      anonymous user<return>/debug</return>record protocol telemetry in application's debug
                      log<return>/secure</return>do not transmit a plaintext password over the network<return>/imap</return>, <return>/imap2</return>,
                      <return>/imap2bis</return>, <return>/imap4</return>, <return>/imap4rev1</return>equivalent to <return>/service=imap</return><return>/pop3</return>equivalent to
                      <return>/service=pop3</return><return>/nntp</return>equivalent to <return>/service=nntp</return><return>/norsh</return>do not use rsh or ssh to
                      establish a preauthenticated IMAP session<return>/ssl</return>use the <return>Secure Socket Layer</return> to
                      encrypt the session<return>/validate-cert</return>validate certificates from TLS/SSL server
                      (this is the default behavior)<return>/novalidate-cert</return>do not validate certificates
                      from TLS/SSL server, needed if server uses self-signed certificates<return>/tls</return>force
                      use of <return>start-TLS</return> to encrypt the session, and reject connection to servers that
                      do not support it<return>/notls</return>do not do <return>start-TLS</return> to encrypt the session, even with
                      servers that support it<return>/readonly</return>request read-only mailbox open (IMAP only;
                      ignored on NNTP, and an error with SMTP and POP3)
  <info>string</info>  <strong>$username </strong>  The user name
  <info>string</info>  <strong>$password </strong>  The password associated with the <strong>$username</strong>
  <info>int   </info>  <strong>$options  </strong>  The <strong>$options</strong> are a bit mask with one or more of the following: <info>OP_READONLY</info> -
                      Open mailbox read-only <info>OP_ANONYMOUS</info> - Don't use or update a .newsrc for news
                      (NNTP only) <info>OP_HALFOPEN</info> - For IMAP and NNTP names, open a connection but don't
                      open a mailbox. <info>CL_EXPUNGE</info> - Expunge mailbox automatically upon mailbox close
                      (see also <strong>imap_delete()</strong> and <strong>imap_expunge()</strong>) <info>OP_DEBUG</info> - Debug protocol
                      negotiations <info>OP_SHORTCACHE</info> - Short (<return>elt</return>-only) caching <info>OP_SILENT</info> - Don't pass
                      up events (internal use) <info>OP_PROTOTYPE</info> - Return driver prototype <info>OP_SECURE</info> -
                      Don't do non-secure authentication
                      
                      <info>OP_READONLY</info> - Open mailbox read-only
                      
                      <info>OP_ANONYMOUS</info> - Don't use or update a .newsrc for news (NNTP only)
                      
                      <info>OP_HALFOPEN</info> - For IMAP and NNTP names, open a connection but don't open a
                      mailbox.
                      
                      <info>CL_EXPUNGE</info> - Expunge mailbox automatically upon mailbox close (see also
                      <strong>imap_delete()</strong> and <strong>imap_expunge()</strong>)
                      
                      <info>OP_DEBUG</info> - Debug protocol negotiations
                      
                      <info>OP_SHORTCACHE</info> - Short (<return>elt</return>-only) caching
                      
                      <info>OP_SILENT</info> - Don't pass up events (internal use)
                      
                      <info>OP_PROTOTYPE</info> - Return driver prototype
                      
                      <info>OP_SECURE</info> - Don't do non-secure authentication
  <info>int   </info>  <strong>$n_retries</strong>  Number of maximum connect attempts
  <info>array </info>  <strong>$params   </strong>  Connection parameters, the following (string) keys maybe used  to set one or
                      more connection parameters: <return>DISABLE_AUTHENTICATOR</return> - Disable authentication
                      properties
                      
                      <return>DISABLE_AUTHENTICATOR</return> - Disable authentication properties

<comment>Return:</comment>
  <info>resource</info>  Returns an IMAP stream on success or <info>false</info> on error.

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


id: imap_ping
type: function
doc:
<comment>Description:</comment>
  Check if the IMAP stream is still active
  
  <strong>imap_ping()</strong> pings the stream to see if it's still active. It may discover new mail; this is the
  preferred method for a periodic "new mail check" as well as a "keep alive" for servers which have
  inactivity timeout.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the stream is still alive, <info>false</info> otherwise.


id: imap_qprint
type: function
doc:
<comment>Description:</comment>
  Convert a quoted-printable string to an 8 bit string
  
  Convert a quoted-printable string to an 8 bit string according to RFC2045, section 6.7.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  A quoted-printable string

<comment>Return:</comment>
  <info>string</info>  Returns an 8 bits string.

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


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


id: imap_renamemailbox
type: function
doc:
<comment>Description:</comment>
  Rename an old mailbox to new mailbox
  
  This function renames on old mailbox to new mailbox (see <strong>imap_open()</strong> for the format of <strong>$mbox</strong>
  names).

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$old_mbox   </strong>  The old mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$new_mbox   </strong>  The new mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

<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>imap_createmailbox()</strong>
   * <strong>imap_deletemailbox()</strong>


id: imap_reopen
type: function
doc:
<comment>Description:</comment>
  Reopen IMAP stream to new mailbox
  
  Reopens the specified stream to a new <strong>$mailbox</strong> on an IMAP or NNTP server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>int     </info>  <strong>$options    </strong>  The <strong>$options</strong> are a bit mask with one or more of the following: <info>OP_READONLY</info>
                          - Open mailbox read-only <info>OP_ANONYMOUS</info> - Don't use or update a .newsrc for
                          news (NNTP only) <info>OP_HALFOPEN</info> - For IMAP and NNTP names, open a connection
                          but don't open a mailbox. <info>OP_EXPUNGE</info> - Silently expunge recycle stream
                          <info>CL_EXPUNGE</info> - Expunge mailbox automatically upon mailbox close (see also
                          <strong>imap_delete()</strong> and <strong>imap_expunge()</strong>)
                          
                          <info>OP_READONLY</info> - Open mailbox read-only
                          
                          <info>OP_ANONYMOUS</info> - Don't use or update a .newsrc for news (NNTP only)
                          
                          <info>OP_HALFOPEN</info> - For IMAP and NNTP names, open a connection but don't open a
                          mailbox.
                          
                          <info>OP_EXPUNGE</info> - Silently expunge recycle stream
                          
                          <info>CL_EXPUNGE</info> - Expunge mailbox automatically upon mailbox close (see also
                          <strong>imap_delete()</strong> and <strong>imap_expunge()</strong>)
  <info>int     </info>  <strong>$n_retries  </strong>  Number of maximum connect attempts

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the stream is reopened, <info>false</info> otherwise.


id: imap_rfc822_parse_adrlist
type: function
doc:
<comment>Description:</comment>
  Parses an address string
  
  Parses the address string as defined in RFC2822 and for each address.

<comment>Param:</comment>
  <info>string</info>  <strong>$address     </strong>  A string containing addresses
  <info>string</info>  <strong>$default_host</strong>  The default host name

<comment>Return:</comment>
  <info>array</info>  Returns an array of objects. The objects properties are:
         
          mailbox  - the mailbox name (username)  host - the host name  personal - the personal name
         adl - at domain source route
         
         mailbox  - the mailbox name (username)
         
         host - the host name
         
         personal - the personal name
         
         adl - at domain source route

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


id: imap_rfc822_parse_headers
type: function
doc:
<comment>Description:</comment>
  Parse mail headers from a string
  
  Gets an object of various header elements, similar to  <strong>imap_header()</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$headers    </strong>  The parsed headers data
  <info>string</info>  <strong>$defaulthost</strong>  The default host name

<comment>Return:</comment>
  <info>object</info>  Returns an object similar to the one returned by <strong>imap_header()</strong>, except for the flags and
          other  properties that come from the IMAP server.

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


id: imap_rfc822_write_address
type: function
doc:
<comment>Description:</comment>
  Returns a properly formatted email address given the mailbox, host, and personal info
  
  Returns a properly formatted email address as defined in RFC2822 given the needed information.

<comment>Param:</comment>
  <info>string</info>  <strong>$mailbox </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                     
                     Transmiterea datelor neverificate către acest parametru este
                     primejdioasă, doar dacă nu a fost dezactivată opțiunea
                     imap.enable_insecure_rsh.
  <info>string</info>  <strong>$host    </strong>  The email host part
  <info>string</info>  <strong>$personal</strong>  The name of the account owner

<comment>Return:</comment>
  <info>string</info>  Returns a string properly formatted email address as defined in RFC2822.


id: imap_savebody
type: function
doc:
<comment>Description:</comment>
  Save a specific body section to a file
  
  Saves a part or the whole body of the specified message.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>mixed   </info>  <strong>$file       </strong>  The path to the saved file as a string, or a valid file descriptor
                          returned by <strong>fopen()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <info>string  </info>  <strong>$part_number</strong>  The part number. It is a string of integers delimited by period which
                          index into a body part list as per the IMAP4 specification
  <info>int     </info>  <strong>$options    </strong>  A bitmask with one or more of the following: <info>FT_UID</info> - The <strong>$msg_number</strong> is a
                          UID <info>FT_PEEK</info> - Do not set the \Seen flag if not already set <info>FT_INTERNAL</info> -
                          The return string is in internal format, will not canonicalize to CRLF.
                          
                          <info>FT_UID</info> - The <strong>$msg_number</strong> is a UID
                          
                          <info>FT_PEEK</info> - Do not set the \Seen flag if not already set
                          
                          <info>FT_INTERNAL</info> - The return string is in internal format, will not
                          canonicalize to CRLF.

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


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


id: imap_search
type: function
doc:
<comment>Description:</comment>
  This function returns an array of messages matching the given search criteria
  
  This function performs a search on the mailbox currently opened in the given IMAP stream.
  
  For example, to match all unanswered messages sent by Mom, you'd use: "UNANSWERED FROM mom".
  Searches appear to be case insensitive. This list of criteria is from a reading of the UW c-client
  source code and may be incomplete or inaccurate (see also RFC1176,  section "tag SEARCH
  search_criteria").

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$criteria   </strong>  A string, delimited by spaces, in which the following keywords are
                          allowed. Any multi-word arguments (e.g. <return>FROM "joey smith"</return>) must be quoted.
                          Results will match all <strong>$criteria</strong> entries.  ALL - return all messages
                          matching the rest of the criteria  ANSWERED - match messages with the
                          \\ANSWERED flag set  BCC "string" - match messages with "string" in the
                          Bcc: field  BEFORE "date" - match messages with Date: before "date"  BODY
                          "string" - match messages with "string" in the body of the message  CC
                          "string" - match messages with "string" in the Cc: field  DELETED - match
                          deleted messages  FLAGGED - match messages with the \\FLAGGED (sometimes
                          referred to as Important or Urgent) flag set  FROM "string" - match
                          messages with "string" in the From: field  KEYWORD "string" - match
                          messages with "string" as a keyword  NEW - match new messages  OLD - match
                          old messages  ON "date" - match messages with Date: matching "date"
                          RECENT - match messages with the \\RECENT flag set  SEEN - match messages
                          that have been read (the \\SEEN flag is set)  SINCE "date" - match
                          messages with Date: after "date"  SUBJECT "string" - match messages with
                          "string" in the Subject:  TEXT "string" - match messages with text
                          "string"  TO "string" - match messages with "string" in the To:
                          UNANSWERED - match messages that have not been answered  UNDELETED - match
                          messages that are not deleted  UNFLAGGED - match messages that are not
                          flagged  UNKEYWORD "string" - match messages that do not have the keyword
                          "string"  UNSEEN - match messages which have not been read yet
                          
                          ALL - return all messages matching the rest of the criteria
                          
                          ANSWERED - match messages with the \\ANSWERED flag set
                          
                          BCC "string" - match messages with "string" in the Bcc: field
                          
                          BEFORE "date" - match messages with Date: before "date"
                          
                          BODY "string" - match messages with "string" in the body of the message
                          
                          CC "string" - match messages with "string" in the Cc: field
                          
                          DELETED - match deleted messages
                          
                          FLAGGED - match messages with the \\FLAGGED (sometimes referred to as
                          Important or Urgent) flag set
                          
                          FROM "string" - match messages with "string" in the From: field
                          
                          KEYWORD "string" - match messages with "string" as a keyword
                          
                          NEW - match new messages
                          
                          OLD - match old messages
                          
                          ON "date" - match messages with Date: matching "date"
                          
                          RECENT - match messages with the \\RECENT flag set
                          
                          SEEN - match messages that have been read (the \\SEEN flag is set)
                          
                          SINCE "date" - match messages with Date: after "date"
                          
                          SUBJECT "string" - match messages with "string" in the Subject:
                          
                          TEXT "string" - match messages with text "string"
                          
                          TO "string" - match messages with "string" in the To:
                          
                          UNANSWERED - match messages that have not been answered
                          
                          UNDELETED - match messages that are not deleted
                          
                          UNFLAGGED - match messages that are not flagged
                          
                          UNKEYWORD "string" - match messages that do not have the keyword "string"
                          
                          UNSEEN - match messages which have not been read yet
  <info>int     </info>  <strong>$options    </strong>  Valid values for <strong>$options</strong> are  <info>SE_UID</info>, which causes the returned array to
                          contain UIDs instead of messages sequence numbers.
  <info>string  </info>  <strong>$charset    </strong>  MIME character set to use when searching strings.

<comment>Return:</comment>
  <info>array</info>  Returns an array of message numbers or UIDs.
         
         Return <info>false</info> if it does not understand the search <strong>$criteria</strong> or no messages have been found.

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


id: imap_set_quota
type: function
doc:
<comment>Description:</comment>
  Sets a quota for a given mailbox
  
  Sets an upper limit quota on a per mailbox basis.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$quota_root </strong>  The mailbox to have a quota set. This should follow the IMAP standard
                          format for a mailbox: <return>user.name</return>.
  <info>int     </info>  <strong>$quota_limit</strong>  The maximum size (in KB) for the <strong>$quota_root</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>imap_open()</strong>
   * <strong>imap_get_quota()</strong>


id: imap_setacl
type: function
doc:
<comment>Description:</comment>
  Sets the ACL for a given mailbox
  
  Sets the ACL for a giving mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>string  </info>  <strong>$id         </strong>  The user to give the rights to.
  <info>string  </info>  <strong>$rights     </strong>  The rights to give to the user. Passing an empty string will delete acl.

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


id: imap_setflag_full
type: function
doc:
<comment>Description:</comment>
  Sets flags on messages
  
  Causes a store to add the specified <strong>$flag</strong> to the flags set for the messages in the specified
  <strong>$sequence</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$sequence   </strong>  A sequence of message numbers. You can enumerate desired messages with the
                          <return>X,Y</return> syntax, or retrieve all messages  within an interval with the <return>X:Y</return>
                          syntax
  <info>string  </info>  <strong>$flag       </strong>  The flags which you can set are <return>\Seen</return>,  <return>\Answered</return>, <return>\Flagged</return>, <return>\Deleted</return>, and
                          <return>\Draft</return> as defined by RFC2060.
  <info>int     </info>  <strong>$options    </strong>  A bit mask that may contain the single option: <info>ST_UID</info> - The sequence
                          argument contains UIDs instead of sequence numbers
                          
                          <info>ST_UID</info> - The sequence argument contains UIDs instead of sequence numbers

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


id: imap_sort
type: function
doc:
<comment>Description:</comment>
  Gets and sort messages
  
  Gets and sorts message numbers by the given parameters.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream    </strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$criteria       </strong>  Criteria can be one (and only one) of the following: <info>SORTDATE</info> -
                              message Date <info>SORTARRIVAL</info> - arrival date <info>SORTFROM</info> - mailbox in first
                              From address <info>SORTSUBJECT</info> - message subject <info>SORTTO</info> - mailbox in first
                              To address <info>SORTCC</info> - mailbox in first cc address <info>SORTSIZE</info> - size of
                              message in octets
                              
                              <info>SORTDATE</info> - message Date
                              
                              <info>SORTARRIVAL</info> - arrival date
                              
                              <info>SORTFROM</info> - mailbox in first From address
                              
                              <info>SORTSUBJECT</info> - message subject
                              
                              <info>SORTTO</info> - mailbox in first To address
                              
                              <info>SORTCC</info> - mailbox in first cc address
                              
                              <info>SORTSIZE</info> - size of message in octets
  <info>int     </info>  <strong>$reverse        </strong>  Set this to 1 for reverse sorting
  <info>int     </info>  <strong>$options        </strong>  The <strong>$options</strong> are a bitmask of one or more of the following: <info>SE_UID</info> -
                              Return UIDs instead of sequence numbers <info>SE_NOPREFETCH</info> - Don't prefetch
                              searched messages
                              
                              <info>SE_UID</info> - Return UIDs instead of sequence numbers
                              
                              <info>SE_NOPREFETCH</info> - Don't prefetch searched messages
  <info>string  </info>  <strong>$search_criteria</strong>  IMAP2-format search criteria string. For details see <strong>imap_search()</strong>.
  <info>string  </info>  <strong>$charset        </strong>  MIME character set to use when sorting strings.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array of message numbers sorted by the given parameters,  sau <info>false</info> în
              cazul eșecului.


id: imap_status
type: function
doc:
<comment>Description:</comment>
  Returns status information on a mailbox
  
  Gets status information about the given <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.
  <info>int     </info>  <strong>$options    </strong>  Valid flags are: <info>SA_MESSAGES</info> - set $status-&gt;messages to the number of
                          messages in the mailbox <info>SA_RECENT</info> - set $status-&gt;recent to the number
                          of recent messages in the mailbox <info>SA_UNSEEN</info> - set $status-&gt;unseen to
                          the number of unseen (new) messages in the mailbox <info>SA_UIDNEXT</info> - set
                          $status-&gt;uidnext to the next uid to be used in the mailbox
                          <info>SA_UIDVALIDITY</info> - set $status-&gt;uidvalidity to a constant that changes
                          when uids for the mailbox may no longer be valid <info>SA_ALL</info> - set all of the
                          above
                          
                          <info>SA_MESSAGES</info> - set $status-&gt;messages to the number of messages in the
                          mailbox
                          
                          <info>SA_RECENT</info> - set $status-&gt;recent to the number of recent messages in the
                          mailbox
                          
                          <info>SA_UNSEEN</info> - set $status-&gt;unseen to the number of unseen (new) messages
                          in the mailbox
                          
                          <info>SA_UIDNEXT</info> - set $status-&gt;uidnext to the next uid to be used in the
                          mailbox
                          
                          <info>SA_UIDVALIDITY</info> - set $status-&gt;uidvalidity to a constant that changes
                          when uids for the mailbox may no longer be valid
                          
                          <info>SA_ALL</info> - set all of the above

<comment>Return:</comment>
  <info>object</info>  This function returns an object containing status information. The object has the
          following properties: <return>messages</return>, <return>recent</return>, <return>unseen</return>,  <return>uidnext</return>, and <return>uidvalidity</return>.
          
          <return>flags</return> is also set, which contains a bitmask which can be checked against any of the above
          constants.


id: imap_subscribe
type: function
doc:
<comment>Description:</comment>
  Subscribe to a mailbox
  
  Subscribe to a new mailbox.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

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


id: imap_thread
type: function
doc:
<comment>Description:</comment>
  Returns a tree of threaded message
  
  Gets a tree of a threaded message.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$options    </strong>  

<comment>Return:</comment>
  <info>array</info>  <strong>imap_thread()</strong> returns an associative array containing a tree of messages threaded by
         <return>REFERENCES</return>, or <info>false</info> on error.
         
         Every message in the current mailbox will be represented by three entries in the resulting
         array: $thread["XX.num"] - current message number $thread["XX.next"]$thread["XX.branch"]
         
         $thread["XX.num"] - current message number
         
         $thread["XX.next"]
         
         $thread["XX.branch"]


id: imap_timeout
type: function
doc:
<comment>Description:</comment>
  Set or fetch imap timeout
  
  Sets or fetches the imap timeout.

<comment>Param:</comment>
  <info>int</info>  <strong>$timeout_type</strong>  One of the following: <info>IMAP_OPENTIMEOUT</info>, <info>IMAP_READTIMEOUT</info>, <info>IMAP_WRITETIMEOUT</info>,
                      or <info>IMAP_CLOSETIMEOUT</info>.
  <info>int</info>  <strong>$timeout     </strong>  The timeout, in seconds.

<comment>Return:</comment>
  <info>mixed</info>  If the <strong>$timeout</strong> parameter is set, this function returns <info>true</info> on success and <info>false</info> on
         failure.
         
         If <strong>$timeout</strong>  is not provided or evaluates to -1, the current timeout value of <strong>$timeout_type</strong>
         is returned as an integer.


id: imap_uid
type: function
doc:
<comment>Description:</comment>
  This function returns the UID for the given message sequence number
  
  This function returns the UID for the given message sequence number. An UID is a unique identifier
  that will not change over time while a message sequence number may change whenever the content of
  the mailbox changes.
  
  This function is the inverse of <strong>imap_msgno()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number.

<comment>Return:</comment>
  <info>int</info>  The UID of the given message.

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


id: imap_undelete
type: function
doc:
<comment>Description:</comment>
  Unmark the message which is marked deleted
  
  Removes the deletion flag for a specified message, which is set by <strong>imap_delete()</strong> or
  <strong>imap_mail_move()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>int     </info>  <strong>$msg_number </strong>  The message number
  <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>imap_delete()</strong>
   * <strong>imap_mail_move()</strong>


id: imap_unsubscribe
type: function
doc:
<comment>Description:</comment>
  Unsubscribe from a mailbox
  
  Unsubscribe from the specified <strong>$mailbox</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$imap_stream</strong>  Un flux IMAP întors de <strong>imap_open()</strong>.
  <info>string  </info>  <strong>$mailbox    </strong>  The mailbox name, see <strong>imap_open()</strong> for more information
                          
                          Transmiterea datelor neverificate către acest parametru este
                          primejdioasă, doar dacă nu a fost dezactivată opțiunea
                          imap.enable_insecure_rsh.

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


id: imap_utf7_decode
type: function
doc:
<comment>Description:</comment>
  Decodes a modified UTF-7 encoded string
  
  Decodes modified UTF-7 <strong>$text</strong> into ISO-8859-1 string.
  
  This function is needed to decode mailbox names that contain certain characters which are not in
  range of printable ASCII characters.

<comment>Param:</comment>
  <info>string</info>  <strong>$text</strong>  A modified UTF-7 encoding string, as defined in RFC 2060, section 5.1.3 (original
                 UTF-7 was defined in RFC1642).

<comment>Return:</comment>
  <info>string</info>  Returns a string that is encoded in ISO-8859-1 and consists of the same sequence of
          characters in <strong>$text</strong>, or <info>false</info> if <strong>$text</strong> contains invalid modified UTF-7 sequence or <strong>$text</strong>
          contains a character that is not part of ISO-8859-1 character set.

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


id: imap_utf7_encode
type: function
doc:
<comment>Description:</comment>
  Converts ISO-8859-1 string to modified UTF-7 text
  
  Converts <strong>$data</strong> to modified UTF-7 text.
  
  This is needed to encode mailbox names that contain certain characters which are not in range of
  printable ASCII characters.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  An ISO-8859-1 string.

<comment>Return:</comment>
  <info>string</info>  Returns <strong>$data</strong> encoded with the modified UTF-7 encoding as defined in RFC 2060,  section
          5.1.3 (original UTF-7 was defined in RFC1642).

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


id: imap_utf8
type: function
doc:
<comment>Description:</comment>
  Converts MIME-encoded text to UTF-8
  
  Converts the given <strong>$mime_encoded_text</strong> to UTF-8, if the declared charset is known to libc-client.
  Otherwise the given text is decoded, but not converted to UTF-8.

<comment>Param:</comment>
  <info>string</info>  <strong>$mime_encoded_text</strong>  A MIME encoded string. MIME encoding method and the UTF-8
                              specification are described in RFC2047 and RFC2044 respectively.

<comment>Return:</comment>
  <info>string</info>  Returns the decoded string, if possible converted to UTF-8.

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


id: imap_utf8_to_mutf7
type: function
doc:
<comment>Description:</comment>
  Encode a UTF-8 string to modified UTF-7
  
  Encode a UTF-8 string to modified UTF-7 (as specified in RFC 2060, section 5.1.3).
  
  This function is only available, if libcclient exports utf8_to_mutf7().

<comment>Param:</comment>
  <info>string</info>  <strong>$in</strong>  A UTF-8 encoded string.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns <strong>$in</strong> converted to modified UTF-7, sau <info>false</info> în cazul eșecului.

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


id: implode
type: function
doc:
<comment>Description:</comment>
  Join array elements with a string
  
  Join array elements with a <strong>$glue</strong> string.
  
  <strong>implode()</strong> can, for historical reasons, accept its parameters in either order. For consistency with
  <strong>explode()</strong>, however, it is deprecated not to use the documented order of arguments.

<comment>Param:</comment>
  <info>string</info>  <strong>$glue  </strong>  Defaults to an empty string.
  <info>array </info>  <strong>$pieces</strong>  The array of strings to implode.

<comment>Return:</comment>
  <info>string</info>  Returns a string containing a string representation of all the array elements in the same
          order, with the glue string between each element.

<comment>See Also:</comment>
   * <strong>explode()</strong>
   * <strong>preg_split()</strong>
   * <strong>http_build_query()</strong>


id: in_array
type: function
doc:
<comment>Description:</comment>
  Checks if a value exists in an array
  
  Searches for <strong>$needle</strong> in <strong>$haystack</strong> using loose comparison unless <strong>$strict</strong> is set.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$needle  </strong>  The searched value.
                    
                    If <strong>$needle</strong> is a string, the comparison is done in a case-sensitive manner.
  <info>array</info>  <strong>$haystack</strong>  The array.
  <info>bool </info>  <strong>$strict  </strong>  If the third parameter <strong>$strict</strong> is set to <info>true</info> then the <strong>in_array()</strong> function will
                    also check the types of the <strong>$needle</strong> in the <strong>$haystack</strong>.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$needle</strong> is found in the array, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>array_search()</strong>
   * <strong>isset()</strong>
   * <strong>array_key_exists()</strong>


id: inet_ntop
type: function
doc:
<comment>Description:</comment>
  Converts a packed internet address to a human readable representation
  
  This function converts a 32bit IPv4, or 128bit IPv6 address (if PHP was built with IPv6 support
  enabled) into an address family appropriate string representation.

<comment>Param:</comment>
  <info>string</info>  <strong>$ip</strong>  A 32bit IPv4, or 128bit IPv6 address.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a string representation of the address sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>long2ip()</strong>
   * <strong>ip2long()</strong>
   * <strong>inet_pton()</strong>


id: inet_pton
type: function
doc:
<comment>Description:</comment>
  Converts a human readable IP address to its packed in_addr representation
  
  This function converts a human readable IPv4 or IPv6 address (if PHP was built with IPv6 support
  enabled) into an address family appropriate 32bit or 128bit binary structure.

<comment>Param:</comment>
  <info>string</info>  <strong>$ip</strong>  A human readable IPv4 or IPv6 address.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the <return>in_addr</return> representation of the given <strong>$ip</strong>, or <info>false</info> if a syntactically
               invalid <strong>$ip</strong> is given (for example, an IPv4 address without dots or an IPv6 address
               without colons).

<comment>See Also:</comment>
   * <strong>ip2long()</strong>
   * <strong>long2ip()</strong>
   * <strong>inet_ntop()</strong>


id: inflate_add
type: function
doc:
<comment>Description:</comment>
  Incrementally inflate encoded data
  
  Incrementally inflates encoded data in the specified <strong>$context</strong>.
  
  Limitation: header information from GZIP compressed data are not made available.

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

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

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


id: inflate_get_read_len
type: function
doc:
<comment>Description:</comment>
  Get number of bytes read so far
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>InflateContext</info>  <strong>$context</strong>  

<comment>Return:</comment>
  <info>int</info>  Returns number of bytes read so far sau <info>false</info> în cazul eșecului.


id: inflate_get_status
type: function
doc:
<comment>Description:</comment>
  Get decompression status
  
  Usually returns either <info>ZLIB_OK</info> or <info>ZLIB_STREAM_END</info>.

<comment>Param:</comment>
  <info>InflateContext</info>  <strong>$context</strong>  

<comment>Return:</comment>
  <info>int</info>  Returns decompression status sau <info>false</info> în cazul eșecului.


id: inflate_init
type: function
doc:
<comment>Description:</comment>
  Initialize an incremental inflate context
  
  Initialize an incremental inflate context with the specified <strong>$encoding</strong>.

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

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

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


id: ingres_autocommit
type: function
doc:
<comment>Description:</comment>
  Switch autocommit on or off
  
  <strong>ingres_autocommit()</strong> is called before opening a transaction (before the first call to
  <strong>ingres_query()</strong> or just after a call to <strong>ingres_rollback()</strong> or <strong>ingres_commit()</strong>) to switch the
  autocommit mode of the server on or off (when the script begins the autocommit mode is off).
  
  When autocommit mode is on, every query is automatically committed by the server, as if
  <strong>ingres_commit()</strong> was called after every call to <strong>ingres_query()</strong>. To see if autocommit is enabled
  use,  <strong>ingres_autocommit_state()</strong>.
  
  By default Ingres will rollback any uncommitted transactions at the end of a request. Use this
  function or <strong>ingres_commit()</strong> to ensure your data is committed to the database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<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>ingres_autocommit_state()</strong>
   * <strong>ingres_query()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_commit()</strong>


id: ingres_autocommit_state
type: function
doc:
<comment>Description:</comment>
  Test if the connection is using autocommit
  
  <strong>ingres_autocommit_state()</strong> is called to determine whether the current link has autocommit enabled
  or not.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if autocommit is enabled or <info>false</info> when autocommit is disabled

<comment>See Also:</comment>
   * <strong>ingres_autocommit()</strong>
   * <strong>ingres_query()</strong>


id: ingres_charset
type: function
doc:
<comment>Description:</comment>
  Returns the installation character set
  
  <strong>ingres_charset()</strong> is called to determine the character set being used by the Ingres client, from
  II_CHARSETxx (where xx is the installation code).
  
  You can override the value returned by using the function <strong>putenv()</strong>. Changing the value of
  II_CHARSETxx in a running Ingres installation can cause data corruption.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>string</info>  Returns a string with the value for II_CHARSETxx or returns NULL if the value could not be
          determined.

<comment>See Also:</comment>
   * <strong>ingres_connect()</strong>
   * <strong>ingres_query()</strong>


id: ingres_close
type: function
doc:
<comment>Description:</comment>
  Close an Ingres database connection
  
  <strong>ingres_close()</strong> closes the connection to the Ingres server that is associated with the specified
  link.
  
  <strong>ingres_close()</strong> is usually unnecessary, as it will not close persistent connections and all
  non-persistent connections are automatically closed at the end of the script.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<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>ingres_connect()</strong>
   * <strong>ingres_pconnect()</strong>


id: ingres_commit
type: function
doc:
<comment>Description:</comment>
  Commit a transaction
  
  <strong>ingres_commit()</strong> commits the currently open transaction, making all changes made to the database
  permanent.
  
  This closes the transaction. A new transaction can be opened by sending a query with
  <strong>ingres_query()</strong>.
  
  You can also have the server commit automatically after every query by calling <strong>ingres_autocommit()</strong>
  before opening the transaction.
  
  By default Ingres will roll back any uncommitted transactions at the end of a request. Use this
  function or <strong>ingres_autocommit()</strong> to ensure your that data is committed to the database.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<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>ingres_query()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_autocommit()</strong>


id: ingres_connect
type: function
doc:
<comment>Description:</comment>
  Open a connection to an Ingres database
  
  <strong>ingres_connect()</strong> opens a connection with the given Ingres <strong>$database</strong>.
  
  The connection is closed when the script ends or when <strong>ingres_close()</strong> is called on this link.

<comment>Param:</comment>
  <info>string</info>  <strong>$database</strong>  The database name. Must follow the syntax:
                     
                     [vnode::]dbname[/svr_class]
  <info>string</info>  <strong>$username</strong>  The Ingres user name
  <info>string</info>  <strong>$password</strong>  The password associated with <strong>$username</strong>
  <info>array </info>  <strong>$options </strong>  <strong>ingres_connect()</strong> options Option nameOption
                     typeDescriptionExampledate_century_boundary<info>int</info>The threshold by which a 2-digit
                     year is determined to be in the current century or in the next century.
                     Equivalent to II_DATE_CENTURY_BOUNDARY. 50group<info>string</info>Specifies the group ID of
                     the user, equivalent to the "-G" flagpayrollrole<info>string</info>The role ID of the
                     application. If a role password is required, the parameter value should be
                     specified as "role/password"effective_user<info>string</info>The ingres user account being
                     impersonated, equivalent to the "-u" flaganother_userdbms_password<info>string</info>The
                     internal database password for the user connecting to
                     Ingress3cr3ttable_structure<info>string</info> The default structure for new tables. Valid
                     values for table_structure are:
                     INGRES_STRUCTURE_BTREEINGRES_STRUCTURE_HASHINGRES_STRUCTURE_HEAPINGRES_STRUCTURE_ISAMINGRES_STRUCTURE_CBTREEINGRES_STRUCTURE_CISAMINGRES_STRUCTURE_CHASHINGRES_STRUCTURE_CHEAP
                     INGRES_STRUCTURE_BTREEindex_structure<info>string</info> The default structure for new
                     secondary indexes. Valid values for index_structure are:
                     INGRES_STRUCTURE_CBTREEINGRES_STRUCTURE_CISAMINGRES_STRUCTURE_CHASHINGRES_STRUCTURE_BTREEINGRES_STRUCTURE_HASHINGRES_STRUCTURE_ISAM
                     INGRES_STRUCTURE_HASHlogin_local<info>bool</info>Determines how the connection user ID and
                     password are used when a VNODE is included in the target database string. If
                     set to TRUE, the user ID and password are used to locally access the VNODE, and
                     the VNODE login information is used to establish the DBMS connection. If set to
                     FALSE, the process user ID is used to access the VNODE, and the connection user
                     ID and password are used in place of the VNODE login information to establish
                     the DBMS connection. This parameter is ignored if no VNODE is included in the
                     target database string. The default is FALSE.TRUEtimezone<info>string</info>Controls the
                     timezone of the session. If not set it will default to the value defined by
                     II_TIMEZONE_NAME. If II_TIMEZONE_NAME is not defined, NA-PACIFIC (GMT-8 with
                     Daylight Savings) is used.date_format<info>int</info>Sets the allowable input and output
                     format for Ingres dates. Defaults to the value defined by II_DATE_FORMAT. If
                     II_DATE_FORMAT is not set the default date format is US, e.g. mm/dd/yy. Valid
                     values for date_format are:
                     INGRES_DATE_DMYINGRES_DATE_FINISHINGRES_DATE_GERMANINGRES_DATE_ISOINGRES_DATE_ISO4INGRES_DATE_MDYINGRES_DATE_MULTINATIONALINGRES_DATE_MULTINATIONAL4INGRES_DATE_YMDINGRES_DATE_US
                     INGRES_DATE_MULTINATIONAL4decimal_separator<info>string</info>The character identifier for
                     decimal data","money_lort<info>int</info>Leading or trailing currency sign. Valid values for
                     money_lort are: INGRES_MONEY_LEADINGINGRES_MONEY_TRAILING
                     INGRES_MONEY_TRAILINGmoney_sign<info>string</info>The currency symbol to be used with the
                     MONEY datatype€money_precision<info>int</info>The precision of the MONEY
                     datatype3float4_precision<info>int</info>Precision of the FLOAT4
                     datatype10float8_precision<info>int</info>Precision of the FLOAT8
                     data10blob_segment_length<info>int</info>The amount of data in bytes to fetch at a time when
                     retrieving BLOB or CLOB data, defaults to 4096 bytes when not explicitly
                     set8192
                     
                     The default structure for new tables. Valid values for table_structure are:
                     INGRES_STRUCTURE_BTREEINGRES_STRUCTURE_HASHINGRES_STRUCTURE_HEAPINGRES_STRUCTURE_ISAMINGRES_STRUCTURE_CBTREEINGRES_STRUCTURE_CISAMINGRES_STRUCTURE_CHASHINGRES_STRUCTURE_CHEAP
                     
                     INGRES_STRUCTURE_BTREE
                     
                     INGRES_STRUCTURE_HASH
                     
                     INGRES_STRUCTURE_HEAP
                     
                     INGRES_STRUCTURE_ISAM
                     
                     INGRES_STRUCTURE_CBTREE
                     
                     INGRES_STRUCTURE_CISAM
                     
                     INGRES_STRUCTURE_CHASH
                     
                     INGRES_STRUCTURE_CHEAP
                     
                     The default structure for new secondary indexes. Valid values for
                     index_structure are:
                     INGRES_STRUCTURE_CBTREEINGRES_STRUCTURE_CISAMINGRES_STRUCTURE_CHASHINGRES_STRUCTURE_BTREEINGRES_STRUCTURE_HASHINGRES_STRUCTURE_ISAM
                     
                     INGRES_STRUCTURE_CBTREE
                     
                     INGRES_STRUCTURE_CISAM
                     
                     INGRES_STRUCTURE_CHASH
                     
                     INGRES_STRUCTURE_BTREE
                     
                     INGRES_STRUCTURE_HASH
                     
                     INGRES_STRUCTURE_ISAM
                     
                     Sets the allowable input and output format for Ingres dates. Defaults to the
                     value defined by II_DATE_FORMAT. If II_DATE_FORMAT is not set the default date
                     format is US, e.g. mm/dd/yy. Valid values for date_format are:
                     INGRES_DATE_DMYINGRES_DATE_FINISHINGRES_DATE_GERMANINGRES_DATE_ISOINGRES_DATE_ISO4INGRES_DATE_MDYINGRES_DATE_MULTINATIONALINGRES_DATE_MULTINATIONAL4INGRES_DATE_YMDINGRES_DATE_US
                     
                     INGRES_DATE_DMY
                     
                     INGRES_DATE_FINISH
                     
                     INGRES_DATE_GERMAN
                     
                     INGRES_DATE_ISO
                     
                     INGRES_DATE_ISO4
                     
                     INGRES_DATE_MDY
                     
                     INGRES_DATE_MULTINATIONAL
                     
                     INGRES_DATE_MULTINATIONAL4
                     
                     INGRES_DATE_YMD
                     
                     INGRES_DATE_US
                     
                     Leading or trailing currency sign. Valid values for money_lort are:
                     INGRES_MONEY_LEADINGINGRES_MONEY_TRAILING
                     
                     INGRES_MONEY_LEADING
                     
                     INGRES_MONEY_TRAILING

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

<comment>See Also:</comment>
   * <strong>ingres_pconnect()</strong>
   * <strong>ingres_close()</strong>


id: ingres_cursor
type: function
doc:
<comment>Description:</comment>
  Get a cursor name for a given result resource
  
  Returns a string with the active cursor name. If no cursor is active then  NULL is returned.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the active cursor name. If no cursor is active then NULL is
          returned.

<comment>See Also:</comment>
   * <strong>ingres_prepare()</strong>
   * <strong>ingres_execute()</strong>


id: ingres_errno
type: function
doc:
<comment>Description:</comment>
  Get the last Ingres error number generated
  
  Returns an integer containing the last error number. If no error was reported 0 is returned.
  
  If a <strong>$link</strong> resource is passed to <strong>ingres_errno()</strong> it returns the last error recorded for the link.
  If no link is passed, then <strong>ingres_errno()</strong> returns the last error reported using the default link.
  
  The function, <strong>ingres_errno()</strong>, should always be called after executing a database query.  Calling
  another function before <strong>ingres_errno()</strong> is called will reset or change any error code from the last
  Ingres function call.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>int</info>  Returns an integer containing the last error number. If no error was reported, 0 is returned.

<comment>See Also:</comment>
   * <strong>ingres_error()</strong>
   * <strong>ingres_errsqlstate()</strong>
   * <strong>ingres_next_error()</strong>


id: ingres_error
type: function
doc:
<comment>Description:</comment>
  Get a meaningful error message for the last error generated
  
  Returns a string containing the last error, or NULL if no error has occurred.
  
  If a <strong>$link</strong> resource is passed to <strong>ingres_error()</strong>, it returns the last error recorded for the link.
  If no link is passed then <strong>ingres_error()</strong> returns the last error reported using the default link.
  
  The function, <strong>ingres_error()</strong>, should always be called after executing any database query.  Calling
  another function before <strong>ingres_error()</strong> is called will reset or change any error message from the
  last Ingres function call.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the last error, or NULL if no error has occurred.

<comment>See Also:</comment>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_errsqlstate()</strong>
   * <strong>ingres_next_error()</strong>


id: ingres_errsqlstate
type: function
doc:
<comment>Description:</comment>
  Get the last SQLSTATE error code generated
  
  Returns a string containing the last SQLSTATE, or NULL if no error has occurred.
  
  If a <strong>$link</strong> resource is passed to <strong>ingres_errsqlstate()</strong>, it returns the last error recorded for the
  link. If no link is passed, then <strong>ingres_errsqlstate()</strong> returns the last error reported using the
  default link.
  
  The function, <strong>ingres_errsqlstate()</strong>, should always be called after executing any database query.
  Calling another function before <strong>ingres_errsqlstate()</strong> is called will reset or change any error
  message from the last Ingres function call.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>string</info>  Returns a string containing the last SQLSTATE, or NULL if no error has occurred.

<comment>See Also:</comment>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>
   * <strong>ingres_next_error()</strong>


id: ingres_escape_string
type: function
doc:
<comment>Description:</comment>
  Escape special characters for use in a query
  
  <strong>ingres_escape_string()</strong> is used to escape certain characters within a string before it is sent to
  the database server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link         </strong>  The connection link identifier
  <info>string  </info>  <strong>$source_string</strong>  The source string to be parsed

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

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


id: ingres_execute
type: function
doc:
<comment>Description:</comment>
  Execute a prepared query
  
  Execute a query prepared using <strong>ingres_prepare()</strong>.
  
  See also the ingres.describe, ingres.scrollable and ingres.utf8 directives in  Runtime
  Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The result query identifier
  <info>array   </info>  <strong>$params</strong>  An array of parameter values to be used with the query
  <info>string  </info>  <strong>$types </strong>  A string containing a sequence of types for the parameter values passed. See
                     the types parameter in <strong>ingres_query()</strong> for the list of type codes.

<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>ingres_unbuffered_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>
   * <strong>ingres_commit()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_autocommit()</strong>
   * <strong>ingres_set_environment()</strong>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>


id: ingres_fetch_array
type: function
doc:
<comment>Description:</comment>
  Fetch a row of result into an array
  
  This function is an extended version of <strong>ingres_fetch_row()</strong>.  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.
  
  If two or more columns of the result have the same field names, the last column will take
  precedence. To access the another column or columns of the same name, you must use the numeric
  index of the column or make an alias for the column. For example:
  ]]>
  
  With regard to speed, the function is identical to <strong>ingres_fetch_object()</strong>, and almost as quick as
  <strong>ingres_fetch_row()</strong> (the difference is insignificant).
  
  By default, arrays created by <strong>ingres_fetch_array()</strong> start from position 1 and not 0 as with other
  DBMS extensions. The starting position can be adjusted to 0 using the configuration parameter
  ingres.array_index_start.
  
  See also the ingres.array_index_start, ingres.fetch_buffer_size and ingres.utf8 directives in
  Runtime Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result     </strong>  The query result identifier
  <info>int     </info>  <strong>$result_type</strong>  The result type. This <strong>$result_type</strong> can be <info>INGRES_NUM</info> for enumerated array,
                          <info>INGRES_ASSOC</info> for associative array, or <info>INGRES_BOTH</info> (default).

<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

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_num_fields()</strong>
   * <strong>ingres_field_name()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_fetch_assoc
type: function
doc:
<comment>Description:</comment>
  Fetch a row of result into an associative array
  
  This function is stores the data fetched from a query executed using <strong>ingres_query()</strong> in an
  associative array, using the field names as keys.
  
  With regard to speed, the function is identical to <strong>ingres_fetch_object()</strong>, and almost as quick as
  <strong>ingres_fetch_row()</strong> (the difference is insignificant).
  
  By default, arrays created by <strong>ingres_fetch_assoc()</strong> start from position 1 and not 0 as with other
  DBMS extensions. The starting position can be adjusted to 0 using the configuration parameter
  ingres.array_index_start.
  
  See also the ingres.array_index_start, ingres.fetch_buffer_size and ingres.utf8 directives in
  Runtime Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier

<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

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_num_fields()</strong>
   * <strong>ingres_field_name()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_fetch_object
type: function
doc:
<comment>Description:</comment>
  Fetch a row of result into an object
  
  This function is similar to <strong>ingres_fetch_array()</strong>, with one difference - an object is returned
  instead of an array.  Indirectly, this means that you can access the data only by the field names
  and not by their offsets (numbers are illegal property names).
  
  With regard to speed, the function is identical to <strong>ingres_fetch_array()</strong>, and almost as quick as
  <strong>ingres_fetch_row()</strong> (the difference is insignificant).
  
  See also the ingres.fetch_buffer_size and ingres.utf8 directives in Runtime Configuration.

<comment>Param:</comment>
  <info>   </info>  <strong>$link       </strong>  The query result identifier
  <info>int</info>  <strong>$result_type</strong>  (Optional argument.) <strong>$result_type</strong> is a constant and can take the following
                     values: <info>INGRES_ASSOC</info>, <info>INGRES_NUM</info>, and <info>INGRES_BOTH</info>.

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

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_num_fields()</strong>
   * <strong>ingres_field_name()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_fetch_proc_return
type: function
doc:
<comment>Description:</comment>
  Get the return value from a procedure call
  
  This function is used to retrieve the return value following the execution of an Ingres database
  procedure (stored procedure).
  
  If used with a row-producing procedure, this function should be called after all the rows from the
  procedure have been fetched using <strong>ingres_fetch_array()</strong>, <strong>ingres_fetch_object()</strong> or
  <strong>ingres_fetch_row()</strong>. This function will eliminate any rows yet to be fetched should there be any
  left over.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The result identifier for a query

<comment>Return:</comment>
  <info>int</info>  Returns an <info>int</info> if there is a return value otherwise it will return <info>null</info>.

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_fetch_row
type: function
doc:
<comment>Description:</comment>
  Fetch a row of result into an enumerated array
  
  <strong>ingres_fetch_row()</strong> returns an array that corresponds to the fetched row, or <info>false</info> if there are no
  more rows. Each result column is stored in an array offset, starting at offset 1.
  
  Subsequent calls to <strong>ingres_fetch_row()</strong> return the next row in the result set, or <info>false</info> if there
  are no more rows.
  
  By default, arrays created by <strong>ingres_fetch_row()</strong> start from position 1 and not 0 as with other
  DBMS extensions. The starting position can be adjusted to 0 using the configuration parameter
  ingres.array_index_start.
  
  See also the ingres.array_index_start, ingres.fetch_buffer_size and ingres.utf8 directives in
  Runtime Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier

<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

<comment>See Also:</comment>
   * <strong>ingres_num_fields()</strong>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>


id: ingres_field_length
type: function
doc:
<comment>Description:</comment>
  Get the length of a field
  
  <strong>ingres_field_length()</strong> returns the length of a field.  This is the number of bytes the server uses
  to store the field.  For detailed information, see the Ingres <return>OpenAPI User Guide</return>, Appendix <return>"Data
  Types"</return> in the Ingres documentation.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the column number whose length will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

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

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_field_name
type: function
doc:
<comment>Description:</comment>
  Get the name of a field in a query result
  
  <strong>ingres_field_name()</strong> returns the name of a field in a query result.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the field whose name will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the name of a field in a query result sau <info>false</info> în cazul eșecului

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_field_nullable
type: function
doc:
<comment>Description:</comment>
  Test if a field is nullable
  
  Test if a field is nullable.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the field whose nullability will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

<comment>Return:</comment>
  <info>bool</info>  <strong>ingres_field_nullable()</strong> returns <info>true</info> if the field can be set to the <info>null</info> value and <info>false</info> if
        it cannot

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_field_precision
type: function
doc:
<comment>Description:</comment>
  Get the precision of a field
  
  <strong>ingres_field_precision()</strong> returns the precision of a field. This value is used only for decimal,
  float, and money SQL data types. For detailed information, see the Ingres <return>OpenAPI User Guide</return>,
  Appendix "Data Types" in the Ingres documentation.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the field whose precision will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

<comment>Return:</comment>
  <info>int</info>  Returns the field precision as an integer

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_field_scale
type: function
doc:
<comment>Description:</comment>
  Get the scale of a field
  
  <strong>ingres_field_scale()</strong> returns the scale of a field.  This value is used only for the decimal SQL
  data type. For detailed information, see the Ingres <return>OpenAPI User Guide</return>, Appendix <return>"Data Types"</return> in
  the Ingres documentation.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the field whose scale will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

<comment>Return:</comment>
  <info>int</info>  Returns the scale of the field, as an integer

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_field_type
type: function
doc:
<comment>Description:</comment>
  Get the type of a field in a query result
  
  Get the type of a field in a query result.
  
  See ingres.array_index_start in Runtime Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier
  <info>int     </info>  <strong>$index </strong>  <strong>$index</strong> is the field whose type will be retrieved.
                     
                     The possible values of <strong>$index</strong> depend upon the value of
                     ingres.array_index_start. If ingres.array_index_start is <return>1</return> (the default) then
                     <strong>$index</strong> must be between <return>1</return> and the value returned by <strong>ingres_num_fields()</strong>. If
                     ingres.array_index_start is <return>0</return> then <strong>$index</strong> must be between <return>0</return> and
                     <strong>ingres_num_fields()</strong><return> - 1</return>.

<comment>Return:</comment>
  <info>stringfalse</info>  <strong>ingres_field_type()</strong> returns the type of a field in a query result sau <info>false</info> în cazul
               eșecului.  Examples of types returned are <return>IIAPI_BYTE_TYPE</return>, <return>IIAPI_CHA_TYPE</return>,
               <return>IIAPI_DTE_TYPE</return>, <return>IIAPI_FLT_TYPE</return>, <return>IIAPI_INT_TYPE</return>, <return>IIAPI_VCH_TYPE</return>. Some of these types
               can map to more than one SQL type depending on the length of the field (see
               <strong>ingres_field_length()</strong>). For example IIAPI_FLT_TYPE can be a float4 or a float8. For
               detailed information, see the Ingres <return>OpenAPI User Guide</return>, Appendix  "Data Types" in
               the Ingres documentation.

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_free_result
type: function
doc:
<comment>Description:</comment>
  Free the resources associated with a result identifier

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier

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


id: ingres_next_error
type: function
doc:
<comment>Description:</comment>
  Get the next Ingres error
  
  Get the next Ingres error for the last executed query. Each call to <strong>ingres_next_error()</strong> can be
  followed by a call to <strong>ingres_errno()</strong>, <strong>ingres_error()</strong>  or <strong>ingres_errsqlstate()</strong> to get the
  respective error number, error text, or SQL STATE. While <strong>ingres_next_error()</strong> returns <info>true</info>, there
  are more errors to fetch.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<comment>Return:</comment>
  <info>bool</info>  <strong>ingres_next_error()</strong> returns <info>true</info> if there is another error to retrieve or <info>false</info> when there
        are no more errors

<comment>See Also:</comment>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>
   * <strong>ingres_errsqlstate()</strong>


id: ingres_num_fields
type: function
doc:
<comment>Description:</comment>
  Get the number of fields returned by the last query
  
  <strong>ingres_num_fields()</strong> returns the number of fields in the results returned by the Ingres server
  after a call to <strong>ingres_query()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The query result identifier

<comment>Return:</comment>
  <info>int</info>  Returns the number of fields

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_num_rows
type: function
doc:
<comment>Description:</comment>
  Get the number of rows affected or returned by a query
  
  This function primarily is meant to get the number of rows modified in the database. However, it
  can be used to retrieve the number of rows to fetch for a SELECT statement.
  
  If scrollable cursors are disabled and this function is called before using <strong>ingres_fetch_array()</strong>,
  <strong>ingres_fetch_object()</strong>, or <strong>ingres_fetch_row()</strong>, the server will delete the result's data and the
  script will be unable to get them.
  
  Instead, you should retrieve the result's data using one of these fetch functions in a loop until
  it returns <info>false</info>, indicating that no more results are available.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result</strong>  The result identifier for a query

<comment>Return:</comment>
  <info>int</info>  For delete, insert, or update queries, <strong>ingres_num_rows()</strong> returns the number of rows affected
       by the query. For other queries, <strong>ingres_num_rows()</strong> returns the number of rows in the query's
       result.

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_pconnect
type: function
doc:
<comment>Description:</comment>
  Open a persistent connection to an Ingres database
  
  Open a persistent connection to an Ingres database.
  
  There are only two differences between this function and  <strong>ingres_connect()</strong>: First, when
  connecting, the function will initially try to find a (persistent) link that is already opened
  with the same parameters.  If one is found, an identifier for it will be returned instead of
  opening a new connection. Second, the connection to the Ingres server will not be closed when the
  execution of the script ends.  Instead, the link will remain open for future use (<strong>ingres_close()</strong>
  will not close links established by <strong>ingres_pconnect()</strong>). This type of link is therefore called
  "persistent".

<comment>Param:</comment>
  <info>string</info>  <strong>$database</strong>  The database name. Must follow the syntax:
                     
                     [vnode::]dbname[/svr_class]
  <info>string</info>  <strong>$username</strong>  The Ingres user name
  <info>string</info>  <strong>$password</strong>  The password associated with <strong>$username</strong>
  <info>array </info>  <strong>$options </strong>  See <strong>ingres_connect()</strong> for the list of options that can be passed

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an Ingres link resource on success sau <info>false</info> în cazul eșecului

<comment>See Also:</comment>
   * <strong>ingres_connect()</strong>
   * <strong>ingres_close()</strong>


id: ingres_prepare
type: function
doc:
<comment>Description:</comment>
  Prepare a query for later execution
  
  Prepares a query for execution by <strong>ingres_execute()</strong>.
  
  The query becomes part of the currently open transaction.  If there is no open transaction,
  <strong>ingres_query()</strong> opens a new transaction. To close the transaction, you can  call either
  <strong>ingres_commit()</strong> to commit the changes made to the database or <strong>ingres_rollback()</strong> to cancel these
  changes. When the script ends, any open transaction is rolled back (by calling <strong>ingres_rollback()</strong>).
  You can also use <strong>ingres_autocommit()</strong> before opening a new transaction to have every SQL query
  immediately committed.
  
  See also the ingres.describe, ingres.scrollable and ingres.utf8 directives in  Runtime
  Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link </strong>  The connection link identifier
  <info>string  </info>  <strong>$query</strong>  A valid SQL query (see the Ingres <return>SQL reference guide</return>) in the Ingres
                    documentation. See the query parameter in <strong>ingres_query()</strong> for a list of SQL
                    statements which cannot be executed using <strong>ingres_prepare()</strong>

<comment>Return:</comment>
  <info>mixed</info>  <strong>ingres_prepare()</strong> returns a query result identifier that is used with <strong>ingres_execute()</strong> to
         execute the query. To see  if an error occurred, use <strong>ingres_errno()</strong>,  <strong>ingres_error()</strong>, or
         <strong>ingres_errsqlstate()</strong>.

<comment>See Also:</comment>
   * <strong>ingres_unbuffered_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>
   * <strong>ingres_commit()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_autocommit()</strong>
   * <strong>ingres_set_environment()</strong>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>


id: ingres_query
type: function
doc:
<comment>Description:</comment>
  Send an SQL query to Ingres
  
  <strong>ingres_query()</strong> sends the given <strong>$query</strong> to the Ingres server.
  
  The query becomes part of the currently open transaction.  If there is no open transaction,
  <strong>ingres_query()</strong> opens a new transaction. To close the transaction, you can  call either
  <strong>ingres_commit()</strong> to commit the changes made to the database or <strong>ingres_rollback()</strong> to cancel these
  changes. When the script ends, any open transaction is rolled back (by calling <strong>ingres_rollback()</strong>).
  You can also use <strong>ingres_autocommit()</strong> before opening a new transaction to have every SQL query
  immediately committed.
  
  See also the ingres.describe, ingres.scrollable and ingres.utf8 directives in  Runtime
  Configuration

<comment>Param:</comment>
  <info>resource</info>  <strong>$link  </strong>  The connection link identifier.
  <info>string  </info>  <strong>$query </strong>  A valid SQL query (see the Ingres <return>SQL reference guide</return>) in the Ingres
                     documentation.
                     
                     Data inside the query should be properly escaped.
                     
                     The following types of SQL queries cannot be sent with this function: <return>close</return>
                     (see <strong>ingres_close()</strong>) <return>commit</return> (see <strong>ingres_commit()</strong>) <return>connect</return> (see
                     <strong>ingres_connect()</strong>) <return>disconnect</return> (see <strong>ingres_close()</strong>) <return>get dbevent</return><return>prepare to
                     commit</return><return>rollback</return> (see <strong>ingres_rollback()</strong>) <return>savepoint</return><return>set autocommit</return> (see
                     <strong>ingres_autocommit()</strong>) all cursor-related queries are unsupported
                     
                     <return>close</return> (see <strong>ingres_close()</strong>)
                     
                     <return>commit</return> (see <strong>ingres_commit()</strong>)
                     
                     <return>connect</return> (see <strong>ingres_connect()</strong>)
                     
                     <return>disconnect</return> (see <strong>ingres_close()</strong>)
                     
                     <return>get dbevent</return>
                     
                     <return>prepare to commit</return>
                     
                     <return>rollback</return> (see <strong>ingres_rollback()</strong>)
                     
                     <return>savepoint</return>
                     
                     <return>set autocommit</return> (see <strong>ingres_autocommit()</strong>)
                     
                     all cursor-related queries are unsupported
  <info>array   </info>  <strong>$params</strong>  An array of parameter values to be used with the query
  <info>string  </info>  <strong>$types </strong>  A string containing a sequence of types for the parameter values passed. When
                     ingres.describe is enabled, this parameter can be ignored as the driver
                     automatically fetches the expected parameter types from the server.

<comment>Return:</comment>
  <info>mixed</info>  <strong>ingres_query()</strong> returns a query result identifier on success else it returns <info>false</info>. To see
         if an error occurred use <strong>ingres_errno()</strong>,  <strong>ingres_error()</strong> or  <strong>ingres_errsqlstate()</strong>.

<comment>See Also:</comment>
   * <strong>ingres_unbuffered_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>
   * <strong>ingres_commit()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_autocommit()</strong>
   * <strong>ingres_set_environment()</strong>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>


id: ingres_result_seek
type: function
doc:
<comment>Description:</comment>
  Set the row position before fetching data
  
  This function is used to position the cursor associated with the result resource before issuing a
  fetch.  If ingres.array_index_start is set to 0 then the first row is 0 else it is 1.
  <strong>ingres_result_seek()</strong> can be used only with queries that make use of scrollable cursors. It cannot
  be used with <strong>ingres_unbuffered_query()</strong>.
  
  See also the ingres.scrollable and ingres.array_index_start directives in  Runtime Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$result  </strong>  The result identifier for a query
  <info>int     </info>  <strong>$position</strong>  The row to position the cursor on. If ingres.array_index_start is set to 0,
                       then the first row is 0, else it is 1

<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>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>


id: ingres_rollback
type: function
doc:
<comment>Description:</comment>
  Roll back a transaction
  
  <strong>ingres_rollback()</strong> rolls back the currently open transaction, actually cancelling all changes made
  to the database during the transaction.
  
  This closes the transaction. A new transaction can be opened by sending a query with
  <strong>ingres_query()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link</strong>  The connection link identifier

<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>ingres_query()</strong>
   * <strong>ingres_commit()</strong>
   * <strong>ingres_autocommit()</strong>


id: ingres_set_environment
type: function
doc:
<comment>Description:</comment>
  Set environment features controlling output options
  
  <strong>ingres_set_environment()</strong> is called to set environmental options that affect the output of certain
  values from Ingres, such as the timezone, date format, decimal character separator, and float
  precision.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link   </strong>  The connection link identifier
  <info>array   </info>  <strong>$options</strong>  An enumerated <info>array</info> of option name/value pairs. The following table lists the
                      option name and the expected type
                      
                      Option nameOption typeDescriptionExampledate_century_boundary<info>int</info>The threshold
                      by which a 2-digit year is determined to be in the current century or in the
                      next century. Equivalent to II_DATE_CENTURY_BOUNDARY50timezone<info>string</info>Controls
                      the timezone of the session. If not set, it will default the value defined by
                      II_TIMEZONE_NAME. If II_TIMEZONE_NAME is not defined, NA-PACIFIC (GMT-8 with
                      Daylight Savings) is used.UNITED-KINGDOMdate_format<info>int</info>Sets the allowable input
                      and output format for Ingres dates. Defaults to the value defined by
                      II_DATE_FORMAT. If II_DATE_FORMAT is not set, the default date format is US,
                      for example mm/dd/yy. Valid values for date_format are:
                      INGRES_DATE_DMYINGRES_DATE_FINISHINGRES_DATE_GERMANINGRES_DATE_ISOINGRES_DATE_ISO4INGRES_DATE_MDYINGRES_DATE_MULTINATIONALINGRES_DATE_MULTINATIONAL4INGRES_DATE_YMDINGRES_DATE_US
                      INGRES_DATE_ISO4decimal_separator<info>string</info>The character identifier for decimal
                      data","money_lort<info>int</info>Leading or trailing currency sign. Valid values for
                      money_lort are: INGRES_MONEY_LEADINGINGRES_MONEY_TRAILING
                      INGRES_MONEY_LEADINGmoney_sign<info>string</info>The currency symbol to be used with the
                      MONEY datatype€money_precision<info>int</info>The precision of the MONEY
                      datatype2float4_precision<info>int</info>Precision of the FLOAT4
                      datatype10float8_precision<info>int</info>Precision of the FLOAT8
                      data10blob_segment_length<info>int</info>The amount of data in bytes to fetch at a time
                      when retrieving BLOB or CLOB data. Defaults to 4096 bytes when not set
                      explicitly8192
                      
                      Sets the allowable input and output format for Ingres dates. Defaults to the
                      value defined by II_DATE_FORMAT. If II_DATE_FORMAT is not set, the default
                      date format is US, for example mm/dd/yy. Valid values for date_format are:
                      INGRES_DATE_DMYINGRES_DATE_FINISHINGRES_DATE_GERMANINGRES_DATE_ISOINGRES_DATE_ISO4INGRES_DATE_MDYINGRES_DATE_MULTINATIONALINGRES_DATE_MULTINATIONAL4INGRES_DATE_YMDINGRES_DATE_US
                      
                      INGRES_DATE_DMY
                      
                      INGRES_DATE_FINISH
                      
                      INGRES_DATE_GERMAN
                      
                      INGRES_DATE_ISO
                      
                      INGRES_DATE_ISO4
                      
                      INGRES_DATE_MDY
                      
                      INGRES_DATE_MULTINATIONAL
                      
                      INGRES_DATE_MULTINATIONAL4
                      
                      INGRES_DATE_YMD
                      
                      INGRES_DATE_US
                      
                      Leading or trailing currency sign. Valid values for money_lort are:
                      INGRES_MONEY_LEADINGINGRES_MONEY_TRAILING
                      
                      INGRES_MONEY_LEADING
                      
                      INGRES_MONEY_TRAILING

<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>ingres_connect()</strong>
   * <strong>ingres_query()</strong>


id: ingres_unbuffered_query
type: function
doc:
<comment>Description:</comment>
  Send an unbuffered  SQL query to Ingres
  
  <strong>ingres_unbuffered_query()</strong> sends the given <strong>$query</strong> to the Ingres server.
  
  The query becomes part of the currently open transaction.  If there is no open transaction,
  <strong>ingres_unbuffered_query()</strong> opens a new transaction. To close the transaction, you can  call either
  <strong>ingres_commit()</strong> to commit the changes made to the database or <strong>ingres_rollback()</strong> to cancel these
  changes. When the script ends, any open transaction is rolled back (by calling <strong>ingres_rollback()</strong>).
  You can also use <strong>ingres_autocommit()</strong> before opening a new transaction to have every SQL query
  immediately committed. Ingres allows only a single unbuffered statement to be active at any one
  time. The extension will close any active unbuffered statements before executing any SQL. In
  addition you cannot use <strong>ingres_result_seek()</strong> to position the row before fetching.
  
  See also the ingres.describe and ingres.utf8 directives in  Runtime Configuration.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link  </strong>  The connection link identifier
  <info>string  </info>  <strong>$query </strong>  A valid SQL query (see the Ingres SQL reference guide) in the Ingres
                     documentation. See the query parameter in <strong>ingres_query()</strong> for a list of SQL
                     statements that cannot be executed via <strong>ingres_unbuffered_query()</strong>.
                     
                     Data inside the query should be properly escaped.
  <info>array   </info>  <strong>$params</strong>  An array of parameter values to be used with the query
  <info>string  </info>  <strong>$types </strong>  A string containing a sequence of types for the parameter values passed. See
                     the types parameter in <strong>ingres_query()</strong> for the list of type codes.

<comment>Return:</comment>
  <info>mixed</info>  <strong>ingres_unbuffered_query()</strong> returns a query result identifier when there are rows to fetch;
         else it returns <info>false</info> when there are no rows, as is the case of an INSERT, UPDATE, or
         DELETE statement. To see if an error occurred, use <strong>ingres_errno()</strong>,  <strong>ingres_error()</strong>, or
         <strong>ingres_errsqlstate()</strong>.

<comment>See Also:</comment>
   * <strong>ingres_query()</strong>
   * <strong>ingres_fetch_array()</strong>
   * <strong>ingres_fetch_assoc()</strong>
   * <strong>ingres_fetch_object()</strong>
   * <strong>ingres_fetch_row()</strong>
   * <strong>ingres_commit()</strong>
   * <strong>ingres_rollback()</strong>
   * <strong>ingres_autocommit()</strong>
   * <strong>ingres_set_environment()</strong>
   * <strong>ingres_errno()</strong>
   * <strong>ingres_error()</strong>


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


id: ini_get
type: function
doc:
<comment>Description:</comment>
  Gets the value of a configuration option
  
  Returns the value of the configuration option on success.

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

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the value of the configuration option as a string on success, or an empty
               string for <return>null</return> values. Returns <info>false</info> if the configuration option doesn't exist.

<comment>See Also:</comment>
   * <strong>get_cfg_var()</strong>
   * <strong>ini_get_all()</strong>
   * <strong>ini_restore()</strong>
   * <strong>ini_set()</strong>


id: ini_get_all
type: function
doc:
<comment>Description:</comment>
  Gets all configuration options
  
  Returns all the registered configuration options.

<comment>Param:</comment>
  <info>string</info>  <strong>$extension</strong>  An optional extension name. If set, the function return only options specific
                      for that extension.
  <info>bool  </info>  <strong>$details  </strong>  Retrieve details settings or only the current value for each setting. Default
                      is <info>true</info> (retrieve details).

<comment>Return:</comment>
  <info>array</info>  Returns an associative array with directive name as the array key. Returns <info>false</info> and raises
         an <info>E_WARNING</info> level error if the <strong>$extension</strong> doesn't exist.
         
         When <strong>$details</strong> is <info>true</info> (default) the array will contain <return>global_value</return> (set in php.ini),
         <return>local_value</return> (perhaps set with <strong>ini_set()</strong> or .htaccess), and <return>access</return> (the access level).
         
         When <strong>$details</strong> is <info>false</info> the value will be the current value of the option.
         
         See the manual section for information on what access levels mean.
         
         It's possible for a directive to have multiple access levels, which is why <return>access</return> shows the
         appropriate bitmask values.

<comment>See Also:</comment>
   * 
   * <strong>ini_get()</strong>
   * <strong>ini_restore()</strong>
   * <strong>ini_set()</strong>
   * <strong>get_loaded_extensions()</strong>
   * <strong>phpinfo()</strong>
   * ReflectionExtension::getINIEntries


id: ini_restore
type: function
doc:
<comment>Description:</comment>
  Restores the value of a configuration option
  
  Restores a given configuration option to its original value.

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

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

<comment>See Also:</comment>
   * <strong>ini_get()</strong>
   * <strong>ini_get_all()</strong>
   * <strong>ini_set()</strong>


id: ini_set
type: function
doc:
<comment>Description:</comment>
  Sets the value of a configuration option
  
  Sets the value of the given configuration option.  The configuration option will keep this new
  value during the script's execution, and will be restored at the script's ending.

<comment>Param:</comment>
  <info>string</info>  <strong>$option</strong>  Not all the available options can be changed using <strong>ini_set()</strong>. There is a list of
                   all available options in the appendix.
  <info>string</info>  <strong>$value </strong>  The new value for the option.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the old value on success, <info>false</info> on failure.

<comment>See Also:</comment>
   * <strong>get_cfg_var()</strong>
   * <strong>ini_get()</strong>
   * <strong>ini_get_all()</strong>
   * <strong>ini_restore()</strong>
   * How to change configuration settings


id: inotify_add_watch
type: function
doc:
<comment>Description:</comment>
  Add a watch to an initialized inotify instance
  
  <strong>inotify_add_watch()</strong> adds a new watch or modify an existing watch for the file or directory
  specified in <strong>$pathname</strong>.
  
  Using <strong>inotify_add_watch()</strong> on a watched object replaces the existing watch. Using the <info>IN_MASK_ADD</info>
  constant adds (OR) events to the existing watch.

<comment>Param:</comment>
  <info>resource</info>  <strong>$inotify_instance</strong>  Resursa întoarsă de
                               <strong>inotify_init()</strong>
  <info>string  </info>  <strong>$pathname        </strong>  File or directory to watch
  <info>int     </info>  <strong>$mask            </strong>  Events to watch for. See Constante predefinite.

<comment>Return:</comment>
  <info>int</info>  The return value is a unique (inotify instance wide) watch descriptor.

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


id: inotify_init
type: function
doc:
<comment>Description:</comment>
  Initialize an inotify instance
  
  Initialize an inotify instance for use with <strong>inotify_add_watch()</strong>

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

<comment>See Also:</comment>
   * <strong>inotify_add_watch()</strong>
   * <strong>inotify_rm_watch()</strong>
   * <strong>inotify_queue_len()</strong>
   * <strong>inotify_read()</strong>
   * <strong>fclose()</strong>


id: inotify_queue_len
type: function
doc:
<comment>Description:</comment>
  Return a number upper than zero if there are pending events
  
  This function allows to know if <strong>inotify_read()</strong> will block or not. If a number upper than zero is
  returned, there are pending events and  <strong>inotify_read()</strong> will not block.

<comment>Param:</comment>
  <info>resource</info>  <strong>$inotify_instance</strong>  Resursa întoarsă de
                               <strong>inotify_init()</strong>

<comment>Return:</comment>
  <info>int</info>  Returns a number upper than zero if there are pending events.

<comment>See Also:</comment>
   * <strong>inotify_init()</strong>
   * <strong>stream_select()</strong>
   * <strong>stream_set_blocking()</strong>


id: inotify_read
type: function
doc:
<comment>Description:</comment>
  Read events from an inotify instance
  
  Read inotify events from an inotify instance.

<comment>Param:</comment>
  <info>resource</info>  <strong>$inotify_instance</strong>  Resursa întoarsă de
                               <strong>inotify_init()</strong>

<comment>Return:</comment>
  <info>array</info>  An array of inotify events or <info>false</info> if no events was pending and <strong>$inotify_instance</strong> is
         non-blocking. Each event is an array with the following keys: wd is a watch descriptor
         returned by <strong>inotify_add_watch()</strong>mask is a bit mask of eventscookie is a unique id to connect
         related events (e.g. <info>IN_MOVE_FROM</info> and <info>IN_MOVE_TO</info>)name is the name of a file (e.g. if a file
         was modified in a watched directory)

<comment>See Also:</comment>
   * <strong>inotify_init()</strong>
   * <strong>stream_select()</strong>
   * <strong>stream_set_blocking()</strong>
   * <strong>inotify_queue_len()</strong>


id: inotify_rm_watch
type: function
doc:
<comment>Description:</comment>
  Remove an existing watch from an inotify instance
  
  <strong>inotify_rm_watch()</strong> removes the watch <strong>$watch_descriptor</strong> from the inotify instance
  <strong>$inotify_instance</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$inotify_instance</strong>  Resursa întoarsă de
                               <strong>inotify_init()</strong>
  <info>int     </info>  <strong>$watch_descriptor</strong>  Watch to remove from the instance

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


id: intdiv
type: function
doc:
<comment>Description:</comment>
  Integer division
  
  Returns the integer quotient of the division of <strong>$num1</strong> by <strong>$num2</strong>.

<comment>Param:</comment>
  <info>int</info>  <strong>$num1</strong>  Number to be divided.
  <info>int</info>  <strong>$num2</strong>  Number which divides the <strong>$num1</strong>.

<comment>Return:</comment>
  <info>int</info>  The integer quotient of the division of <strong>$num1</strong> by <strong>$num2</strong>.

<comment>See Also:</comment>
   * <return>/</return> - Floating-point division
   * <return>%</return> - Integer modulus
   * <strong>fmod()</strong> - Floating-point modulo


id: interface_exists
type: function
doc:
<comment>Description:</comment>
  Checks if the interface has been defined
  
  Checks if the given interface has been defined.

<comment>Param:</comment>
  <info>string</info>  <strong>$interface_name</strong>  The interface name
  <info>bool  </info>  <strong>$autoload      </strong>  Whether to call __autoload or not by default.

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

<comment>See Also:</comment>
   * <strong>get_declared_interfaces()</strong>
   * <strong>class_implements()</strong>
   * <strong>class_exists()</strong>


id: intl_error_name
type: function
doc:
<comment>Description:</comment>
  Get symbolic name for a given error code
  
  Return ICU error code name.

<comment>Param:</comment>
  <info>int</info>  <strong>$error_code</strong>  ICU error code.

<comment>Return:</comment>
  <info>string</info>  The returned string will be the same as the name of the error code constant.

<comment>See Also:</comment>
   * <strong>intl_is_failure()</strong>
   * <strong>intl_get_error_code()</strong>
   * <strong>intl_get_error_message()</strong>


id: intl_get_error_code
type: function
doc:
<comment>Description:</comment>
  Get the last error code
  
  Useful to handle errors occurred in static methods when there's no object to get error code from.

<comment>Return:</comment>
  <info>int</info>  Error code returned by the last API function call.

<comment>See Also:</comment>
   * <strong>intl_is_failure()</strong>
   * <strong>intl_error_name()</strong>
   * <strong>intl_get_error_message()</strong>
   * <strong>collator_get_error_code()</strong>
   * <strong>numfmt_get_error_code()</strong>


id: intl_get_error_message
type: function
doc:
<comment>Description:</comment>
  Get description of the last error
  
  Get error message from last internationalization function called.

<comment>Return:</comment>
  <info>string</info>  Description of an error occurred in the last API function call.

<comment>See Also:</comment>
   * <strong>intl_error_name()</strong>
   * <strong>intl_get_error_code()</strong>
   * <strong>intl_is_failure()</strong>
   * <strong>collator_get_error_message()</strong>
   * <strong>numfmt_get_error_message()</strong>


id: intl_is_failure
type: function
doc:
<comment>Description:</comment>
  Check whether the given error code indicates failure
  
  

<comment>Param:</comment>
  <info>int</info>  <strong>$error_code</strong>  is a value that returned by functions: <strong>intl_get_error_code()</strong>,
                    <strong>collator_get_error_code()</strong> .

<comment>Return:</comment>
  <info>bool</info>  <info>true</info> if it the code indicates some failure, and <info>false</info> in case of success or a warning.

<comment>See Also:</comment>
   * <strong>intl_get_error_code()</strong>
   * <strong>collator_get_error_code()</strong>
   * <strong>Collator-getErrorCode()</strong>


id: intval
type: function
doc:
<comment>Description:</comment>
  Obține valoarea întreagă a unei variabile
  
  Întoarce valoarea de tip <info>integer</info> a parametrului <strong>$var</strong>, utilizând baza <strong>$base</strong> specificată pentru a
  efectua conversia (baza implicită este 10). <strong>intval()</strong> nu trebuie utilizat asupra obiectelor,
  deoarece aceasta va provoca o eroare de nivel <info>E_NOTICE</info> și va întoarce 1.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var </strong>  Valoarea scalară ce va fi convertită într-un integer
  <info>int  </info>  <strong>$base</strong>  Baza pentru efectuarea conversiei
                
                Dacă <strong>$base</strong> este 0, atunci baza utilizată este determinată cu ajutorul formatului
                <strong>$var</strong>:  dacă șirul conține prefixul "0x" (sau "0X"), baza este considerată 16
                (hexazecimală); în caz contrar,  dacă șirul începe cu "0", baza este considerată 8
                (octală); în caz contrar,  baza este considerată 10 (zecimală).
                
                dacă șirul conține prefixul "0x" (sau "0X"), baza este considerată 16
                (hexazecimală); în caz contrar,
                
                dacă șirul începe cu "0", baza este considerată 8 (octală); în caz contrar,
                
                baza este considerată 10 (zecimală).

<comment>Return:</comment>
  <info>int</info>  Valoarea întreagă a <strong>$var</strong> în cazul succesului sau 0 în caz de eșec. Tablourile vide întorc 0,
       tablourile nevide întorc 1.
       
       Valoarea maximală depinde de sistem. Sistemele pe 32 biți au diapazonul maxim al numerelor
       întregi cu semn de la -2147483648 până la 2147483647. Deci, de exemplu, pe un așa sistem
       <return>intval('1000000000000')</return> va întoarce 2147483647. Valoarea maximă pentru numerele întregi cu
       semn pe sistemele pe 64 biți este 9223372036854775807.
       
       String-urile cel mai probabil vor întoarce 0, cu toate că aceasta depinde de caracterul cel
       mai din stânga din string. Regulile obișnuite pentru transformările integer se aplică în
       acest caz.

<comment>See Also:</comment>
   * <strong>boolval()</strong>
   * <strong>floatval()</strong>
   * <strong>strval()</strong>
   * <strong>settype()</strong>
   * <strong>is_numeric()</strong>
   * Manipularea tipurilor
   * Funcțiile matematice de precizie arbitrară BCMath


id: ip2long
type: function
doc:
<comment>Description:</comment>
  Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer
  
  The function <strong>ip2long()</strong> generates a long integer representation of IPv4 Internet network address
  from its Internet standard format (dotted string) representation.
  
  <strong>ip2long()</strong> will also work with non-complete IP addresses. Read
  http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/commtrf2/inet_addr.htm for more info.

<comment>Param:</comment>
  <info>string</info>  <strong>$ip</strong>  A standard format address.

<comment>Return:</comment>
  <info>intfalse</info>  Returns the long integer or <info>false</info> if <strong>$ip</strong> is invalid.

<comment>See Also:</comment>
   * <strong>long2ip()</strong>
   * <strong>sprintf()</strong>


id: iptcembed
type: function
doc:
<comment>Description:</comment>
  Embeds binary IPTC data into a JPEG image
  
  Embeds binary IPTC data into a JPEG image.

<comment>Param:</comment>
  <info>string</info>  <strong>$iptc_data</strong>  The data to be written.
  <info>string</info>  <strong>$filename </strong>  Path to the JPEG image.
  <info>int   </info>  <strong>$spool    </strong>  Spool flag. If the spool flag is less than 2 then the JPEG will be  returned
                      as a string. Otherwise the JPEG will be printed to STDOUT.

<comment>Return:</comment>
  <info>stringbool</info>  If <strong>$spool</strong> is less than 2, the JPEG will be returned, sau <info>false</info> în cazul eșecului.
              Otherwise returns <info>true</info> on success sau <info>false</info> în cazul eșecului.


id: iptcparse
type: function
doc:
<comment>Description:</comment>
  Parse a binary IPTC block into single tags
  
  Parses an IPTC block into its single tags.

<comment>Param:</comment>
  <info>string</info>  <strong>$iptc_block</strong>  A binary IPTC block.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array using the tagmarker as an index and the value as the value. It
              returns <info>false</info> on error or if no IPTC data was found.


id: is_a
type: function
doc:
<comment>Description:</comment>
  Checks if the object is of this class or has this class as one of its parents
  
  Checks if the given <strong>$object</strong> is of this class or has this class as one of its parents.

<comment>Param:</comment>
  <info>mixed </info>  <strong>$object      </strong>  A class name or an object instance.
  <info>string</info>  <strong>$class_name  </strong>  The class name
  <info>bool  </info>  <strong>$allow_string</strong>  If this parameter set to <info>false</info>, string class name as <strong>$object</strong> is not
                         allowed. This also prevents from calling autoloader if the class doesn't
                         exist.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the object is of this class or has this class as one of its parents, <info>false</info>
        otherwise.

<comment>See Also:</comment>
   * <strong>get_class()</strong>
   * <strong>get_parent_class()</strong>
   * <strong>is_subclass_of()</strong>


id: is_array
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este un array
  
  Determină dacă variabila dată este un array.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un <info>array</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_string()</strong>
   * <strong>is_object()</strong>


id: is_bool
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variablă este un boolean
    
  
  Determină dacă variabila dată este un boolean.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un <info>boolean</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_string()</strong>
   * <strong>is_object()</strong>
   * <strong>is_array()</strong>


id: is_callable
type: function
doc:
<comment>Description:</comment>
  Verifică dacă conținutul unei variabile poate fi apelat în calitate de funcție
    
  
  Verifică dacă valoarea este de tip <info>callable</info>.

<comment>Param:</comment>
  <info>mixed </info>  <strong>$var          </strong>  Valoarea spre a fi verificată.
  <info>bool  </info>  <strong>$syntax_only  </strong>  Dacă este stabilit în <info>true</info> atunci funcția verifică numai dacă <strong>$var</strong> poate
                          fi o funcție sau o metodă. Ea doar va respinge variabilele simple care nu
                          sunt stringuri, sau tablourile care nu au structuri valide pentru a fi
                          utilizate în calitate de funcție de apel invers. Cele valide trebuie să
                          aibă doar 2 înregistrări, prima dintre care este un obiect sau un string,
                          și a doua - un string.
  <info>string</info>  <strong>$callable_name</strong>  Primește "denumirea apelabilă". În exemplul de mai jos aceasta este
                          "someClass::someMethod". Observați însă că în ciuda faptului că
                          someClass::SomeMethod() este o metodă apelabilă static, acesta nu este
                          cazul.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este apelabilă, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>function_exists()</strong>
   * <strong>method_exists()</strong>


id: is_countable
type: function
doc:
<comment>Description:</comment>
  Verify that the contents of a variable is a countable value
    
  
  Verify that the contents of a variable is an <info>array</info> or an object implementing <class>Countable</class>

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value</strong>  The value to check

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$value</strong> is countable, <info>false</info>  otherwise.

<comment>See Also:</comment>
   * <strong>is_array()</strong>
   * <strong>is_object()</strong>
   * <strong>is_iterable()</strong>
   * <strong>is_bool()</strong>


id: is_dir
type: function
doc:
<comment>Description:</comment>
  Tells whether the filename is a directory
  
  Tells whether the given filename is a directory.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Path to the file. If <strong>$filename</strong> is a relative filename, it will be checked
                     relative to the current working directory. If <strong>$filename</strong> is a symbolic or hard
                     link  then the link will be resolved and checked. If you have enabled
                     open_basedir further restrictions may apply.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the filename exists and is a directory, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>chdir()</strong>
   * <strong>dir()</strong>
   * <strong>opendir()</strong>
   * <strong>is_file()</strong>
   * <strong>is_link()</strong>


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


id: is_executable
type: function
doc:
<comment>Description:</comment>
  Tells whether the filename is executable
  
  Tells whether the filename is executable.

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

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the filename exists and is executable, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>is_file()</strong>
   * <strong>is_link()</strong>


id: is_file
type: function
doc:
<comment>Description:</comment>
  Tells whether the filename is a regular file
  
  Tells whether the given file is a regular file.

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

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the filename exists and is a regular file, <info>false</info> otherwise.
        
        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_dir()</strong>
   * <strong>is_link()</strong>


id: is_finite
type: function
doc:
<comment>Description:</comment>
  Finds whether a value is a legal finite number
  
  Checks whether <strong>$num</strong> is a legal finite on this platform.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The value to check

<comment>Return:</comment>
  <info>bool</info>  <info>true</info> if <strong>$num</strong> is a legal finite number within the allowed range for a PHP float on this
        platform, else <info>false</info>.

<comment>See Also:</comment>
   * <strong>is_infinite()</strong>
   * <strong>is_nan()</strong>


id: is_float
type: function
doc:
<comment>Description:</comment>
  Determină dacă tipul unei variabile este float
  
  Determină dacă tipul variabilei date este float.
  
  Pentru a verifica dacă o variabilă este un număr sau un string numeric (ca în cazul datelor
  introduse, care întotdeauna este un string), trebuie să utilizați <strong>is_numeric()</strong>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un <info>float</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_bool()</strong>
   * <strong>is_int()</strong>
   * <strong>is_numeric()</strong>
   * <strong>is_string()</strong>
   * <strong>is_array()</strong>
   * <strong>is_object()</strong>


id: is_infinite
type: function
doc:
<comment>Description:</comment>
  Finds whether a value is infinite
  
  Returns <info>true</info> if <strong>$num</strong> is infinite (positive or  negative), like the result of <return>log(0)</return> or any value
  too  big to fit into a float on this platform.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The value to check

<comment>Return:</comment>
  <info>bool</info>  <info>true</info> if <strong>$num</strong> is infinite, else <info>false</info>.

<comment>See Also:</comment>
   * <strong>is_finite()</strong>
   * <strong>is_nan()</strong>


id: is_int
type: function
doc:
<comment>Description:</comment>
  Determină dacă tipul unei variabile este integer
  
  Determină dacă tipul variabilei date este integer.
  
  Pentru a verifica dacă o variabilă este un număr sau un string numeric (ca în cazul datelor
  introduse, care întotdeauna este un string), trebuie să utilizați <strong>is_numeric()</strong>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un <info>integer</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_bool()</strong>
   * <strong>is_float()</strong>
   * <strong>is_numeric()</strong>
   * <strong>is_string()</strong>
   * <strong>is_array()</strong>
   * <strong>is_object()</strong>


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


id: is_iterable
type: function
doc:
<comment>Description:</comment>
  Verify that the contents of a variable is an iterable value
    
  
  Verify that the contents of a variable is accepted by the <info>iterable</info> pseudo-type, i.e. that it is
  either an <info>array</info> or an object implementing <class>Traversable</class>

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value</strong>  The value to check

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$value</strong> is iterable, <info>false</info>  otherwise.

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


id: is_link
type: function
doc:
<comment>Description:</comment>
  Tells whether the filename is a symbolic link
  
  Tells whether the given file is a symbolic link.

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

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the filename exists and is a symbolic link, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>is_dir()</strong>
   * <strong>is_file()</strong>
   * <strong>readlink()</strong>


id: is_nan
type: function
doc:
<comment>Description:</comment>
  Finds whether a value is not a number
  
  Checks whether <strong>$num</strong> is 'not a number',  like the result of <return>acos(1.01)</return>.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The value to check

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if <strong>$num</strong> is 'not a number', else <info>false</info>.

<comment>See Also:</comment>
   * <strong>is_finite()</strong>
   * <strong>is_infinite()</strong>


id: is_null
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este null
    
  
  Determină dacă tipul variabilei date este <info>null</info>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este <info>null</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * Tipul <info>null</info>
   * <strong>isset()</strong>
   * <strong>is_bool()</strong>
   * <strong>is_numeric()</strong>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_string()</strong>
   * <strong>is_object()</strong>
   * <strong>is_array()</strong>


id: is_numeric
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este un număr sau un string numeric
    
  
  Determină dacă variabila dată este numerică. String-urile numerice constau din spațiu opțional,
  semn opțional, orice număr de cifre, partea decimală opțională și partea exponențială opțională.
  Astfel <return>+0123.45e6</return> este o valoare numerică validă. Notarea hexadecimală (de ex. <return>0xf4c3b00c</return>) sau
  binară (de ex. <return>0b10100111001</return>), nu este permisă.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un număr sau un string numeric, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>ctype_digit()</strong>
   * <strong>is_bool()</strong>
   * <strong>is_null()</strong>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_string()</strong>
   * <strong>is_object()</strong>
   * <strong>is_array()</strong>


id: is_object
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este un obiect
  
  Determină dacă variabila dată este un obiect.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un <info>object</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_bool()</strong>
   * <strong>is_int()</strong>
   * <strong>is_float()</strong>
   * <strong>is_string()</strong>
   * <strong>is_array()</strong>


id: is_readable
type: function
doc:
<comment>Description:</comment>
  Tells whether a file exists and is readable
  
  Tells whether a file exists and is readable.

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

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the file or directory specified by <strong>$filename</strong> exists and is readable, <info>false</info>
        otherwise.

<comment>See Also:</comment>
   * <strong>is_writable()</strong>
   * <strong>file_exists()</strong>
   * <strong>fgets()</strong>


id: is_real
type: function
doc:
<comment>Description:</comment>
  Pseudonim pentru is_float
  
  Această funcție este pseudonim pentru:  <strong>is_float()</strong>.
  
  Acest pseudonim este ÎNVECHIT începând cu PHP 7.4.0
  și ELIMINAT începând cu PHP 8.0.0.


id: is_resource
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este o resursă
    
  
  Determină dacă variabila dată este de tip <info>resource</info>.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este o <info>resource</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * Documentația despre tipul resursă
   * <strong>get_resource_type()</strong>


id: is_scalar
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variabilă este un scalar
    
  
  Determină dacă variabila dată este un scalar.
  
  Variabilele scalare sunt acelea ce conțin un <info>integer</info>, <info>float</info>, <info>string</info> sau <info>boolean</info>. Tipurile <info>array</info>,
  <info>object</info> și <info>resource</info> nu sunt scalare.
  
  <strong>is_scalar()</strong> nu consideră valorile de tip <info>resource</info> a fi scalare deoarece resursele sunt tipuri de
  date abstracte care în prezent se bazează pe numere întregi. Nu trebuie de bazat pe acest detaliu
  de implementare, deoarece poate fi schimbat în viitor.
  
  <strong>is_scalar()</strong> nu consideră NULL ca scalar.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este un scalar, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_numeric()</strong>
   * <strong>is_real()</strong>
   * <strong>is_string()</strong>
   * <strong>is_bool()</strong>
   * <strong>is_object()</strong>
   * <strong>is_array()</strong>


id: is_soap_fault
type: function
doc:
<comment>Description:</comment>
  Checks if a SOAP call has failed
  
  This function is useful to check if the SOAP call failed, but without using exceptions. To use it,
  create a  <class>SoapClient</class> object with the <return>exceptions</return> option set to zero or <info>false</info>. In this case, the
  SOAP method will return a special  <class>SoapFault</class> object which encapsulates the fault  details
  (faultcode, faultstring, faultactor and faultdetails).
  
  If <return>exceptions</return> is not set then SOAP call will throw an exception on error. <strong>is_soap_fault()</strong> checks
  if the given parameter is a <class>SoapFault</class> object.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$object</strong>  The object to test.

<comment>Return:</comment>
  <info>bool</info>  This will return <info>true</info> on error, and <info>false</info> otherwise.

<comment>See Also:</comment>
   * SoapClient::SoapClient
   * SoapFault::SoapFault


id: is_string
type: function
doc:
<comment>Description:</comment>
  Determină dacă tipul variabilei este string
  
  Determină dacă tipul variabilei date este string.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila care este evaluată.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> este de tip <info>string</info>, <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>is_float()</strong>
   * <strong>is_int()</strong>
   * <strong>is_bool()</strong>
   * <strong>is_object()</strong>
   * <strong>is_array()</strong>


id: is_subclass_of
type: function
doc:
<comment>Description:</comment>
  Checks if the object has this class as one of its parents or implements it
  
  Checks if the given <strong>$object</strong> has the class <strong>$class_name</strong> as one of its parents or implements it.

<comment>Param:</comment>
  <info>mixed </info>  <strong>$object      </strong>  A class name or an object instance. No error is generated if the class does
                         not exist.
  <info>string</info>  <strong>$class_name  </strong>  The class name
  <info>bool  </info>  <strong>$allow_string</strong>  If this parameter set to false, string class name as <strong>$object</strong> is not
                         allowed. This also prevents from calling autoloader if the class doesn't
                         exist.

<comment>Return:</comment>
  <info>bool</info>  This function returns <info>true</info> if the object <strong>$object</strong>, belongs to a class which is a subclass of
        <strong>$class_name</strong>, <info>false</info> otherwise.

<comment>See Also:</comment>
   * <strong>get_class()</strong>
   * <strong>get_parent_class()</strong>
   * <strong>is_a()</strong>
   * <strong>class_parents()</strong>


id: is_tainted
type: function
doc:
<comment>Description:</comment>
  Checks whether a string is tainted
  
  Checks whether a string is tainted

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

<comment>Return:</comment>
  <info>bool</info>  Return TRUE if the string is tainted, FALSE otherwise.


id: is_uploaded_file
type: function
doc:
<comment>Description:</comment>
  Tells whether the file was uploaded via HTTP POST
  
  Returns <info>true</info> if the file named by <strong>$filename</strong> was uploaded via HTTP POST. This is useful to help
  ensure that a malicious user hasn't tried to trick the script into working on files upon which it
  should not be working--for instance, /etc/passwd.
  
  This sort of check is especially important if there is any chance that anything done with uploaded
  files could reveal their contents to the user, or even to other users on the same system.
  
  For proper working, the function <strong>is_uploaded_file()</strong> needs an argument like
  $_FILES['userfile']['tmp_name'], - the name of the uploaded file on the client's machine
  $_FILES['userfile']['name'] does not work.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The filename being checked.

<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>move_uploaded_file()</strong>
   * $_FILES
   * See Handling file uploads for a simple usage example.


id: is_writable
type: function
doc:
<comment>Description:</comment>
  Tells whether the filename is writable
  
  Returns <info>true</info> if the <strong>$filename</strong> exists and is writable.  The filename argument may be a directory
  name allowing you to check if a directory is writable.
  
  Keep in mind that PHP may be accessing the file as the user id that the web server runs as (often
  'nobody'). Safe mode limitations are not taken into account.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  The filename being checked.

<comment>Return:</comment>
  <info>bool</info>  Returns <info>true</info> if the <strong>$filename</strong> exists and is writable.

<comment>See Also:</comment>
   * <strong>is_readable()</strong>
   * <strong>file_exists()</strong>
   * <strong>fwrite()</strong>


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


id: isset
type: function
doc:
<comment>Description:</comment>
  Determină dacă o variablă este declarată și diferă de null
  
  Determină dacă o variablă este considerată ca fiind stabilită, adică dacă variabila este declarată
  și diferă de <info>null</info>.
  
  Dacă o variabilă a fost eliminată cu <strong>unset()</strong>, ea nu mai este considerată ca fiind stabilită.
  
  <strong>isset()</strong> va întoarce <info>false</info> la testarea unei variabile care a fost stabilită în <info>null</info>. De asemenea
  observați că caracterul nul (<return>"\0"</return>) nu este echivalent cu constanta PHP <info>null</info>.
  
  Dacă se furnizează mai mulți parametri, atunci <strong>isset()</strong> va întoarce <info>true</info> numai dacă toți parametrii
  sunt stabiliți. Evaluarea se petrece de la stânga spre dreapta și se încheie de îndată ce se
  întâlnește o variabilă "ne-stabilită".

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var</strong>  Variabila ce va fi verificată.
  <info>mixed</info>  <strong>$...</strong>  O altă variabilă ...

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă <strong>$var</strong> există și are o valoare diferită de <info>null</info>. <info>false</info> în caz contrar.

<comment>See Also:</comment>
   * <strong>empty()</strong>
   * __isset()
   * <strong>unset()</strong>
   * <strong>defined()</strong>
   * tabelele de comparare a tipurilor
   * <strong>array_key_exists()</strong>
   * <strong>is_null()</strong>
   * operatorul de control al erorilor @


id: iterator_apply
type: function
doc:
<comment>Description:</comment>
  Call a function for every element in an iterator
  
  Calls a function for every element in an iterator.

<comment>Param:</comment>
  <info>Traversable</info>  <strong>$iterator</strong>  The iterator object to iterate over.
  <info>callable   </info>  <strong>$function</strong>  The callback function to call on every element. This function only
                          receives the given <strong>$args</strong>, so it is nullary by default. If <return>count($args) ===
                          3</return>, for instance, the callback function is ternary.  The function must
                          return <info>true</info> in order to continue iterating over the <strong>$iterator</strong>.
                          
                          The function must return <info>true</info> in order to continue iterating over the
                          <strong>$iterator</strong>.
  <info>array      </info>  <strong>$args    </strong>  An <info>array</info> of arguments; each element of <strong>$args</strong> is passed to the callback
                          <strong>$function</strong> as separate argument.

<comment>Return:</comment>
  <info>int</info>  Returns the iteration count.

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


id: iterator_count
type: function
doc:
<comment>Description:</comment>
  Count the elements in an iterator
  
  Count the elements in an iterator. <strong>iterator_count()</strong> is not guaranteed to retain the current
  position of the <strong>$iterator</strong>.

<comment>Param:</comment>
  <info>Traversable</info>  <strong>$iterator</strong>  The iterator being counted.

<comment>Return:</comment>
  <info>int</info>  The number of elements in <strong>$iterator</strong>.


id: iterator_to_array
type: function
doc:
<comment>Description:</comment>
  Copy the iterator into an array
  
  Copy the elements of an iterator into an array.

<comment>Param:</comment>
  <info>Traversable</info>  <strong>$iterator</strong>  The iterator being copied.
  <info>bool       </info>  <strong>$use_keys</strong>  Whether to use the iterator element keys as index.
                          
                          In PHP 5.5 and later, if a key is an <info>array</info> or <info>object</info>, a warning will be
                          generated. <info>null</info> keys will be converted to an empty string, <info>float</info> keys will
                          be truncated to their <info>int</info> counterpart, <info>resource</info> keys will generate a
                          warning and be converted to their resource ID, and <info>bool</info> keys will be
                          converted to integers.
                          
                          If this parameter is not set or set to <info>true</info>, duplicate keys will be
                          overwritten. The last value with a given key will be in the returned
                          <info>array</info>. Set this parameter to <info>false</info> to get all the values in any case.

<comment>Return:</comment>
  <info>array</info>  An <info>array</info> containing the elements of the <strong>$iterator</strong>.


id: jddayofweek
type: function
doc:
<comment>Description:</comment>
  Returns the day of the week
  
  Returns the day of the week.  Can return a string or an integer depending on the mode.

<comment>Param:</comment>
  <info>int</info>  <strong>$julian_day</strong>  A julian day number as integer
  <info>int</info>  <strong>$mode      </strong>  

<comment>Return:</comment>
  <info>intstring</info>  The gregorian weekday as either an integer or string.


id: jdmonthname
type: function
doc:
<comment>Description:</comment>
  Returns a month name
  
  Returns a string containing a month name. <strong>$mode</strong> tells this function which calendar to convert the
  Julian Day Count to, and what type of month names are to be returned. Calendar
  modesModeMeaningValues<info>CAL_MONTH_GREGORIAN_SHORT</info>Gregorian - abbreviatedJan, Feb, Mar, Apr, May,
  Jun, Jul, Aug, Sep, Oct, Nov, Dec<info>CAL_MONTH_GREGORIAN_LONG</info>GregorianJanuary, February, March, April,
  May, June, July, August, September, October, November, December<info>CAL_MONTH_JULIAN_SHORT</info>Julian -
  abbreviatedJan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov,
  Dec<info>CAL_MONTH_JULIAN_LONG</info>JulianJanuary, February, March, April, May, June, July, August, September,
  October, November, December<info>CAL_MONTH_JEWISH</info>JewishTishri, Heshvan, Kislev, Tevet, Shevat, AdarI,
  AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul<info>CAL_MONTH_FRENCH</info>French RepublicanVendemiaire,
  Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor,
  Fructidor, Extra

<comment>Param:</comment>
  <info>   </info>  <strong>$jday</strong>  The Julian Day to operate on
  <info>int</info>  <strong>$mode</strong>  The calendar mode (see table above).

<comment>Return:</comment>
  <info>string</info>  The month name for the given Julian Day and <strong>$mode</strong>.


id: jdtofrench
type: function
doc:
<comment>Description:</comment>
  Converts a Julian Day Count to the French Republican Calendar
  
  Converts a Julian Day Count to the French Republican Calendar.

<comment>Param:</comment>
  <info></info>  <strong>$julianday</strong>  A julian day number as integer

<comment>Return:</comment>
  <info>string</info>  The french revolution date as a string in the form "month/day/year"

<comment>See Also:</comment>
   * <strong>frenchtojd()</strong>
   * <strong>cal_from_jd()</strong>


id: jdtogregorian
type: function
doc:
<comment>Description:</comment>
  Converts Julian Day Count to Gregorian date
  
  Converts Julian Day Count to a string containing the Gregorian date in the format of
  "month/day/year".

<comment>Param:</comment>
  <info>int</info>  <strong>$julian_day</strong>  A julian day number as integer

<comment>Return:</comment>
  <info>string</info>  The gregorian date as a string in the form "month/day/year"

<comment>See Also:</comment>
   * <strong>gregoriantojd()</strong>
   * <strong>cal_from_jd()</strong>


id: jdtojewish
type: function
doc:
<comment>Description:</comment>
  Converts a Julian day count to a Jewish calendar date
  
  Converts a Julian Day Count to the Jewish Calendar.

<comment>Param:</comment>
  <info>    </info>  <strong>$julianday</strong>  A julian day number as integer
  <info>bool</info>  <strong>$hebrew   </strong>  If the <strong>$hebrew</strong> parameter is set to <info>true</info>, the <strong>$flags</strong> parameter is used for
                    Hebrew, ISO-8859-8 encoded string based, output format.
  <info>int </info>  <strong>$flags    </strong>  A bitmask which may consist of <info>CAL_JEWISH_ADD_ALAFIM_GERESH</info>,
                    <info>CAL_JEWISH_ADD_ALAFIM</info> and <info>CAL_JEWISH_ADD_GERESHAYIM</info>.

<comment>Return:</comment>
  <info>string</info>  The Jewish date as a string in the form "month/day/year", or an ISO-8859-8 encoded Hebrew
          date string, according to the <strong>$hebrew</strong> parameter.

<comment>See Also:</comment>
   * <strong>jewishtojd()</strong>
   * <strong>cal_from_jd()</strong>


id: jdtojulian
type: function
doc:
<comment>Description:</comment>
  Converts a Julian Day Count to a Julian Calendar Date
  
  Converts Julian Day Count to a string containing the Julian Calendar Date in the format of
  "month/day/year".

<comment>Param:</comment>
  <info>int</info>  <strong>$julian_day</strong>  A julian day number as integer

<comment>Return:</comment>
  <info>string</info>  The julian date as a string in the form "month/day/year"

<comment>See Also:</comment>
   * <strong>juliantojd()</strong>
   * <strong>cal_from_jd()</strong>


id: jdtounix
type: function
doc:
<comment>Description:</comment>
  Convert Julian Day to Unix timestamp
  
  This function will return a Unix timestamp corresponding to the Julian Day given in <strong>$julian_day</strong>.
  The time returned is UTC.

<comment>Param:</comment>
  <info>int</info>  <strong>$julian_day</strong>  A julian day number between <return>2440588</return> and <return>106751993607888</return> on 64bit systems, or
                    between <return>2440588</return> and <return>2465443</return> on 32bit systems.

<comment>Return:</comment>
  <info>int</info>  The unix timestamp for the start (midnight, not noon) of the given Julian day

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


id: jewishtojd
type: function
doc:
<comment>Description:</comment>
  Converts a date in the Jewish Calendar to Julian Day Count
  
  Although this function can handle dates all the way back to the year 1 (3761 B.C.), such use may
  not be meaningful.  The Jewish calendar has been in use for several thousand years, but in the
  early days there was no formula to determine the start of a month. A new month was started when
  the new moon was first observed.

<comment>Param:</comment>
  <info>int</info>  <strong>$month</strong>  The month as a number from <return>1</return> to <return>13</return>, where <return>1</return> means <return>Tishri</return>, <return>13</return> means <return>Elul</return>, and <return>6</return> and <return>7</return>
               mean <return>Adar</return> in regular years, but <return>Adar I</return> and <return>Adar II</return>, respectively, in leap years.
  <info>int</info>  <strong>$day  </strong>  The day as a number from <return>1</return> to <return>30</return>. If the month has only 29 days, the first day of the
               following month is assumed.
  <info>int</info>  <strong>$year </strong>  The year as a number between 1 and 9999

<comment>Return:</comment>
  <info>int</info>  The julian day for the given jewish date as an integer.

<comment>See Also:</comment>
   * <strong>jdtojewish()</strong>
   * <strong>cal_to_jd()</strong>


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


id: jpeg2wbmp
type: function
doc:
<comment>Description:</comment>
  Convert JPEG image file to WBMP image file
  
  Converts a JPEG file into a WBMP file.

<comment>Param:</comment>
  <info>string</info>  <strong>$jpegname   </strong>  Path to JPEG file.
  <info>string</info>  <strong>$wbmpname   </strong>  Path to destination WBMP file.
  <info>int   </info>  <strong>$dest_height</strong>  Destination image height.
  <info>int   </info>  <strong>$dest_width </strong>  Destination image width.
  <info>int   </info>  <strong>$threshold  </strong>  Threshold value, between 0 and 8 (inclusive).

<comment>Return:</comment>
  <info>bool</info>  Întoarce valoarea <info>true</info> în cazul
        succesului sau <info>false</info> în cazul eșecului.
        
        Însă dacă libgd eșuează să afișeze imaginea, această funcție întoarce <info>true</info>.

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


id: json_decode
type: function
doc:
<comment>Description:</comment>
  Convertește într-o variabilă un șir reprezentat JSON
  
  Preia un șir de caractere reprezentat JSON și îl convertește într-o variabilă PHP.

<comment>Param:</comment>
  <info>string</info>  <strong>$json   </strong>  Șirul (<info>string</info>) reprezentat <strong>$json</strong> care trebuie convertit.
                    
                    Această funcție operează doar cu șiruri codificate în UTF-8.
                    
                    PHP implementează un superset al JSON, după cum este specificat în documentul
                    original RFC 7159.
  <info>bool  </info>  <strong>$assoc  </strong>  Când este <info>true</info>, obiectele JSON vor fi întoarse ca tablouri asociative; când este
                    <info>false</info>, obiectele JSON vor fi întoarse ca obiecte. Când este <info>null</info>, obiectele JSON
                    vor fi întoarse ca tablouri asociative sau obiecte în dependență dacă
                    <info>JSON_OBJECT_AS_ARRAY</info> este setat în <strong>$options</strong>.
  <info>int   </info>  <strong>$depth  </strong>  Limita adâncimii de imbricare specificată de utilizator.
  <info>int   </info>  <strong>$options</strong>  Masca de biți a opțiunilor <info>JSON_BIGINT_AS_STRING</info>, <info>JSON_INVALID_UTF8_IGNORE</info>,
                    <info>JSON_INVALID_UTF8_SUBSTITUTE</info>, <info>JSON_OBJECT_AS_ARRAY</info>, <info>JSON_THROW_ON_ERROR</info>.
                    Efectele acestor constante sunt descrise pe pagina Constante JSON.

<comment>Return:</comment>
  <info>mixed</info>  Întoarce valoarea codificată în <strong>$json</strong> cu tipul PHP corespunzător. Valorile <return>true</return>, <return>false</return> și
         <return>null</return> sunt întoarse ca <info>true</info>, <info>false</info> și <info>null</info> respectiv. <info>null</info> este întors dacă parametrul <strong>$json</strong>
         nu poate fi decodificat sau dacă datele pentru codificare sunt mai adânci decât limita de
         imbricare.

<comment>See Also:</comment>
   * <strong>json_encode()</strong>
   * <strong>json_last_error()</strong>


id: json_encode
type: function
doc:
<comment>Description:</comment>
  Întoarce o reprezentare JSON pentru valoarea dată
  
  Întoarce un șir care conține o reprezentare JSON pentru valoarea (<strong>$value</strong>) dată.
  
  Codificarea este afectată de valoarea parametrului <strong>$options</strong> și adițional codificarea valorilor cu
  virgulă flotantă depinde de valoarea serialize_precision.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value  </strong>  Valoarea (<strong>$value</strong>) care trebuie reprezentată JSON. Poate fi de orice tip cu
                   excepția resource.
                   
                   Toate șirurile cu date trebuie să fie codificate în UTF-8.
                   
                   PHP implementează un superset al JSON, după cum este specificat în documentul
                   original RFC 7159.
  <info>int  </info>  <strong>$options</strong>  O mască de biți, ce constă din <info>JSON_FORCE_OBJECT</info>, <info>JSON_HEX_QUOT</info>, <info>JSON_HEX_TAG</info>,
                   <info>JSON_HEX_AMP</info>, <info>JSON_HEX_APOS</info>, <info>JSON_INVALID_UTF8_IGNORE</info>,
                   <info>JSON_INVALID_UTF8_SUBSTITUTE</info>, <info>JSON_NUMERIC_CHECK</info>, <info>JSON_PARTIAL_OUTPUT_ON_ERROR</info>,
                   <info>JSON_PRESERVE_ZERO_FRACTION</info>, <info>JSON_PRETTY_PRINT</info>, <info>JSON_UNESCAPED_LINE_TERMINATORS</info>,
                   <info>JSON_UNESCAPED_SLASHES</info>, <info>JSON_UNESCAPED_UNICODE</info>, <info>JSON_THROW_ON_ERROR</info>.
                   Comportamentul acestor constante este descris în pagina Constante JSON.
  <info>int  </info>  <strong>$depth  </strong>  Stabilește adâncimea maximă. Trebuie să fie mai mare decât zero.

<comment>Return:</comment>
  <info>string</info>  Întoarce un <info>string</info> reprezentat JSON în caz de succes,  sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * JsonSerializable
   * <strong>json_decode()</strong>
   * <strong>json_last_error()</strong>
   * <strong>serialize()</strong>


id: json_last_error
type: function
doc:
<comment>Description:</comment>
  Întoarce ultima eroare ce a survenit
  
  Întoarce ultima eroare (dacă este prezentă) care a survenit la ultima codificare / decodificare
  JSON, care nu a specificat <info>JSON_THROW_ON_ERROR</info>.

<comment>Return:</comment>
  <info>int</info>  Întoarce un întreg. Valoarea poate fi una din următoarele constante:

<comment>See Also:</comment>
   * <strong>json_last_error_msg()</strong>
   * <strong>json_decode()</strong>
   * <strong>json_encode()</strong>


id: json_last_error_msg
type: function
doc:
<comment>Description:</comment>
  Întoarce șirul de eroare a ultimului apel json_encode() sau json_decode()
  
  Întoarce mesajul de eroare a ultimului apel <strong>json_encode()</strong> sau <strong>json_decode()</strong> care nu a specificat
  <info>JSON_THROW_ON_ERROR</info>.

<comment>Return:</comment>
  <info>string</info>  Întoarce mesajul de eroare în caz de succes sau <return>"No Error"</return> dacă nu s-a produs vre-o
          eroare,  sau <info>false</info> în cazul eșecului.

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


id: judy_type
type: function
doc:
<comment>Description:</comment>
  Return the type of a Judy array
  
  <strong>judy_type()</strong> return an integer corresponding to the Judy  type of the specified Judy <strong>$array</strong>.

<comment>Param:</comment>
  <info>Judy</info>  <strong>$array</strong>  The <class>Judy</class> Array to test.

<comment>Return:</comment>
  <info>int</info>  Return an integer corresponding to a Judy type.


id: judy_version
type: function
doc:
<comment>Description:</comment>
  Return or print the current PHP Judy version
  
  Return a string of the PHP Judy version. If the return value is not used, the string will be
  printed.

<comment>Return:</comment>
  <info>string</info>  Return a string of the PHP Judy version.


id: juliantojd
type: function
doc:
<comment>Description:</comment>
  Converts a Julian Calendar date to Julian Day Count
  
  Valid Range for Julian Calendar 4713 B.C. to 9999 A.D.
  
  Although this function can handle dates all the way back to 4713 B.C., such use may not be
  meaningful. The calendar was created in 46 B.C., but the details did not stabilize until at least
  8 A.D., and perhaps as late at the 4th century. Also, the beginning of a year varied from one
  culture to another - not all accepted January as the first month.
  
  Remember, the current calendar system being used worldwide is the Gregorian calendar.
  <strong>gregoriantojd()</strong> can be used to convert such dates to their Julian Day count.

<comment>Param:</comment>
  <info>int</info>  <strong>$month</strong>  The month as a number from 1 (for January) to 12 (for December)
  <info>int</info>  <strong>$day  </strong>  The day as a number from 1 to 31
  <info>int</info>  <strong>$year </strong>  The year as a number between -4713 and 9999

<comment>Return:</comment>
  <info>int</info>  The julian day for the given julian date as an integer.

<comment>See Also:</comment>
   * <strong>jdtojulian()</strong>
   * <strong>cal_to_jd()</strong>


id: key
type: function
doc:
<comment>Description:</comment>
  Fetch a key from an array
  
  <strong>key()</strong> returns the index element of the current array position.

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

<comment>Return:</comment>
  <info>intstringnull</info>  The <strong>key()</strong> function simply returns the key of the array element that's currently
                 being pointed to by the internal pointer.  It does not move the pointer in any way.
                 If the internal pointer points beyond the end of the elements list or the array is
                 empty, <strong>key()</strong> returns <info>null</info>.

<comment>See Also:</comment>
   * <strong>current()</strong>
   * <strong>next()</strong>
   * foreach


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


id: krsort
type: function
doc:
<comment>Description:</comment>
  Sort an array by key in reverse order
  
  Sorts an array by key in reverse order, maintaining key to data correlations. This is useful
  mainly for associative arrays.

<comment>Param:</comment>
  <info>array</info>  <strong>$array</strong>  The input array.
  <info>int  </info>  <strong>$flags</strong>  The optional second parameter <strong>$flags</strong> may be used to modify the sorting behavior
                 using these values:
                 
                 Sorting type flags: <info>SORT_REGULAR</info> - compare items normally; the details are
                 described in the comparison operators section<info>SORT_NUMERIC</info> - compare items
                 numerically<info>SORT_STRING</info> - compare items as strings<info>SORT_LOCALE_STRING</info> - compare items
                 as strings, based on the current locale. It uses the locale, which can be changed
                 using <strong>setlocale()</strong> <info>SORT_NATURAL</info> - compare items as strings using "natural ordering"
                 like <strong>natsort()</strong> <info>SORT_FLAG_CASE</info> - can be combined (bitwise OR) with <info>SORT_STRING</info> or
                 <info>SORT_NATURAL</info> to sort strings case-insensitively
                 
                 <info>SORT_REGULAR</info> - compare items normally; the details are described in the comparison
                 operators section
                 
                 <info>SORT_NUMERIC</info> - compare items numerically
                 
                 <info>SORT_STRING</info> - compare items as strings
                 
                 <info>SORT_LOCALE_STRING</info> - compare items as strings, based on the current locale. It uses
                 the locale, which can be changed using <strong>setlocale()</strong>
                 
                 <info>SORT_NATURAL</info> - compare items as strings using "natural ordering" like <strong>natsort()</strong>
                 
                 <info>SORT_FLAG_CASE</info> - can be combined (bitwise OR) with <info>SORT_STRING</info> or <info>SORT_NATURAL</info> to
                 sort strings case-insensitively

<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>arsort()</strong>
   * <strong>ksort()</strong>
   * Comparația funcțiilor de sortare a tablourilor


id: ksort
type: function
doc:
<comment>Description:</comment>
  Sort an array by key
  
  Sorts an array by key, maintaining key to data correlations. This is useful mainly for associative
  arrays.

<comment>Param:</comment>
  <info>array</info>  <strong>$array</strong>  The input array.
  <info>int  </info>  <strong>$flags</strong>  The optional second parameter <strong>$flags</strong> may be used to modify the sorting behavior
                 using these values:
                 
                 Sorting type flags: <info>SORT_REGULAR</info> - compare items normally; the details are
                 described in the comparison operators section<info>SORT_NUMERIC</info> - compare items
                 numerically<info>SORT_STRING</info> - compare items as strings<info>SORT_LOCALE_STRING</info> - compare items
                 as strings, based on the current locale. It uses the locale, which can be changed
                 using <strong>setlocale()</strong> <info>SORT_NATURAL</info> - compare items as strings using "natural ordering"
                 like <strong>natsort()</strong> <info>SORT_FLAG_CASE</info> - can be combined (bitwise OR) with <info>SORT_STRING</info> or
                 <info>SORT_NATURAL</info> to sort strings case-insensitively
                 
                 <info>SORT_REGULAR</info> - compare items normally; the details are described in the comparison
                 operators section
                 
                 <info>SORT_NUMERIC</info> - compare items numerically
                 
                 <info>SORT_STRING</info> - compare items as strings
                 
                 <info>SORT_LOCALE_STRING</info> - compare items as strings, based on the current locale. It uses
                 the locale, which can be changed using <strong>setlocale()</strong>
                 
                 <info>SORT_NATURAL</info> - compare items as strings using "natural ordering" like <strong>natsort()</strong>
                 
                 <info>SORT_FLAG_CASE</info> - can be combined (bitwise OR) with <info>SORT_STRING</info> or <info>SORT_NATURAL</info> to
                 sort strings case-insensitively

<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>asort()</strong>
   * Comparația funcțiilor de sortare a tablourilor


id: lcfirst
type: function
doc:
<comment>Description:</comment>
  Make a string's first character lowercase
  
  Returns a string with the first character of <strong>$string</strong> lowercased if that character is alphabetic.
  
  Note that 'alphabetic' is determined by the current locale. For instance, in the default "C"
  locale characters such as umlaut-a (ä) will not be converted.

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

<comment>Return:</comment>
  <info>string</info>  Returns the resulting string.

<comment>See Also:</comment>
   * <strong>ucfirst()</strong>
   * <strong>strtolower()</strong>
   * <strong>strtoupper()</strong>
   * <strong>ucwords()</strong>


id: lcg_value
type: function
doc:
<comment>Description:</comment>
  Combined linear congruential generator
  
  <strong>lcg_value()</strong> returns a pseudo random number in the range of (0, 1).  The function combines two CGs
  with periods of 2^31 - 85 and 2^31 - 249. The period of this function is equal to the product of
  both primes.
  
  Această funcție nu generează valori securizate din punct de vedere
  criptografic și deci nu trebuie utilizată pentru scopuri criptografice. Dacă
  aveți nevoie de o valoare securizată din punct de vedere criptografic considerați
  utilizarea <strong>random_int()</strong>, <strong>random_bytes()</strong> sau
  <strong>openssl_random_pseudo_bytes()</strong> în schimb.

<comment>Return:</comment>
  <info>float</info>  A pseudo random float value between 0.0 and 1.0, inclusive.

<comment>See Also:</comment>
   * <strong>rand()</strong>
   * <strong>mt_rand()</strong>


id: lchgrp
type: function
doc:
<comment>Description:</comment>
  Changes group ownership of symlink
  
  Attempts to change the group of the symlink <strong>$filename</strong> to <strong>$group</strong>.
  
  Only the superuser may change the group of a symlink arbitrarily; other users may change the group
  of a symlink to any group of which that user is a member.

<comment>Param:</comment>
  <info>string   </info>  <strong>$filename</strong>  Path to the symlink.
  <info>stringint</info>  <strong>$group   </strong>  The group specified by name or number.

<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>chgrp()</strong>
   * <strong>lchown()</strong>
   * <strong>chown()</strong>
   * <strong>chmod()</strong>


id: lchown
type: function
doc:
<comment>Description:</comment>
  Changes user ownership of symlink
  
  Attempts to change the owner of the symlink <strong>$filename</strong> to user <strong>$user</strong>.
  
  Only the superuser may change the owner of a symlink.

<comment>Param:</comment>
  <info>string   </info>  <strong>$filename</strong>  Path to the file.
  <info>stringint</info>  <strong>$user    </strong>  User name or number.

<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>chown()</strong>
   * <strong>lchgrp()</strong>
   * <strong>chgrp()</strong>
   * <strong>chmod()</strong>


id: ldap_8859_to_t61
type: function
doc:
<comment>Description:</comment>
  Translate 8859 characters to t61 characters
  
  Translate <return>ISO-8859</return> characters to <return>t61</return> characters.
  
  This function is useful if you have to talk to a legacy  <return>LDAPv2</return> server.

<comment>Param:</comment>
  <info>string</info>  <strong>$value</strong>  The text to be translated.

<comment>Return:</comment>
  <info>stringfalse</info>  Return the <return>t61</return> translation of <strong>$value</strong>,  sau <info>false</info> în cazul eșecului.

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


id: ldap_add
type: function
doc:
<comment>Description:</comment>
  Add entries to LDAP directory
  
  Add entries in the LDAP directory.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn      </strong>  The distinguished name of an LDAP entity.
  <info>array    </info>  <strong>$entry   </strong>  An array that specifies the information about the entry. The values in the
                        entries are indexed by individual attributes. In case of multiple values for
                        an attribute, they are indexed using integers starting with 0.  ]]>
  <info>arraynull</info>  <strong>$controls</strong>  Array of LDAP Controls to send with the request.

<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>ldap_add_ext()</strong>
   * <strong>ldap_delete()</strong>


id: ldap_add_ext
type: function
doc:
<comment>Description:</comment>
  Add entries to LDAP directory
  
  Does the same thing as <strong>ldap_add()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_add()</strong>
   * <strong>ldap_parse_result()</strong>


id: ldap_bind
type: function
doc:
<comment>Description:</comment>
  Bind to LDAP directory
  
  Binds to the LDAP directory with specified RDN and password.

<comment>Param:</comment>
  <info>resource  </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>stringnull</info>  <strong>$dn      </strong>  
  <info>stringnull</info>  <strong>$password</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>ldap_bind_ext()</strong>
   * <strong>ldap_unbind()</strong>


id: ldap_bind_ext
type: function
doc:
<comment>Description:</comment>
  Bind to LDAP directory
  
  Does the same thing as <strong>ldap_bind()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_bind()</strong>
   * <strong>ldap_parse_result()</strong>


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


id: ldap_compare
type: function
doc:
<comment>Description:</comment>
  Compare value of attribute found in entry specified with DN
  
  Compare <strong>$value</strong> of <strong>$attribute</strong> with value of same attribute in an LDAP directory entry.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap     </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn       </strong>  The distinguished name of an LDAP entity.
  <info>string   </info>  <strong>$attribute</strong>  The attribute name.
  <info>string   </info>  <strong>$value    </strong>  The compared value.
  <info>arraynull</info>  <strong>$controls </strong>  Array of LDAP Controls to send with the request.

<comment>Return:</comment>
  <info>boolint</info>  Returns <info>true</info> if <strong>$value</strong> matches otherwise returns <info>false</info>. Returns -1 on error.


id: ldap_connect
type: function
doc:
<comment>Description:</comment>
  Connect to an LDAP server
  
  The following signature is still supported for backwards compatibility (except for using named
  parameters), but is considered deprecated and should not be used anymore!
  
  Creates an LDAP link identifier and checks whether the given <strong>$uri</strong> is plausible.
  
  This function does not open a connection. It checks whether the given parameters are plausible and
  can be used to open a connection as soon as one is needed.

<comment>Param:</comment>
  <info>stringnull</info>  <strong>$uri </strong>  A full LDAP URI of the form <return>ldap://hostname:port</return> or <return>ldaps://hostname:port</return> for
                     SSL encryption.
                     
                     You can also provide multiple LDAP-URIs separated by a space as one string
                     
                     Note that <return>hostname:port</return> is not a supported LDAP URI as the schema is missing.
  <info>string    </info>  <strong>$host</strong>  The hostname to connect to.
  <info>int       </info>  <strong>$port</strong>  The port to connect to.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns a positive LDAP link identifier when the provided LDAP URI seems plausible.
                 It's a syntactic check of the provided parameter but the server(s) will not be
                 contacted! If the syntactic check fails it returns <info>false</info>. <strong>ldap_connect()</strong> will
                 otherwise return a <info>resource</info> as it does not actually connect but just initializes
                 the connecting parameters.  The actual connect happens with the next calls to
                 ldap_* funcs, usually with <strong>ldap_bind()</strong>.
                 
                 If no argument is specified then the link identifier of the already opened link
                 will be returned.

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


id: ldap_control_paged_result
type: function
doc:
<comment>Description:</comment>
  Send LDAP pagination control
  
  Enable LDAP pagination by sending the pagination control (page size, cookie...).

<comment>Param:</comment>
  <info>resource</info>  <strong>$link      </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>int     </info>  <strong>$pagesize  </strong>  The number of entries by page.
  <info>bool    </info>  <strong>$iscritical</strong>  Indicates whether the pagination is critical or not.  If true and if the
                         server doesn't support pagination, the search will return no result.
  <info>string  </info>  <strong>$cookie    </strong>  An opaque structure sent by the server
                         (<strong>ldap_control_paged_result_response()</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>ldap_control_paged_result_response()</strong>
   * RFC2696 : LDAP Control Extension for Simple
    Paged Results Manipulation


id: ldap_control_paged_result_response
type: function
doc:
<comment>Description:</comment>
  Retrieve the LDAP pagination cookie
  
  Retrieve the pagination information send by the server.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link     </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result   </strong>  
  <info>string  </info>  <strong>$cookie   </strong>  An opaque structure sent by the server.
  <info>int     </info>  <strong>$estimated</strong>  The estimated number of entries to retrieve.

<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>ldap_control_paged_result()</strong>
   * RFC2696 : LDAP Control Extension for Simple
    Paged Results Manipulation


id: ldap_count_entries
type: function
doc:
<comment>Description:</comment>
  Count the number of entries in a search
  
  Returns the number of entries stored in the result of previous search operations.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result</strong>  The internal LDAP result.

<comment>Return:</comment>
  <info>int</info>  Returns number of entries in the result or <info>false</info> on error.


id: ldap_delete
type: function
doc:
<comment>Description:</comment>
  Delete an entry from a directory
  
  Deletes a particular entry in LDAP directory.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn      </strong>  The distinguished name of an LDAP entity.
  <info>arraynull</info>  <strong>$controls</strong>  Array of LDAP Controls to send with the request.

<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>ldap_delete_ext()</strong>
   * <strong>ldap_add()</strong>


id: ldap_delete_ext
type: function
doc:
<comment>Description:</comment>
  Delete an entry from a directory
  
  Does the same thing as <strong>ldap_delete()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_delete()</strong>
   * <strong>ldap_parse_result()</strong>


id: ldap_dn2ufn
type: function
doc:
<comment>Description:</comment>
  Convert DN to User Friendly Naming format
  
  Turns the specified <strong>$dn</strong>, into a more user-friendly form, stripping off type names.

<comment>Param:</comment>
  <info>string</info>  <strong>$dn</strong>  The distinguished name of an LDAP entity.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the user friendly name,  sau <info>false</info> în cazul eșecului.


id: ldap_err2str
type: function
doc:
<comment>Description:</comment>
  Convert LDAP error number into string error message
  
  Returns the string error message explaining the error number <strong>$errno</strong>. While LDAP errno numbers are
  standardized, different libraries return different or even localized textual error messages. Never
  check for a specific error message text, but always use an error number to check.

<comment>Param:</comment>
  <info>int</info>  <strong>$errno</strong>  The error number.

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

<comment>See Also:</comment>
   * <strong>ldap_errno()</strong>
   * <strong>ldap_error()</strong>


id: ldap_errno
type: function
doc:
<comment>Description:</comment>
  Return the LDAP error number of the last LDAP command
  
  Returns the standardized error number returned by the last LDAP command. This number can be
  converted into a textual error message using <strong>ldap_err2str()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap</strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.

<comment>Return:</comment>
  <info>int</info>  Return the LDAP error number of the last LDAP command for this link.

<comment>See Also:</comment>
   * <strong>ldap_err2str()</strong>
   * <strong>ldap_error()</strong>


id: ldap_error
type: function
doc:
<comment>Description:</comment>
  Return the LDAP error message of the last LDAP command
  
  Returns the string error message explaining the error generated by the last LDAP command for the
  given <strong>$ldap</strong>. While LDAP errno numbers are standardized, different libraries return different or
  even localized textual error messages. Never check for a specific error message text, but always
  use an error number to check.
  
  Unless you lower your warning level in your php.ini sufficiently or prefix your LDAP commands with
  <return>@</return> (at) characters to suppress warning output, the errors generated will also show up in your HTML
  output.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap</strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.

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

<comment>See Also:</comment>
   * <strong>ldap_err2str()</strong>
   * <strong>ldap_errno()</strong>


id: ldap_escape
type: function
doc:
<comment>Description:</comment>
  Escape a string for use in an LDAP filter or DN
  
  Escapes <strong>$value</strong> for use in the context implied by <strong>$flags</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$value </strong>  The value to escape.
  <info>string</info>  <strong>$ignore</strong>  Characters to ignore when escaping.
  <info>int   </info>  <strong>$flags </strong>  The context the escaped string will be used in: <info>LDAP_ESCAPE_FILTER</info> for filters to
                   be used with <strong>ldap_search()</strong>, or <info>LDAP_ESCAPE_DN</info> for DNs. If neither flag is passed,
                   all chars are escaped.

<comment>Return:</comment>
  <info>string</info>  Returns the escaped string.


id: ldap_exop
type: function
doc:
<comment>Description:</comment>
  Performs an extended operation
  
  Performs an extended operation on the specified <strong>$link</strong> with <strong>$reqoid</strong> the OID of the operation and
  <strong>$reqdata</strong> the data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link       </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string  </info>  <strong>$reqoid     </strong>  The extended operation request OID. You may use one of
                          <info>LDAP_EXOP_START_TLS</info>, <info>LDAP_EXOP_MODIFY_PASSWD</info>, <info>LDAP_EXOP_REFRESH</info>,
                          <info>LDAP_EXOP_WHO_AM_I</info>, <info>LDAP_EXOP_TURN</info>, or a string with the OID of the
                          operation you want to send.
  <info>string  </info>  <strong>$reqdata    </strong>  The extended operation request data. May be NULL for some operations like
                          <info>LDAP_EXOP_WHO_AM_I</info>, may also need to be BER encoded.
  <info>array   </info>  <strong>$serverctrls</strong>  Array of LDAP Controls to send with the request.
  <info>string  </info>  <strong>$retdata    </strong>  Will be filled with the extended operation response data if provided. If
                          not provided you may use ldap_parse_exop on the result object later to get
                          this data.
  <info>string  </info>  <strong>$retoid     </strong>  Will be filled with the response OID if provided, usually equal to the
                          request OID.

<comment>Return:</comment>
  <info>mixed</info>  When used with <strong>$retdata</strong>, returns <info>true</info> on success or <info>false</info> on error. When used without
         <strong>$retdata</strong>, returns a result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_parse_result()</strong>
   * <strong>ldap_parse_exop()</strong>
   * <strong>ldap_exop_whoami()</strong>
   * <strong>ldap_exop_refresh()</strong>
   * <strong>ldap_exop_passwd()</strong>


id: ldap_exop_passwd
type: function
doc:
<comment>Description:</comment>
  PASSWD extended operation helper
  
  Performs a PASSWD extended operation.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap        </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string  </info>  <strong>$user        </strong>  dn of the user to change the password of.
  <info>string  </info>  <strong>$old_password</strong>  The old password of this user. May be ommited depending of server
                           configuration.
  <info>string  </info>  <strong>$new_password</strong>  The new password for this user. May be omitted or empty to have a
                           generated password.
  <info>array   </info>  <strong>$controls    </strong>  If provided, a password policy request control is send with the request
                           and this is filled with an array of LDAP Controls returned with the
                           request.

<comment>Return:</comment>
  <info>stringbool</info>  Returns the generated password if <strong>$new_password</strong> is empty or omitted. Otherwise returns
              <info>true</info> on success and <info>false</info> on failure.

<comment>See Also:</comment>
   * <strong>ldap_exop()</strong>
   * <strong>ldap_parse_exop()</strong>


id: ldap_exop_refresh
type: function
doc:
<comment>Description:</comment>
  Refresh extended operation helper
  
  Performs a Refresh extended operation and returns the data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap</strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string  </info>  <strong>$dn  </strong>  dn of the entry to refresh.
  <info>int     </info>  <strong>$ttl </strong>  Time in seconds (between 1 and 31557600) that the client requests that the entry
                   exists in the directory before being automatically removed.

<comment>Return:</comment>
  <info>intfalse</info>  From RFC: The responseTtl field is the time in seconds which the server chooses to have
            as the time-to-live field for that entry.  It must not be any smaller than that which
            the client requested, and it may be larger. However, to allow servers to maintain a
            relatively accurate directory, and to prevent clients from abusing the dynamic
            extensions, servers are permitted to shorten a client-requested time-to-live value, down
            to a minimum of 86400 seconds (one day).
             <info>false</info> will be returned on error.

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


id: ldap_exop_whoami
type: function
doc:
<comment>Description:</comment>
  WHOAMI extended operation helper
  
  Performs a WHOAMI extended operation and returns the data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap</strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.

<comment>Return:</comment>
  <info>stringbool</info>  The data returned by the server, or <info>false</info> on error.

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


id: ldap_explode_dn
type: function
doc:
<comment>Description:</comment>
  Splits DN into its component parts
  
  Splits the DN returned by <strong>ldap_get_dn()</strong> and breaks it up into its component parts. Each part is
  known as Relative Distinguished Name, or RDN.

<comment>Param:</comment>
  <info>string</info>  <strong>$dn         </strong>  The distinguished name of an LDAP entity.
  <info>int   </info>  <strong>$with_attrib</strong>  Used to request if the RDNs are returned with only values or their
                        attributes as well.  To get RDNs with the attributes (i.e. in
                        attribute=value format) set <strong>$with_attrib</strong> to 0 and to get only values set it
                        to 1.

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array of all DN components,  sau <info>false</info> în cazul eșecului. The first element
              in the array has <return>count</return> key and represents the number of returned values, next elements
              are numerically indexed DN components.


id: ldap_first_attribute
type: function
doc:
<comment>Description:</comment>
  Return first attribute
  
  Gets the first attribute in the given entry. Remaining attributes are retrieved by calling
  <strong>ldap_next_attribute()</strong> successively.
  
  Similar to reading entries, attributes are also read one by one from a particular entry.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap          </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry         </strong>  
  <info>        </info>  <strong>$ber_identifier</strong>  <strong>$ber_identifier</strong> is the identifier to internal memory location pointer.
                             It is passed by reference. The same <strong>$ber_identifier</strong> is passed to
                             <strong>ldap_next_attribute()</strong> , which modifies that pointer.
                             
                             This parameter is no longer used as this is now handled automatically
                             by PHP. For backwards compatibility PHP will not throw an error if this
                             parameter is passed.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the first attribute in the entry on success and <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_next_attribute()</strong>
   * <strong>ldap_get_attributes()</strong>


id: ldap_first_entry
type: function
doc:
<comment>Description:</comment>
  Return first result id
  
  Returns the entry identifier for first entry in the result. This entry identifier is then supplied
  to <strong>ldap_next_entry()</strong> routine to get successive entries from the result.
  
  Entries in the LDAP result are read sequentially using the <strong>ldap_first_entry()</strong> and
  <strong>ldap_next_entry()</strong> functions.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result</strong>  

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns the result entry identifier for the first entry on success and <info>false</info> on
                 error.

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


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

<comment>Return:</comment>
  <info>resourcefalse</info>  


id: ldap_free_result
type: function
doc:
<comment>Description:</comment>
  Free result memory
  
  Frees up the memory allocated internally to store the result. All result memory will be
  automatically freed when the script terminates.
  
  Typically all the memory allocated for the LDAP result gets freed at the end of the script. In
  case the script is making successive searches which return large result sets, <strong>ldap_free_result()</strong>
  could be called to keep the runtime memory usage by the script low.

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

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


id: ldap_get_attributes
type: function
doc:
<comment>Description:</comment>
  Get attributes from a search result entry
  
  Reads attributes and values from an entry in the search result.
  
  Having located a specific entry in the directory, you can find out what information is held for
  that entry by using this call. You would use this call for an application which "browses"
  directory entries and/or where you do not know the structure of the directory entries. In many
  applications you will be searching for a specific attribute such as an email address or a surname,
  and won't care what other data is held.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry</strong>  

<comment>Return:</comment>
  <info>array</info>  Returns a complete entry information in a multi-dimensional array on success and <info>false</info> on
         error.

<comment>See Also:</comment>
   * <strong>ldap_first_attribute()</strong>
   * <strong>ldap_next_attribute()</strong>


id: ldap_get_dn
type: function
doc:
<comment>Description:</comment>
  Get the DN of a result entry
  
  Finds out the DN of an entry in the result.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry</strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the DN of the result entry and <info>false</info> on error.


id: ldap_get_entries
type: function
doc:
<comment>Description:</comment>
  Get all result entries
  
  Reads multiple entries from the given result, and then reading the attributes and multiple values.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result</strong>  

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns a complete result information in a multi-dimensional array on success and
              <info>false</info> on error.
              
              The structure of the array is as follows. The attribute index is converted to
              lowercase. (Attributes are case-insensitive for directory servers, but not when used
              as array indices.)

<comment>See Also:</comment>
   * <strong>ldap_first_entry()</strong>
   * <strong>ldap_next_entry()</strong>


id: ldap_get_option
type: function
doc:
<comment>Description:</comment>
  Get the current value for given option
  
  Sets <strong>$value</strong> to the value of the specified option.

<comment>Param:</comment>
  <info>resource      </info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>int           </info>  <strong>$option</strong>  The parameter <strong>$option</strong> can be one of:
                           OptionTypesince<info>LDAP_OPT_DEREF</info><info>int</info><info>LDAP_OPT_SIZELIMIT</info><info>int</info><info>LDAP_OPT_TIMELIMIT</info><info>int</info><info>LDAP_OPT_NETWORK_TIMEOUT</info><info>int</info><info>LDAP_OPT_PROTOCOL_VERSION</info><info>int</info><info>LDAP_OPT_ERROR_NUMBER</info><info>int</info><info>LDAP_OPT_DIAGNOSTIC_MESSAGE</info><info>int</info><info>LDAP_OPT_REFERRALS</info><info>int</info><info>LDAP_OPT_RESTART</info><info>int</info><info>LDAP_OPT_HOST_NAME</info><info>string</info><info>LDAP_OPT_ERROR_STRING</info><info>string</info><info>LDAP_OPT_MATCHED_DN</info><info>string</info><info>LDAP_OPT_SERVER_CONTROLS</info><info>array</info><info>LDAP_OPT_CLIENT_CONTROLS</info><info>array</info><info>LDAP_OPT_X_KEEPALIVE_IDLE</info><info>int</info>7.1<info>LDAP_OPT_X_KEEPALIVE_PROBES</info><info>int</info>7.1<info>LDAP_OPT_X_KEEPALIVE_INTERVAL</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_CACERTDIR</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_CACERTFILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_CERTFILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_CIPHER_SUITE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_CRLCHECK</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_CRL_NONE</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_CRL_PEER</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_CRL_ALL</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_CRLFILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_DHFILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_KEYILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_PACKAGE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_PROTOCOL_MIN</info><info>int</info>7.1<info>LDAP_OPT_X_TLS_RANDOM_FILE</info><info>string</info>7.1<info>LDAP_OPT_X_TLS_REQUIRE_CERT</info><info>int</info>
  <info>arraystringint</info>  <strong>$value </strong>  This will be set to the option value.

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


id: ldap_get_values
type: function
doc:
<comment>Description:</comment>
  Get all values from a result entry
  
  Reads all the values of the attribute in the entry in the result.
  
  This call needs a <strong>$entry</strong>, so needs to be preceded by one of the ldap search calls and one of the
  calls to get an individual entry.
  
  You application will either be hard coded to look for certain attributes (such as "surname" or
  "mail") or you will have to use the <strong>ldap_get_attributes()</strong> call to work out what attributes exist
  for a given entry.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap     </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry    </strong>  
  <info>string  </info>  <strong>$attribute</strong>  

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array of values for the attribute on success and <info>false</info> on error. The number
              of values can be found by indexing "count" in the resultant array. Individual values
              are accessed by integer index in the array.  The first index is 0.
              
              LDAP allows more than one entry for an attribute, so it can, for example, store a
              number of email addresses for one person's directory entry all labeled with the
              attribute "mail"  return_value["count"] = number of values for attribute
              return_value[0] = first value of attribute return_value[i] = ith value of attribute

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


id: ldap_get_values_len
type: function
doc:
<comment>Description:</comment>
  Get all binary values from a result entry
  
  Reads all the values of the attribute in the entry in the result.
  
  This function is used exactly like <strong>ldap_get_values()</strong> except that it handles binary data and not
  string data.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap     </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry    </strong>  
  <info>string  </info>  <strong>$attribute</strong>  

<comment>Return:</comment>
  <info>arrayfalse</info>  Returns an array of values for the attribute on success and <info>false</info> on error. Individual
              values are accessed by integer index in the array. The first index is 0. The number of
              values can be found by indexing "count" in the resultant array.

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


id: ldap_list
type: function
doc:
<comment>Description:</comment>
  Single-level search
  
  Performs the search for a specified <strong>$filter</strong> on the directory with the scope <info>LDAP_SCOPE_ONELEVEL</info>.
  
  <info>LDAP_SCOPE_ONELEVEL</info> means that the search should only return information that is at the level
  immediately below the <strong>$base</strong> given in the call. (Equivalent to typing "ls" and getting a list of
  files and folders in the current working directory.)

<comment>Param:</comment>
  <info>resourcearray</info>  <strong>$ldap           </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>arraystring  </info>  <strong>$base           </strong>  The base DN for the directory.
  <info>arraystring  </info>  <strong>$filter         </strong>  
  <info>array        </info>  <strong>$attributes     </strong>  An array of the required attributes, e.g. array("mail", "sn",
                                   "cn"). Note that the "dn" is always returned irrespective of
                                   which attributes types are requested.
                                   
                                   Using this parameter is much more efficient than the default
                                   action (which is to return all attributes and their associated
                                   values). The use of this parameter should therefore be considered
                                   good practice.
  <info>int          </info>  <strong>$attributes_only</strong>  Should be set to 1 if only attribute types are wanted. If set to
                                   0 both attributes types and attribute values are fetched which is
                                   the default behaviour.
  <info>int          </info>  <strong>$sizelimit      </strong>  Enables you to limit the count of entries fetched. Setting this
                                   to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset sizelimit. You
                                   can set it lower though.
                                   
                                   Some directory server hosts will be configured to return no more
                                   than a preset number of entries. If this occurs, the server will
                                   indicate that it has only returned a partial results set. This
                                   also occurs if you use this parameter to limit the count of
                                   fetched entries.
  <info>int          </info>  <strong>$timelimit      </strong>  Sets the number of seconds how long is spend on the search.
                                   Setting this to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset timelimit. You
                                   can set it lower though.
  <info>int          </info>  <strong>$deref          </strong>  Specifies how aliases should be handled during the search. It can
                                   be one of the following: <info>LDAP_DEREF_NEVER</info> - (default) aliases are
                                   never dereferenced. <info>LDAP_DEREF_SEARCHING</info> - aliases should be
                                   dereferenced during the search but not when locating the base
                                   object of the search. <info>LDAP_DEREF_FINDING</info> - aliases should be
                                   dereferenced when locating the base object but not during the
                                   search. <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced
                                   always.
                                   
                                   <info>LDAP_DEREF_NEVER</info> - (default) aliases are never dereferenced.
                                   
                                   <info>LDAP_DEREF_SEARCHING</info> - aliases should be dereferenced during the
                                   search but not when locating the base object of the search.
                                   
                                   <info>LDAP_DEREF_FINDING</info> - aliases should be dereferenced when locating
                                   the base object but not during the search.
                                   
                                   <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced always.
  <info>arraynull    </info>  <strong>$controls       </strong>  Array of LDAP Controls to send with the request.

<comment>Return:</comment>
  <info>resourcearrayfalse</info>  Returns a search result identifier or <info>false</info> on error.

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


id: ldap_mod_add
type: function
doc:
<comment>Description:</comment>
  Add attribute values to current attributes
  
  Adds one or more attribute values to the specified <strong>$dn</strong>. To add a whole new object see <strong>ldap_add()</strong>
  function.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn      </strong>  The distinguished name of an LDAP entity.
  <info>array    </info>  <strong>$entry   </strong>  An associative array listing the attirbute values to add. If an attribute
                        was not existing yet it will be added. If an attribute is existing you can
                        only add values to it if it supports multiple values.
  <info>arraynull</info>  <strong>$controls</strong>  Array of LDAP Controls to send with the request.

<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>ldap_mod_add_ext()</strong>
   * <strong>ldap_mod_del()</strong>
   * <strong>ldap_mod_replace()</strong>
   * <strong>ldap_modify_batch()</strong>


id: ldap_mod_add_ext
type: function
doc:
<comment>Description:</comment>
  Add attribute values to current attributes
  
  Does the same thing as <strong>ldap_mod_add()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_mod_add()</strong>
   * <strong>ldap_parse_result()</strong>


id: ldap_mod_del
type: function
doc:
<comment>Description:</comment>
  Delete attribute values from current attributes
  
  Removes one or more attribute values from the specified <strong>$dn</strong>. Object deletions are done by the
  <strong>ldap_delete()</strong> function.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn      </strong>  The distinguished name of an LDAP entity.
  <info>array    </info>  <strong>$entry   </strong>  
  <info>arraynull</info>  <strong>$controls</strong>  Array of LDAP Controls to send with the request.

<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>ldap_mod_del_ext()</strong>
   * <strong>ldap_mod_add()</strong>
   * <strong>ldap_mod_replace()</strong>
   * <strong>ldap_modify_batch()</strong>


id: ldap_mod_del_ext
type: function
doc:
<comment>Description:</comment>
  Delete attribute values from current attributes
  
  Does the same thing as <strong>ldap_mod_del()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_mod_del()</strong>
   * <strong>ldap_parse_result()</strong>


id: ldap_mod_replace
type: function
doc:
<comment>Description:</comment>
  Replace attribute values with new ones
  
  Replaces one or more attributes from the specified <strong>$dn</strong>. It may also add or remove attributes.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap    </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn      </strong>  The distinguished name of an LDAP entity.
  <info>array    </info>  <strong>$entry   </strong>  An associative array listing the attributes to replace. Sending an empty
                        array as value will remove the attribute, while sending an attribute not
                        existing yet on this entry will add it.
  <info>arraynull</info>  <strong>$controls</strong>  Array of LDAP Controls to send with the request.

<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>ldap_mod_replace_ext()</strong>
   * <strong>ldap_mod_del()</strong>
   * <strong>ldap_mod_add()</strong>
   * <strong>ldap_modify_batch()</strong>


id: ldap_mod_replace_ext
type: function
doc:
<comment>Description:</comment>
  Replace attribute values with new ones
  
  Does the same thing as <strong>ldap_mod_replace()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_mod_replace()</strong>
   * <strong>ldap_parse_result()</strong>


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

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


id: ldap_modify_batch
type: function
doc:
<comment>Description:</comment>
  Batch and execute modifications on an LDAP entry
  
  Modifies an existing entry in the LDAP directory. Allows detailed specification of the
  modifications to perform.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap              </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn                </strong>  The distinguished name of an LDAP entity.
  <info>array    </info>  <strong>$modifications_info</strong>  An array that specifies the modifications to make. Each entry in
                                  this array is an associative array with two or three keys: <return>attrib</return>
                                  maps to the name of the attribute to modify, <return>modtype</return> maps to the
                                  type of modification to perform, and (depending on the type of
                                  modification) <return>values</return> maps to an array of attribute values relevant
                                  to the modification.
                                  
                                  Possible values for <return>modtype</return> include: <info>LDAP_MODIFY_BATCH_ADD</info> Each
                                  value specified through <return>values</return> is added (as an additional value)
                                  to the attribute named by <return>attrib</return>. <info>LDAP_MODIFY_BATCH_REMOVE</info> Each
                                  value specified through <return>values</return> is removed from the attribute named
                                  by <return>attrib</return>. Any value of the attribute not contained in the <return>values</return>
                                  array will remain untouched. <info>LDAP_MODIFY_BATCH_REMOVE_ALL</info> All
                                  values are removed from the attribute named by <return>attrib</return>. A <return>values</return>
                                  entry must not be provided. <info>LDAP_MODIFY_BATCH_REPLACE</info> All current
                                  values of the attribute named by <return>attrib</return> are replaced with the
                                  values specified through <return>values</return>.
                                  
                                  Each value specified through <return>values</return> is added (as an additional
                                  value) to the attribute named by <return>attrib</return>.
                                  
                                  Each value specified through <return>values</return> is removed from the attribute
                                  named by <return>attrib</return>. Any value of the attribute not contained in the
                                  <return>values</return> array will remain untouched.
                                  
                                  All values are removed from the attribute named by <return>attrib</return>. A
                                  <return>values</return> entry must not be provided.
                                  
                                  All current values of the attribute named by <return>attrib</return> are replaced
                                  with the values specified through <return>values</return>.
                                  
                                  Note that any value for <return>attrib</return> must be a string, any value for
                                  <return>values</return> must be an array of strings, and any value for <return>modtype</return> must
                                  be one of the LDAP_MODIFY_BATCH_* constants listed above.
  <info>arraynull</info>  <strong>$controls          </strong>  Array of LDAP Controls to send with the request.

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


id: ldap_next_attribute
type: function
doc:
<comment>Description:</comment>
  Get the next attribute in result
  
  Retrieves the attributes in an entry. The first call to <strong>ldap_next_attribute()</strong> is made with the
  <strong>$entry</strong> returned from <strong>ldap_first_attribute()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap          </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$entry         </strong>  
  <info>        </info>  <strong>$ber_identifier</strong>  The internal state of the pointer is maintained by this parameter.
                             
                             This parameter is no longer used as this is now handled automatically
                             by PHP. For backwards compatibility PHP will not throw an error if this
                             parameter is passed.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the next attribute in an entry on success and <info>false</info> on error.

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


id: ldap_next_entry
type: function
doc:
<comment>Description:</comment>
  Get next result entry
  
  Retrieve the entries stored in the result. Successive calls to the <strong>ldap_next_entry()</strong> return
  entries one by one till there are no more entries. The first call to <strong>ldap_next_entry()</strong> is made
  after the call to <strong>ldap_first_entry()</strong> with the <strong>$result</strong> as returned from the <strong>ldap_first_entry()</strong>.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result</strong>  

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns entry identifier for the next entry in the result whose entries are being
                 read starting with <strong>ldap_first_entry()</strong>. If there are no more entries in the result
                 then it returns <info>false</info>.

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


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

<comment>Return:</comment>
  <info>resourcefalse</info>  


id: ldap_parse_exop
type: function
doc:
<comment>Description:</comment>
  Parse result object from an LDAP extended operation
  
  Parse LDAP extended operation data from result object <strong>$result</strong>

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap         </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result       </strong>  An LDAP result resource, returned by <strong>ldap_exop()</strong>.
  <info>string  </info>  <strong>$response_data</strong>  Will be filled by the response data.
  <info>string  </info>  <strong>$response_oid </strong>  Will be filled by the response OID.

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


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

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


id: ldap_parse_result
type: function
doc:
<comment>Description:</comment>
  Extract information from result
  
  Parses an LDAP search result.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap             </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>        </info>  <strong>$result_identifier</strong>  An LDAP result resource, returned by <strong>ldap_list()</strong> or <strong>ldap_search()</strong>.
  <info>int     </info>  <strong>$error_code       </strong>  A reference to a variable that will be set to the LDAP error code in
                                the result, or <return>0</return> if no error occurred.
  <info>string  </info>  <strong>$matched_dn       </strong>  A reference to a variable that will be set to a matched DN if one
                                was recognised within the request, otherwise it will be set to <info>null</info>.
  <info>string  </info>  <strong>$error_message    </strong>  A reference to a variable that will be set to the LDAP error message
                                in the result, or an empty string if no error occurred.
  <info>array   </info>  <strong>$referrals        </strong>  A reference to a variable that will be set to an <info>array</info> set to all of
                                the referral strings in the result, or an empty array if no
                                referrals were returned.
  <info>array   </info>  <strong>$controls         </strong>  An <info>array</info> of LDAP Controls which have been sent with the response.

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


id: ldap_read
type: function
doc:
<comment>Description:</comment>
  Read an entry
  
  Performs the search for a specified <strong>$filter</strong> on the directory with the scope <info>LDAP_SCOPE_BASE</info>. So it
  is equivalent to reading an entry from the directory.

<comment>Param:</comment>
  <info>resourcearray</info>  <strong>$ldap           </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>arraystring  </info>  <strong>$base           </strong>  The base DN for the directory.
  <info>arraystring  </info>  <strong>$filter         </strong>  An empty filter is not allowed. If you want to retrieve
                                   absolutely all information for this entry, use a filter of
                                   <return>objectClass=*</return>. If you know which entry types are used on the
                                   directory server, you might use an appropriate filter such as
                                   <return>objectClass=inetOrgPerson</return>.
  <info>array        </info>  <strong>$attributes     </strong>  An array of the required attributes, e.g. array("mail", "sn",
                                   "cn"). Note that the "dn" is always returned irrespective of
                                   which attributes types are requested.
                                   
                                   Using this parameter is much more efficient than the default
                                   action (which is to return all attributes and their associated
                                   values). The use of this parameter should therefore be considered
                                   good practice.
  <info>int          </info>  <strong>$attributes_only</strong>  Should be set to 1 if only attribute types are wanted. If set to
                                   0 both attributes types and attribute values are fetched which is
                                   the default behaviour.
  <info>int          </info>  <strong>$sizelimit      </strong>  Enables you to limit the count of entries fetched. Setting this
                                   to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset sizelimit. You
                                   can set it lower though.
                                   
                                   Some directory server hosts will be configured to return no more
                                   than a preset number of entries. If this occurs, the server will
                                   indicate that it has only returned a partial results set. This
                                   also occurs if you use this parameter to limit the count of
                                   fetched entries.
  <info>int          </info>  <strong>$timelimit      </strong>  Sets the number of seconds how long is spend on the search.
                                   Setting this to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset timelimit. You
                                   can set it lower though.
  <info>int          </info>  <strong>$deref          </strong>  Specifies how aliases should be handled during the search. It can
                                   be one of the following: <info>LDAP_DEREF_NEVER</info> - (default) aliases are
                                   never dereferenced. <info>LDAP_DEREF_SEARCHING</info> - aliases should be
                                   dereferenced during the search but not when locating the base
                                   object of the search. <info>LDAP_DEREF_FINDING</info> - aliases should be
                                   dereferenced when locating the base object but not during the
                                   search. <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced
                                   always.
                                   
                                   <info>LDAP_DEREF_NEVER</info> - (default) aliases are never dereferenced.
                                   
                                   <info>LDAP_DEREF_SEARCHING</info> - aliases should be dereferenced during the
                                   search but not when locating the base object of the search.
                                   
                                   <info>LDAP_DEREF_FINDING</info> - aliases should be dereferenced when locating
                                   the base object but not during the search.
                                   
                                   <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced always.
  <info>arraynull    </info>  <strong>$controls       </strong>  Array of LDAP Controls to send with the request.

<comment>Return:</comment>
  <info>resourcearrayfalse</info>  Returns a search result identifier or <info>false</info> on error.


id: ldap_rename
type: function
doc:
<comment>Description:</comment>
  Modify the name of an entry
  
  The entry specified by <strong>$dn</strong> is renamed/moved.

<comment>Param:</comment>
  <info>resource </info>  <strong>$ldap          </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>string   </info>  <strong>$dn            </strong>  The distinguished name of an LDAP entity.
  <info>string   </info>  <strong>$new_rdn       </strong>  The new RDN.
  <info>string   </info>  <strong>$new_parent    </strong>  The new parent/superior entry.
  <info>bool     </info>  <strong>$delete_old_rdn</strong>  If <info>true</info> the old RDN value(s) is removed, else the old RDN value(s) is
                              retained as non-distinguished values of the entry.
  <info>arraynull</info>  <strong>$controls      </strong>  Array of LDAP Controls to send with the request.

<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>ldap_rename_ext()</strong>
   * <strong>ldap_modify()</strong>


id: ldap_rename_ext
type: function
doc:
<comment>Description:</comment>
  Modify the name of an entry
  
  Does the same thing as <strong>ldap_rename()</strong> but returns the LDAP result resource to be parsed with
  <strong>ldap_parse_result()</strong>.

<comment>Return:</comment>
  <info>resourcefalse</info>  Returns an LDAP result identifier or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>ldap_rename()</strong>
   * <strong>ldap_parse_result()</strong>


id: ldap_sasl_bind
type: function
doc:
<comment>Description:</comment>
  Bind to LDAP directory using SASL
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: ldap_search
type: function
doc:
<comment>Description:</comment>
  Search LDAP tree
  
  Performs the search for a specified filter on the directory with the scope of <info>LDAP_SCOPE_SUBTREE</info>.
  This is equivalent to searching the entire directory.
  
  From 4.0.5 on it's also possible to do parallel searches. To do this you use an array of link
  identifiers, rather than a single identifier, as the first argument. If you don't want the same
  base DN and the same filter for all the searches, you can also use an array of base DNs and/or an
  array of filters. Those arrays must be of the same size as the link identifier array since the
  first entries of the arrays are used for one search, the second entries are used for another, and
  so on. When doing parallel searches an array of search result identifiers is returned, except in
  case of error, then the entry corresponding to the search will be <info>false</info>. This is very much like
  the value normally returned, except that a result identifier is always returned when a search was
  made. There are some rare cases where the normal search returns <info>false</info> while the parallel search
  returns an identifier.

<comment>Param:</comment>
  <info>resourcearray</info>  <strong>$ldap           </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>arraystring  </info>  <strong>$base           </strong>  The base DN for the directory.
  <info>arraystring  </info>  <strong>$filter         </strong>  The search filter can be simple or advanced, using boolean
                                   operators in the format described in the LDAP documentation (see
                                   the Netscape Directory SDK or RFC4515 for full information on
                                   filters).
  <info>array        </info>  <strong>$attributes     </strong>  An array of the required attributes, e.g. <return>array("mail", "sn",
                                   "cn")</return>. Note that the "dn" is always returned irrespective of
                                   which attributes types are requested.
                                   
                                   Using this parameter is much more efficient than the default
                                   action (which is to return all attributes and their associated
                                   values). The use of this parameter should therefore be considered
                                   good practice.
  <info>int          </info>  <strong>$attributes_only</strong>  Should be set to 1 if only attribute types are wanted. If set to
                                   0 both attributes types and attribute values are fetched which is
                                   the default behaviour.
  <info>int          </info>  <strong>$sizelimit      </strong>  Enables you to limit the count of entries fetched. Setting this
                                   to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset sizelimit. You
                                   can set it lower though.
                                   
                                   Some directory server hosts will be configured to return no more
                                   than a preset number of entries. If this occurs, the server will
                                   indicate that it has only returned a partial results set. This
                                   also occurs if you use this parameter to limit the count of
                                   fetched entries.
  <info>int          </info>  <strong>$timelimit      </strong>  Sets the number of seconds how long is spend on the search.
                                   Setting this to 0 means no limit.
                                   
                                   This parameter can NOT override server-side preset timelimit. You
                                   can set it lower though.
  <info>int          </info>  <strong>$deref          </strong>  Specifies how aliases should be handled during the search. It can
                                   be one of the following: <info>LDAP_DEREF_NEVER</info> - (default) aliases are
                                   never dereferenced. <info>LDAP_DEREF_SEARCHING</info> - aliases should be
                                   dereferenced during the search but not when locating the base
                                   object of the search. <info>LDAP_DEREF_FINDING</info> - aliases should be
                                   dereferenced when locating the base object but not during the
                                   search. <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced
                                   always.
                                   
                                   <info>LDAP_DEREF_NEVER</info> - (default) aliases are never dereferenced.
                                   
                                   <info>LDAP_DEREF_SEARCHING</info> - aliases should be dereferenced during the
                                   search but not when locating the base object of the search.
                                   
                                   <info>LDAP_DEREF_FINDING</info> - aliases should be dereferenced when locating
                                   the base object but not during the search.
                                   
                                   <info>LDAP_DEREF_ALWAYS</info> - aliases should be dereferenced always.
  <info>arraynull    </info>  <strong>$controls       </strong>  Array of LDAP Controls to send with the request.

<comment>Return:</comment>
  <info>resourcearrayfalse</info>  Returns a search result identifier or <info>false</info> on error.


id: ldap_set_option
type: function
doc:
<comment>Description:</comment>
  Set the value of the given option
  
  Sets the value of the specified option to be <strong>$value</strong>.

<comment>Param:</comment>
  <info>resourcenull      </info>  <strong>$ldap  </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>int               </info>  <strong>$option</strong>  The parameter <strong>$option</strong> can be one of: OptionTypeAvailable
                               since<info>LDAP_OPT_DEREF</info><info>int</info><info>LDAP_OPT_SIZELIMIT</info><info>int</info><info>LDAP_OPT_TIMELIMIT</info><info>int</info><info>LDAP_OPT_NETWORK_TIMEOUT</info><info>int</info><info>LDAP_OPT_PROTOCOL_VERSION</info><info>int</info><info>LDAP_OPT_ERROR_NUMBER</info><info>int</info><info>LDAP_OPT_REFERRALS</info><info>bool</info><info>LDAP_OPT_RESTART</info><info>bool</info><info>LDAP_OPT_HOST_NAME</info><info>string</info><info>LDAP_OPT_ERROR_STRING</info><info>string</info><info>LDAP_OPT_DIAGNOSTIC_MESSAGE</info><info>string</info><info>LDAP_OPT_MATCHED_DN</info><info>string</info><info>LDAP_OPT_SERVER_CONTROLS</info><info>array</info><info>LDAP_OPT_CLIENT_CONTROLS</info><info>array</info><info>LDAP_OPT_X_KEEPALIVE_IDLE</info><info>int</info>PHP
                               7.1.0<info>LDAP_OPT_X_KEEPALIVE_PROBES</info><info>int</info>PHP
                               7.1.0<info>LDAP_OPT_X_KEEPALIVE_INTERVAL</info><info>int</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CACERTDIR</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CACERTFILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CERTFILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CIPHER_SUITE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CRLCHECK</info><info>int</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_CRLFILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_DHFILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_KEYFILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_PROTOCOL_MIN</info><info>int</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_RANDOM_FILE</info><info>string</info>PHP
                               7.1.0<info>LDAP_OPT_X_TLS_REQUIRE_CERT</info><info>int</info>PHP 7.0.5
                               
                               <info>LDAP_OPT_SERVER_CONTROLS</info> and  <info>LDAP_OPT_CLIENT_CONTROLS</info> require a list
                               of controls, this means that the value must be an array of controls.
                               A control consists of an oid identifying the control, an optional
                               value, and an optional flag for criticality. In PHP a control is
                               given by an array containing an element with the key oid and string
                               value, and two optional elements. The optional elements are key value
                               with string value and key iscritical with boolean value. iscritical
                               defaults to <info>false</info> if not supplied. See
                               draft-ietf-ldapext-ldap-c-api-xx.txt for details. See also the second
                               example below.
  <info>arraystringintbool</info>  <strong>$value </strong>  The new value for the specified <strong>$option</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>ldap_get_option()</strong>


id: ldap_set_rebind_proc
type: function
doc:
<comment>Description:</comment>
  Set a callback function to do re-binds on referral chasing
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

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


id: ldap_sort
type: function
doc:
<comment>Description:</comment>
  Sort LDAP result entries on the client side
  
  Sort the result of a LDAP search, returned by <strong>ldap_search()</strong>.
  
  As this function sorts the returned values on the client side it is possible that  you might not
  get the expected results in case you reach the <strong>$sizelimit</strong> either of the server or defined within
  <strong>ldap_search()</strong>.
  
  Această facilitate a fost
  ÎNVECHITĂ începând cu PHP 7.0.0. Utilizarea acestei
  facilități este foarte discurajată.

<comment>Param:</comment>
  <info>resource</info>  <strong>$link      </strong>  An LDAP link identifier, returned by <strong>ldap_connect()</strong>.
  <info>resource</info>  <strong>$result    </strong>  An search result identifier, returned by <strong>ldap_search()</strong>.
  <info>string  </info>  <strong>$sortfilter</strong>  The attribute to use as a key in the sort.

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


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

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


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

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


id: ldap_unbind
type: function
doc:
<comment>Description:</comment>
  Unbind from LDAP directory
  
  Unbinds from the LDAP directory.

<comment>Param:</comment>
  <info>resource</info>  <strong>$ldap</strong>  An LDAP link identifier, returned by <strong>ldap_connect()</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>ldap_bind()</strong>


id: levenshtein
type: function
doc:
<comment>Description:</comment>
  Calculate Levenshtein distance between two strings
  
  The Levenshtein distance is defined as the minimal number of characters you have to replace,
  insert or delete to transform <strong>$str1</strong> into <strong>$str2</strong>. The complexity of the algorithm is <return>O(m*n)</return>, where <return>n</return>
  and <return>m</return> are the length of <strong>$str1</strong> and <strong>$str2</strong> (rather good when compared to <strong>similar_text()</strong>, which is
  O(max(n,m)**3), but still expensive).
  
  In its simplest form the function will take only the two strings as parameter and will calculate
  just the number of insert, replace and delete operations needed to transform <strong>$str1</strong> into <strong>$str2</strong>.
  
  A second variant will take three additional parameters that define the cost of insert, replace and
  delete operations.  This is more general and adaptive than variant one, but not as efficient.

<comment>Param:</comment>
  <info>string</info>  <strong>$str1    </strong>  One of the strings being evaluated for Levenshtein distance.
  <info>string</info>  <strong>$str2    </strong>  One of the strings being evaluated for Levenshtein distance.
  <info>int   </info>  <strong>$cost_ins</strong>  Defines the cost of insertion.
  <info>int   </info>  <strong>$cost_rep</strong>  Defines the cost of replacement.
  <info>int   </info>  <strong>$cost_del</strong>  Defines the cost of deletion.

<comment>Return:</comment>
  <info>int</info>  This function returns the Levenshtein-Distance between the two argument strings or -1, if one
       of the argument strings is longer than the limit of 255 characters.

<comment>See Also:</comment>
   * <strong>soundex()</strong>
   * <strong>similar_text()</strong>
   * <strong>metaphone()</strong>


id: libXMLError
type: class
doc:
<comment>Description:</comment>
  Contains various information about errors thrown by libxml. The error codes are described within
  the official  xmlError API documentation.


id: libxml_clear_errors
type: function
doc:
<comment>Description:</comment>
  Clear libxml error buffer
    
  
  <strong>libxml_clear_errors()</strong> clears the libxml error buffer.

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

<comment>See Also:</comment>
   * <strong>libxml_get_errors()</strong>
   * <strong>libxml_get_last_error()</strong>


id: libxml_disable_entity_loader
type: function
doc:
<comment>Description:</comment>
  Disable the ability to load external entities
  
  Disable/enable the ability to load external entities. Note that disabling the loading of external
  entities may cause general issues with loading XML documents. However, as of libxml 2.9.0 entity
  substitution is disabled by default, so there is no need to disable the loading of external
  entities.

<comment>Param:</comment>
  <info>bool</info>  <strong>$disable</strong>  Disable (<info>true</info>) or enable (<info>false</info>) libxml extensions (such as ,  and ) to load
                  external entities.

<comment>Return:</comment>
  <info>bool</info>  Returns the previous value.

<comment>See Also:</comment>
   * <strong>libxml_use_internal_errors()</strong>
   * The <info>LIBXML_NONET</info> constant


id: libxml_get_errors
type: function
doc:
<comment>Description:</comment>
  Retrieve array of errors
    
  
  Retrieve array of errors.

<comment>Return:</comment>
  <info>array</info>  Returns an array with <info>LibXMLError</info> objects if there are any errors in the buffer, or an
         empty array otherwise.

<comment>See Also:</comment>
   * <strong>libxml_get_last_error()</strong>
   * <strong>libxml_clear_errors()</strong>


id: libxml_get_last_error
type: function
doc:
<comment>Description:</comment>
  Retrieve last error from libxml
    
  
  Retrieve last error from libxml.

<comment>Return:</comment>
  <info>LibXMLErrorfalse</info>  Returns a <info>LibXMLError</info> object if there is any error in the buffer, <info>false</info>
                    otherwise.

<comment>See Also:</comment>
   * <strong>libxml_get_errors()</strong>
   * <strong>libxml_clear_errors()</strong>


id: libxml_set_external_entity_loader
type: function
doc:
<comment>Description:</comment>
  Changes the default external entity loader
  
  Changes the default external entity loader.

<comment>Param:</comment>
  <info>callablenull</info>  <strong>$resolver_function</strong>  A <info>callable</info> that takes three arguments. Two strings, a public id
                                    and system id, and a context (an array with four keys) as the
                                    third argument. This callback should return a resource, a string
                                    from which a resource can be opened, or <info>null</info>.

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


id: libxml_set_streams_context
type: function
doc:
<comment>Description:</comment>
  Set the streams context for the next libxml document load or write
    
  
  Sets the streams context for the next libxml document load or write.

<comment>Param:</comment>
  <info>resource</info>  <strong>$context</strong>  The stream context resource (created with <strong>stream_context_create()</strong>)

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

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


id: libxml_use_internal_errors
type: function
doc:
<comment>Description:</comment>
  Disable libxml errors and allow user to fetch error information as needed
    
  
  <strong>libxml_use_internal_errors()</strong> allows you to disable standard libxml errors and enable user error
  handling.

<comment>Param:</comment>
  <info>boolnull</info>  <strong>$use_errors</strong>  Enable (<info>true</info>) user error handling or disable (<info>false</info>) user error handling.
                         Disabling will also clear any existing libxml errors.

<comment>Return:</comment>
  <info>bool</info>  This function returns the previous value of <strong>$use_errors</strong>.

<comment>See Also:</comment>
   * <strong>libxml_clear_errors()</strong>
   * <strong>libxml_get_errors()</strong>


id: link
type: function
doc:
<comment>Description:</comment>
  Create a hard link
  
  <strong>link()</strong> creates a hard link.

<comment>Param:</comment>
  <info>string</info>  <strong>$target</strong>  Target of the link.
  <info>string</info>  <strong>$link  </strong>  The link name.

<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>symlink()</strong>
   * <strong>readlink()</strong>
   * <strong>linkinfo()</strong>
   * <strong>unlink()</strong>


id: linkinfo
type: function
doc:
<comment>Description:</comment>
  Gets information about a link
  
  Gets information about a link.
  
  This function is used to verify if a link (pointed to by <strong>$path</strong>) really exists (using the same
  method as the S_ISLNK macro defined in stat.h).

<comment>Param:</comment>
  <info>string</info>  <strong>$path</strong>  Path to the link.

<comment>Return:</comment>
  <info>intfalse</info>  <strong>linkinfo()</strong> returns the <return>st_dev</return> field of the Unix C stat structure returned by the <return>lstat</return>
            system call. Returns a non-negative integer on success, -1 in case the link was not
            found,  or <info>false</info> if an open.base_dir violation occurs.

<comment>See Also:</comment>
   * <strong>symlink()</strong>
   * <strong>link()</strong>
   * <strong>readlink()</strong>


id: list
type: function
doc:
<comment>Description:</comment>
  Assign variables as if they were an array
  
  Like <strong>array()</strong>, this is not really a function, but a language construct.  <strong>list()</strong> is used to assign a
  list of variables in one operation.
  
  Before PHP 7.1.0, <strong>list()</strong> only worked on numerical arrays and assumes the numerical indices start
  at 0.
  
  In PHP 5, <strong>list()</strong> assigns the values starting with the right-most parameter. In PHP 7, <strong>list()</strong>
  starts with the left-most parameter.
  
  If you are using plain variables, you don't have to worry about this. But if you are using arrays
  with indices you usually expect the order of the indices in the array the same you wrote in the
  <strong>list()</strong> from left to right, which is not the case in PHP 5, as it's assigned in the reverse order.
  
  Generally speaking, it is advisable to avoid relying on a specific order of operation, as this may
  change again in the future.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$var </strong>  A variable.
  <info>mixed</info>  <strong>$vars</strong>  Further variables.

<comment>Return:</comment>
  <info>array</info>  Returns the assigned array.

<comment>See Also:</comment>
   * <strong>each()</strong>
   * <strong>array()</strong>
   * <strong>extract()</strong>


id: localeconv
type: function
doc:
<comment>Description:</comment>
  Get numeric formatting information
  
  Returns an associative array containing localized numeric and monetary formatting information.

<comment>Return:</comment>
  <info>array</info>  <strong>localeconv()</strong> returns data based upon the current locale as set by <strong>setlocale()</strong>.  The
         associative array that is returned contains the following fields: Array
         elementDescriptiondecimal_pointDecimal point characterthousands_sepThousands
         separatorgroupingArray containing numeric groupingsint_curr_symbolInternational currency
         symbol (i.e. USD)currency_symbolLocal currency symbol (i.e. $)mon_decimal_pointMonetary
         decimal point charactermon_thousands_sepMonetary thousands separatormon_groupingArray
         containing monetary groupingspositive_signSign for positive valuesnegative_signSign for
         negative valuesint_frac_digitsInternational fractional digitsfrac_digitsLocal fractional
         digitsp_cs_precedes<info>true</info> if currency_symbol precedes a positive value, <info>false</info> if it succeeds
         one p_sep_by_space<info>true</info> if a space separates currency_symbol from a positive value, <info>false</info>
         otherwise n_cs_precedes<info>true</info> if currency_symbol precedes a negative value, <info>false</info> if it
         succeeds one n_sep_by_space<info>true</info> if a space separates currency_symbol from a negative value,
         <info>false</info> otherwise p_sign_posn0 - Parentheses surround the quantity and currency_symbol1 - The
         sign string precedes the quantity and currency_symbol2 - The sign string succeeds the
         quantity and currency_symbol3 - The sign string immediately precedes the currency_symbol4 -
         The sign string immediately succeeds the currency_symboln_sign_posn0 - Parentheses surround
         the quantity and currency_symbol1 - The sign string precedes the quantity and
         currency_symbol2 - The sign string succeeds the quantity and currency_symbol3 - The sign
         string immediately precedes the currency_symbol4 - The sign string immediately succeeds the
         currency_symbol
         
         The <return>p_sign_posn</return>, and <return>n_sign_posn</return> contain a string of formatting options. Each number
         representing one of the above listed conditions.
         
         The grouping fields contain arrays that define the way numbers should be grouped. For
         example, the monetary grouping field for the nl_NL locale (in UTF-8 mode with the euro
         sign), would contain a 2 item array with the values 3 and 3. The higher the index in the
         array, the farther left the grouping is. If an array element is equal to <info>CHAR_MAX</info>, no
         further grouping is done. If an array element is equal to 0, the previous element should be
         used.

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


id: localtime
type: function
doc:
<comment>Description:</comment>
  Obține timpul local
  
  Funcția <strong>localtime()</strong> întoarce un tablou identic ca structură cu cel întors de funcția C.

<comment>Param:</comment>
  <info>int </info>  <strong>$timestamp  </strong>  Parametrul opțional <strong>$timestamp</strong>
                      este un <info>integer</info> și este un moment de timp Unix și are valoarea
                      implicită a orei locale, dacă parametrul <strong>$timestamp</strong> nu
                      este indicat. Cu alte cuvinte, valoarea implicită este cea a funcției
                      <strong>time()</strong>.
  <info>bool</info>  <strong>$associative</strong>  Dacă este stabilit în <info>false</info> sau nu este furnizat, atunci tabloul întors este
                      unul obișnuit, indexat numeric. Dacă argumentul este stabilit în <info>true</info>, atunci
                      <strong>localtime()</strong> întoarce un tablou asociativ conținând diferitele elemente ale
                      structurii întoarse în rezultatul apelării funcției C localtime. Denumirile
                      cheilor tabloului asociativ sunt următoarele:
                      
                       "tm_sec" - secunde, de la <return>0</return> până la <return>59</return>  "tm_min" - minute, de la <return>0</return> până la <return>59</return>
                      "tm_hour" - ore, de la <return>0</return> până la <return>23</return>  "tm_mday" - ziua lunii, de la <return>1</return> până la
                      <return>31</return>  "tm_mon" - luna în an, de la <return>0</return> (Ian) până la <return>11</return> (Dec)  "tm_year" - numărul
                      de ani începând cu 1900  "tm_wday" - ziua din săptămână, de la <return>0</return> (Duminică)
                      până la <return>6</return> (Sâmbătă)  "tm_yday" - ziua din an, de la <return>0</return> până la <return>365</return>  "tm_isdst"
                      - este în vigoare timpul de vară?  Pozitiv dacă da, <return>0</return> dacă nu, negativ dacă nu
                      se cunoaște.
                      
                      "tm_sec" - secunde, de la <return>0</return> până la <return>59</return>
                      
                      "tm_min" - minute, de la <return>0</return> până la <return>59</return>
                      
                      "tm_hour" - ore, de la <return>0</return> până la <return>23</return>
                      
                      "tm_mday" - ziua lunii, de la <return>1</return> până la <return>31</return>
                      
                      "tm_mon" - luna în an, de la <return>0</return> (Ian) până la <return>11</return> (Dec)
                      
                      "tm_year" - numărul de ani începând cu 1900
                      
                      "tm_wday" - ziua din săptămână, de la <return>0</return> (Duminică) până la <return>6</return> (Sâmbătă)
                      
                      "tm_yday" - ziua din an, de la <return>0</return> până la <return>365</return>
                      
                      "tm_isdst" - este în vigoare timpul de vară?
                      
                      Pozitiv dacă da, <return>0</return> dacă nu, negativ dacă nu se cunoaște.

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

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


id: log
type: function
doc:
<comment>Description:</comment>
  Natural logarithm
  
  If the optional <strong>$base</strong> parameter is specified,  <strong>log()</strong> returns logbase <strong>$num</strong>, otherwise <strong>log()</strong>
  returns the natural logarithm of <strong>$num</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$num </strong>  The value to calculate the logarithm for
  <info>float</info>  <strong>$base</strong>  The optional logarithmic base to use  (defaults to 'e' and so to the natural
                logarithm).

<comment>Return:</comment>
  <info>float</info>  The logarithm of <strong>$num</strong> to  <strong>$base</strong>, if given, or the natural logarithm.

<comment>See Also:</comment>
   * <strong>log10()</strong>
   * <strong>exp()</strong>
   * <strong>pow()</strong>


id: log10
type: function
doc:
<comment>Description:</comment>
  Base-10 logarithm
  
  Returns the base-10 logarithm of <strong>$num</strong>.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The argument to process

<comment>Return:</comment>
  <info>float</info>  The base-10 logarithm of <strong>$num</strong>

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


id: log1p
type: function
doc:
<comment>Description:</comment>
  Returns log(1 + number), computed in a way that is accurate even when
     the value of number is close to zero
    
  
  <strong>log1p()</strong> returns log(1 + <strong>$num</strong>) computed in a way that is accurate even when the value of <strong>$num</strong> is
  close to zero. <strong>log()</strong> might only return log(1) in this case due to lack of precision.

<comment>Param:</comment>
  <info>float</info>  <strong>$num</strong>  The argument to process

<comment>Return:</comment>
  <info>float</info>  log(1 + <strong>$num</strong>)

<comment>See Also:</comment>
   * <strong>expm1()</strong>
   * <strong>log()</strong>
   * <strong>log10()</strong>


id: log_cmd_delete
type: function
doc:
<comment>Description:</comment>
  Callback When Deleting Documents
  
  A <info>callable</info> function, used by the log_cmd_delete context option, when deleteing a document
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server         </strong>  Un tablou cu informațiile de bază despre serverul ales.
                           cheievaloarehashhash-ul serverului, de
                           exemplu:<return>localhost:27017;-;X;56052</return>typeTipul nodului
                           (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                           BSON prin fir, pe care acest nod o acceptă:
                           <return>16777216</return>max_message_sizeDimensiunea maximală a mesajului prin fir, pe
                           care acest nod o acceptă: <return>48000000</return>request_idIdentificatorul interpelării
                           pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$writeOptions   </strong>  cheievaloareorderedBoolean, dacă operațiunea (în cazul unei operațiuni în
                           set) trebuie executată secvențial (ordered=true)writeConcernUn tablou cu
                           opțiuni writeConcern (a se vedea mai jos)Valorile tabloului
                           writeConcerncheievaloarefsyncBoolean, forțează înscrierea pe disc înainte
                           de a se întoarcejBoolean, forțează înscrierea jurnalului înainte de a se
                           întoarcewtimeoutinteger, milisecunde, timpul maximal care îi este acordat
                           primarului ca să verifice replicareawinteger=numărul de servere, sau
                           string=eticheta de replicare
  <info>array</info>  <strong>$deleteOptions  </strong>  keyvaluelimitinteger, 1 or 0. If 0, delete all matching documents.qArray,
                           the search criteria
  <info>array</info>  <strong>$protocolOptions</strong>  cheievaloaremessage_lengthDimensiunea totală (în octeți) a mesajului
                           codificat transmis pe firrequest_idIdentificatorul interpelării pentru
                           acest mesaj: <return>42</return>namespaceSpațiul de nume MongoDB utilizat pentru mesajul
                           de protocol <return>dbname.collectionname</return>


id: log_cmd_insert
type: function
doc:
<comment>Description:</comment>
  Callback When Inserting Documents
  
  A <info>callable</info> function, used by the log_cmd_insert context option, when inserting a document
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server         </strong>  Un tablou cu informațiile de bază despre serverul ales.
                           cheievaloarehashhash-ul serverului, de
                           exemplu:<return>localhost:27017;-;X;56052</return>typeTipul nodului
                           (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                           BSON prin fir, pe care acest nod o acceptă:
                           <return>16777216</return>max_message_sizeDimensiunea maximală a mesajului prin fir, pe
                           care acest nod o acceptă: <return>48000000</return>request_idIdentificatorul interpelării
                           pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$document       </strong>  The document that has been prepared to be inserted
  <info>array</info>  <strong>$writeOptions   </strong>  cheievaloareorderedBoolean, dacă operațiunea (în cazul unei operațiuni în
                           set) trebuie executată secvențial (ordered=true)writeConcernUn tablou cu
                           opțiuni writeConcern (a se vedea mai jos)Valorile tabloului
                           writeConcerncheievaloarefsyncBoolean, forțează înscrierea pe disc înainte
                           de a se întoarcejBoolean, forțează înscrierea jurnalului înainte de a se
                           întoarcewtimeoutinteger, milisecunde, timpul maximal care îi este acordat
                           primarului ca să verifice replicareawinteger=numărul de servere, sau
                           string=eticheta de replicare
  <info>array</info>  <strong>$protocolOptions</strong>  cheievaloaremessage_lengthDimensiunea totală (în octeți) a mesajului
                           codificat transmis pe firrequest_idIdentificatorul interpelării pentru
                           acest mesaj: <return>42</return>namespaceSpațiul de nume MongoDB utilizat pentru mesajul
                           de protocol <return>dbname.collectionname</return>


id: log_cmd_update
type: function
doc:
<comment>Description:</comment>
  Callback When Updating Documents
  
  A <info>callable</info> function, used by the log_cmd_update context option, when updateing a document
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server         </strong>  Un tablou cu informațiile de bază despre serverul ales.
                           cheievaloarehashhash-ul serverului, de
                           exemplu:<return>localhost:27017;-;X;56052</return>typeTipul nodului
                           (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                           BSON prin fir, pe care acest nod o acceptă:
                           <return>16777216</return>max_message_sizeDimensiunea maximală a mesajului prin fir, pe
                           care acest nod o acceptă: <return>48000000</return>request_idIdentificatorul interpelării
                           pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$writeOptions   </strong>  cheievaloareorderedBoolean, dacă operațiunea (în cazul unei operațiuni în
                           set) trebuie executată secvențial (ordered=true)writeConcernUn tablou cu
                           opțiuni writeConcern (a se vedea mai jos)Valorile tabloului
                           writeConcerncheievaloarefsyncBoolean, forțează înscrierea pe disc înainte
                           de a se întoarcejBoolean, forțează înscrierea jurnalului înainte de a se
                           întoarcewtimeoutinteger, milisecunde, timpul maximal care îi este acordat
                           primarului ca să verifice replicareawinteger=numărul de servere, sau
                           string=eticheta de replicare
  <info>array</info>  <strong>$updateOptions  </strong>  keyvaluemultiBoolean, true if this update is allowed to update all
                           matched criteriaupsertBoolean, true if the document should be created if
                           criteria does not matchqArray, the search criteriauArray, the new
                           object/modifications
  <info>array</info>  <strong>$protocolOptions</strong>  cheievaloaremessage_lengthDimensiunea totală (în octeți) a mesajului
                           codificat transmis pe firrequest_idIdentificatorul interpelării pentru
                           acest mesaj: <return>42</return>namespaceSpațiul de nume MongoDB utilizat pentru mesajul
                           de protocol <return>dbname.collectionname</return>


id: log_getmore
type: function
doc:
<comment>Description:</comment>
  Callback When Retrieving Next Cursor Batch
  
  A <info>callable</info> function, used by the log_getmore context option, when executing a GET_MORE operation.
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server</strong>  Un tablou cu informațiile de bază despre serverul ales.
                  cheievaloarehashhash-ul serverului, de exemplu:<return>localhost:27017;-;X;56052</return>typeTipul
                  nodului (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                  BSON prin fir, pe care acest nod o acceptă: <return>16777216</return>max_message_sizeDimensiunea
                  maximală a mesajului prin fir, pe care acest nod o acceptă:
                  <return>48000000</return>request_idIdentificatorul interpelării pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$info  </strong>  keyvaluerequest_idinteger, the driver request identifiercursor_idinteger, the
                  cursor identifier being used to fetch more databatch_sizeinteger, maximum number
                  of documents being requested


id: log_killcursor
type: function
doc:
<comment>Description:</comment>
  Callback When Executing KILLCURSOR operations
  
  A <info>callable</info> function, used by the log_killcursor context option, when reading a killcursor from
  MongoDB.
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server</strong>  Un tablou cu informațiile de bază despre serverul ales.
                  cheievaloarehashhash-ul serverului, de exemplu:<return>localhost:27017;-;X;56052</return>typeTipul
                  nodului (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                  BSON prin fir, pe care acest nod o acceptă: <return>16777216</return>max_message_sizeDimensiunea
                  maximală a mesajului prin fir, pe care acest nod o acceptă:
                  <return>48000000</return>request_idIdentificatorul interpelării pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$info  </strong>  keyvaluecursor_idinteger, the cursor identifier to kill


id: log_reply
type: function
doc:
<comment>Description:</comment>
  Callback When Reading the MongoDB reply
  
  A <info>callable</info> function, used by the log_reply context option, when reading a reply from MongoDB.
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server          </strong>  Un tablou cu informațiile de bază despre serverul ales.
                            cheievaloarehashhash-ul serverului, de
                            exemplu:<return>localhost:27017;-;X;56052</return>typeTipul nodului
                            (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                            BSON prin fir, pe care acest nod o acceptă:
                            <return>16777216</return>max_message_sizeDimensiunea maximală a mesajului prin fir, pe
                            care acest nod o acceptă: <return>48000000</return>request_idIdentificatorul interpelării
                            pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$messageHeaders  </strong>  keyvaluelengthinteger, bytes, message reply lengthrequest_idinteger, the
                            server request identifierresponse_idinteger, the driver request
                            identifier this message is a response ofopcodeinteger, the opcode id
  <info>array</info>  <strong>$operationHeaders</strong>  keyvalueflagsinteger, bitmask of protocol flagscursor_idinteger, ID of
                            the cursor created on the server (0 if none created, or its been
                            exhausted)startThe starting offset of this cursorreturnedinteger, how
                            many documents are returned in this trip

<comment>See Also:</comment>
   * The OP_REPLY definition in the Wire Protocol


id: log_write_batch
type: function
doc:
<comment>Description:</comment>
  Callback When Writing Batches
  
  A <info>callable</info> function, used by the log_write_batch context option, when executing a batch operation.
  
  This is not a real function, only a prototype of how the function should be.

<comment>Param:</comment>
  <info>array</info>  <strong>$server         </strong>  Un tablou cu informațiile de bază despre serverul ales.
                           cheievaloarehashhash-ul serverului, de
                           exemplu:<return>localhost:27017;-;X;56052</return>typeTipul nodului
                           (primary/secondary/mongos/arbiter): <return>2</return>max_bson_sizeDimensiunea maximală
                           BSON prin fir, pe care acest nod o acceptă:
                           <return>16777216</return>max_message_sizeDimensiunea maximală a mesajului prin fir, pe
                           care acest nod o acceptă: <return>48000000</return>request_idIdentificatorul interpelării
                           pentru acest mesaj: <return>42</return>
  <info>array</info>  <strong>$writeOptions   </strong>  cheievaloareorderedBoolean, dacă operațiunea (în cazul unei operațiuni în
                           set) trebuie executată secvențial (ordered=true)writeConcernUn tablou cu
                           opțiuni writeConcern (a se vedea mai jos)Valorile tabloului
                           writeConcerncheievaloarefsyncBoolean, forțează înscrierea pe disc înainte
                           de a se întoarcejBoolean, forțează înscrierea jurnalului înainte de a se
                           întoarcewtimeoutinteger, milisecunde, timpul maximal care îi este acordat
                           primarului ca să verifice replicareawinteger=numărul de servere, sau
                           string=eticheta de replicare
  <info>array</info>  <strong>$batch          </strong>  Array, the actual batch operation.
  <info>array</info>  <strong>$protocolOptions</strong>  cheievaloaremessage_lengthDimensiunea totală (în octeți) a mesajului
                           codificat transmis pe firrequest_idIdentificatorul interpelării pentru
                           acest mesaj: <return>42</return>namespaceSpațiul de nume MongoDB utilizat pentru mesajul
                           de protocol <return>dbname.collectionname</return>


id: long2ip
type: function
doc:
<comment>Description:</comment>
  Converts an long integer address into a string in (IPv4) Internet standard dotted format
  
  The function <strong>long2ip()</strong> generates an Internet address in dotted format (i.e.: aaa.bbb.ccc.ddd) from
  the long integer representation.

<comment>Param:</comment>
  <info>int</info>  <strong>$ip</strong>  A proper address representation in long integer.

<comment>Return:</comment>
  <info>stringfalse</info>  Returns the Internet IP address as a string,  sau <info>false</info> în cazul eșecului.

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


id: lstat
type: function
doc:
<comment>Description:</comment>
  Gives information about a file or symbolic link
  
  Gathers the statistics of the file or symbolic link named by <strong>$filename</strong>.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Path to a file or a symbolic link.

<comment>Return:</comment>
  <info>arrayfalse</info>  See the manual page for <strong>stat()</strong> for information on the structure of the array that
              <strong>lstat()</strong> returns. This function is identical to the <strong>stat()</strong> function except that if the
              <strong>$filename</strong> parameter is a symbolic link, the status of the symbolic link is returned,
              not the status of the file pointed to by the symbolic link.
              
              On failure, <info>false</info> is returned.

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


id: ltrim
type: function
doc:
<comment>Description:</comment>
  Strip whitespace (or other characters) from the beginning of a string
  
  Strip whitespace (or other characters) from the beginning of a string.

<comment>Param:</comment>
  <info>string</info>  <strong>$string    </strong>  The input string.
  <info>string</info>  <strong>$characters</strong>  You can also specify the characters you want to strip, by means of the
                       <strong>$characters</strong> parameter. Simply list all characters that you want to be
                       stripped. With <return>..</return> you can specify a range of characters.

<comment>Return:</comment>
  <info>string</info>  This function returns a string with whitespace stripped from the beginning of <strong>$string</strong>.
          Without the second parameter, <strong>ltrim()</strong> will strip these characters:   " " (ASCII <return>32</return>
          (<return>0x20</return>)), an ordinary space.  "\t" (ASCII <return>9</return> (<return>0x09</return>)), a tab.  "\n" (ASCII <return>10</return> (<return>0x0A</return>)), a new
          line (line feed).  "\r" (ASCII <return>13</return> (<return>0x0D</return>)), a carriage return.  "\0" (ASCII <return>0</return> (<return>0x00</return>)), the
          <return>NUL</return>-byte.  "\v" (ASCII <return>11</return> (<return>0x0B</return>)), a vertical tab.
          
          " " (ASCII <return>32</return> (<return>0x20</return>)), an ordinary space.
          
          "\t" (ASCII <return>9</return> (<return>0x09</return>)), a tab.
          
          "\n" (ASCII <return>10</return> (<return>0x0A</return>)), a new line (line feed).
          
          "\r" (ASCII <return>13</return> (<return>0x0D</return>)), a carriage return.
          
          "\0" (ASCII <return>0</return> (<return>0x00</return>)), the <return>NUL</return>-byte.
          
          "\v" (ASCII <return>11</return> (<return>0x0B</return>)), a vertical tab.

<comment>See Also:</comment>
   * <strong>trim()</strong>
   * <strong>rtrim()</strong>


id: lzf_compress
type: function
doc:
<comment>Description:</comment>
  LZF compression
    
  
  <strong>lzf_compress()</strong> compresses the given <strong>$data</strong> string using LZF encoding.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  The string to compress.

<comment>Return:</comment>
  <info>string</info>  Returns the compressed data or <info>false</info> if an error occurred.

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


id: lzf_decompress
type: function
doc:
<comment>Description:</comment>
  LZF decompression
    
  
  <strong>lzf_compress()</strong> decompresses the given <strong>$data</strong> string containing lzf encoded data.

<comment>Param:</comment>
  <info>string</info>  <strong>$data</strong>  The compressed string.

<comment>Return:</comment>
  <info>string</info>  Returns the decompressed data or <info>false</info> if an error occurred.

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


id: lzf_optimized_for
type: function
doc:
<comment>Description:</comment>
  Determines what LZF extension was optimized for
    
  
  Determines what was LZF extension optimized for during compilation.

<comment>Return:</comment>
  <info>int</info>  Returns 1 if LZF was optimized for speed, 0 for compression.


id: mail
type: function
doc:
<comment>Description:</comment>
  Trimite mesaje e-mail
  
  Trimite un mesaj e-mail.

<comment>Param:</comment>
  <info>string</info>  <strong>$to                   </strong>  Destinatarul sau destinatarii mesajului.
                                  
                                  Formatul acestui string trebuie să respecte RFC 2822. Unele
                                  exemple: user@example.comuser@example.com,
                                  anotheruser@example.comUser \<user@example.com&gt;User \<user@example.com&gt;, Another User \<anotheruser@example.com&gt;
  <info>string</info>  <strong>$subject              </strong>  Subiectul mesajului spre a fi trimis.
                                  
                                  Subiectul trebuie să satisfacă cerințelor RFC 2047.
  <info>string</info>  <strong>$message              </strong>  Mesajul spre a fi trimis.
                                  
                                  Fiecare rând trebuie să fie încheiat cu CRLF (\r\n). Lungimea
                                  rândurilor nu trebuie să depășească 70 de caractere.
                                  
                                  (Numai pentru Windows) Când PHP conlucrează direct cu un server
                                  SMTP, dacă este întâlnit un punct la începutul unui rând, el este
                                  eliminat. Pentru a depăși aceste situații, dublați punctul de la
                                  începutul rândului.
                                  ]]>
  <info>mixed </info>  <strong>$additional_headers   </strong>  Un <info>string</info> sau <info>array</info> spre a fi inserat la sfârșitul antetelor
                                  mesajului.
                                  
                                  Acesta este utilizat de obicei pentru a adăuga antete suplimentare
                                  (From, Cc, și Bcc). Antetele suplimentare multiple trebuie
                                  separate cu CRLF (\r\n). Dacă pentru a stabili acest antet se
                                  folosesc date externe, ele trebuie filtrate, astfel încât să nu
                                  fie posibilă inserarea antetelor nedorite.
                                  
                                  Dacă este transmis un <info>array</info>, atunci cheile sale sunt denumirile
                                  antetelor, iar valorile sale sunt valorile antetelor respective.
                                  
                                  Înainte de PHP 5.4.42 și 5.5.27, respectiv, <strong>$additional_headers</strong> nu
                                  avea o protecție împotriva injectării antetelor de email. De aceea
                                  utilizatorii trebuie să se asigure că antetele specificate sunt în
                                  siguranță și că conțin doar antete. De ex. niciodată nu începeți
                                  corpul mesajului inserând mai multe linii noi.
                                  
                                  La trimiterea mesajului, acesta trebuie să conțină antetul <return>From</return>.
                                  Acesta poate fi stabilit cu ajutorul parametrului
                                  <strong>$additional_headers</strong>, sau poate fi stabilită o valoare implicită în
                                  php.ini.
                                  
                                  În caz că nu se respectă această condiție, se va produce un mesaj
                                  de eroare similar cu acesta: <return>Warning: mail(): "sendmail_from" not
                                  set in php.ini or custom "From:" header missing</return> Antetul <return>From</return>
                                  stabilește de asemenea <return>Return-Path</return> când mesajul este transmis
                                  direct prin SMTP (doar în Windows).
                                  
                                  Dacă mesajele nu sunt primite, încercați să utilizați numai LF
                                  (\n). Unii agenți de transfer a mesajelor în Unix (în special
                                  qmail) înlocuiesc LF cu CRLF în mod automat (ceea ce duce la
                                  dublarea CR dacă este utilizat CRLF). Utilizați acest procedeu
                                  numai în caz excepțional, deoarece acesta nu se conformaeză cu RFC
                                  2822.
  <info>string</info>  <strong>$additional_parameters</strong>  Parametrul <strong>$additional_parameters</strong> poate fi utilizat pentru a
                                  transmite fanioane suplimentare programului configurat pentru a
                                  transmite poșta, definit de opțiunea de configurare <return>sendmail_path</return>.
                                  Spre exemplu, acesta poate fi utilizat pentru a stabili adresa
                                  expeditorului de pe plic când se utilizează sendmail cu opțiunea
                                  <return>-f</return>.
                                  
                                  Acest parametru este filtrat cu <strong>escapeshellcmd()</strong> în mod automat
                                  pentru a preveni execuția comenzilor. <strong>escapeshellcmd()</strong> previne
                                  execuția comenzilor, dar permite adăugarea parametrilor
                                  suplimentari. Din punct de vedere al securității este recomandabil
                                  ca utilizatorul să filtreze și să verifice acest parametru pentru
                                  a evita adăugarea parametrilor nedoriți la comanda pentru înveliș.
                                  
                                  Deoarece <strong>escapeshellcmd()</strong> este aaplicată în mod automat, unele
                                  caractere care sunt permise în adrese email de standardele RFC, nu
                                  pot fi utilizate. Funcția <strong>mail()</strong> nu poate permite asemenea
                                  caractere, de aceea în programele în care este necesară utilizarea
                                  acestor caractere, se recomandă utilizarea metodelor alternative
                                  de transmitere a email-urilor (de ex. utilizarea unui framework
                                  sau a unei biblioteci).
                                  
                                  Utilizatorul cu care rulează serveul web trebuie adăugat în
                                  calitate de utilizator de încredere în configurația sendmail
                                  pentru a preveni adăugarea unui antet 'X-Warning' la mesaj atunci
                                  când expeditorul de pe plic (-f) este stabilit prin această
                                  metodă. Pentru utilizatorii sendmail acest fișier este
                                  /etc/mail/trusted-users.

<comment>Return:</comment>
  <info>bool</info>  Întoarce <info>true</info> dacă mesajul a fost acceptat cu succes pentru trimitere, <info>false</info> în caz contrar.
        
        Este important să știți că cu toate că mesajul a fost acceptat spre trimitere, aceasta NU
        înseamnă că mesajul într-adevăr va ajunge la destinație.

<comment>See Also:</comment>
   * <strong>mb_send_mail()</strong>
   * <strong>imap_mail()</strong>
   * PEAR::Mail
   * PEAR::Mail_Mime


id: mailparse_determine_best_xfer_encoding
type: function
doc:
<comment>Description:</comment>
  Gets the best way of encoding
  
  Figures out the best way of encoding the content read from the given file pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fp</strong>  A valid file pointer, which must be seek-able.

<comment>Return:</comment>
  <info>string</info>  Returns one of the character encodings supported by the mbstring module.


id: mailparse_msg_create
type: function
doc:
<comment>Description:</comment>
  Create a mime mail resource
  
  Create a <return>MIME</return> mail resource.

<comment>Return:</comment>
  <info>resource</info>  Returns a handle that can be used to parse a message.

<comment>See Also:</comment>
   * <strong>mailparse_msg_free()</strong>
   * <strong>mailparse_msg_parse_file()</strong>


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

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail    </strong>  A valid <return>MIME</return> resource.
  <info>string  </info>  <strong>$msgbody     </strong>  
  <info>callable</info>  <strong>$callbackfunc</strong>  

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

<comment>See Also:</comment>
   * <strong>mailparse_msg_extract_part_file()</strong>
   * <strong>mailparse_msg_extract_whole_part_file()</strong>


id: mailparse_msg_extract_part_file
type: function
doc:
<comment>Description:</comment>
  Extracts/decodes a message section
  
  Extracts/decodes a message section from the supplied filename.
  
  The contents of the section will be decoded according to their transfer encoding - base64,
  quoted-printable and uuencoded text are supported.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail    </strong>  A valid <return>MIME</return> resource, created with <strong>mailparse_msg_create()</strong>.
  <info>mixed   </info>  <strong>$filename    </strong>  Can be a file name or a valid stream resource.
  <info>callable</info>  <strong>$callbackfunc</strong>  If set, this must be either a valid callback that will be passed the
                           extracted section, or <info>null</info> to make this function return the extracted
                           section.
                           
                           If not specified, the contents will be sent to "stdout".

<comment>Return:</comment>
  <info>string</info>  If <strong>$callbackfunc</strong> is not <info>null</info> returns <info>true</info> on success.
          
          If <strong>$callbackfunc</strong> is set to <info>null</info>, returns the extracted section as a string.
          
          Returns <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>mailparse_msg_extract_part()</strong>
   * <strong>mailparse_msg_extract_whole_part_file()</strong>


id: mailparse_msg_extract_whole_part_file
type: function
doc:
<comment>Description:</comment>
  Extracts a message section including headers without decoding the transfer encoding
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail    </strong>  A valid <return>MIME</return> resource.
  <info>string  </info>  <strong>$filename    </strong>  
  <info>callable</info>  <strong>$callbackfunc</strong>  

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

<comment>See Also:</comment>
   * <strong>mailparse_msg_extract_part()</strong>
   * <strong>mailparse_msg_extract_part_file()</strong>


id: mailparse_msg_free
type: function
doc:
<comment>Description:</comment>
  Frees a MIME resource
  
  Frees a <return>MIME</return> resource.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail</strong>  A valid <return>MIME</return> resource allocated by <strong>mailparse_msg_create()</strong> or
                       <strong>mailparse_msg_parse_file()</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>mailparse_msg_create()</strong>
   * <strong>mailparse_msg_parse_file()</strong>


id: mailparse_msg_get_part
type: function
doc:
<comment>Description:</comment>
  Returns a handle on a given section in a mimemessage
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail   </strong>  A valid <return>MIME</return> resource.
  <info>string  </info>  <strong>$mimesection</strong>  

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


id: mailparse_msg_get_part_data
type: function
doc:
<comment>Description:</comment>
  Returns an associative array of info about the message
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail</strong>  A valid <return>MIME</return> resource.

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


id: mailparse_msg_get_structure
type: function
doc:
<comment>Description:</comment>
  Returns an array of mime section names in the supplied message
  
  Această funcție nu este documentată în prezent; este disponibilă numai
  lista sa de argumente.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail</strong>  A valid <return>MIME</return> resource.

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


id: mailparse_msg_parse
type: function
doc:
<comment>Description:</comment>
  Incrementally parse data into buffer
  
  Incrementally parse data into the supplied mime mail resource.
  
  This function allow you to stream portions of a file at a time, rather than read and parse the
  whole thing.

<comment>Param:</comment>
  <info>resource</info>  <strong>$mimemail</strong>  A valid <return>MIME</return> resource.
  <info>string  </info>  <strong>$data    </strong>  The final chunk of <strong>$data</strong> is supposed to end with a newline (<return>CRLF</return>); otherwise
                       the last line of the message will not be parsed.

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


id: mailparse_msg_parse_file
type: function
doc:
<comment>Description:</comment>
  Parses a file
  
  Parses a file. This is the optimal way of parsing a mail file that you have on disk.

<comment>Param:</comment>
  <info>string</info>  <strong>$filename</strong>  Path to the file holding the message. The file is opened and streamed through
                     the parser.
                     
                     The message contained in <strong>$filename</strong> is supposed to end with a newline (<return>CRLF</return>);
                     otherwise the last line of the message will not be parsed.

<comment>Return:</comment>
  <info>resource</info>  Returns a <return>MIME</return> resource representing the structure, or <info>false</info> on error.

<comment>See Also:</comment>
   * <strong>mailparse_msg_free()</strong>
   * <strong>mailparse_msg_create()</strong>


id: mailparse_rfc822_parse_addresses
type: function
doc:
<comment>Description:</comment>
  Parse RFC 822 compliant addresses
  
  Parses a RFC 822 compliant recipient list, such as that found in the <return>To:</return> header.

<comment>Param:</comment>
  <info>string</info>  <strong>$addresses</strong>  A string containing addresses, like in: <return>Wez Furlong \<wez@example.com&gt;, doe@example.com</return>
                      
                      This string must not include the header name.

<comment>Return:</comment>
  <info>array</info>  Returns an array of associative arrays with the following keys for each recipient: <return>display</return>
         The recipient name, for display purpose. If this part is not set for a recipient, this key
         will hold the same value as  <return>address</return>. <return>address</return>The email address<return>is_group</return><info>true</info> if the recipient
         is a newsgroup, <info>false</info> otherwise.


id: mailparse_stream_encode
type: function
doc:
<comment>Description:</comment>
  Streams data from source file pointer, apply encoding and write to destfp 
    
  
  Streams data from the source file pointer, apply  <strong>$encoding</strong> and write to the destination file
  pointer.

<comment>Param:</comment>
  <info>resource</info>  <strong>$sourcefp</strong>  A valid file handle. The file is streamed through the parser.
  <info>resource</info>  <strong>$destfp  </strong>  The destination file handle in which the encoded data will be written.
  <info>string  </info>  <strong>$encoding</strong>  One of the character encodings supported by the mbstring module.

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


id: mailparse_uudecode_all
type: function
doc:
<comment>Description:</comment>
  Scans the data from fp and extract each embedded uuencoded file
    
  
  Scans the data from the given file pointer and extract each embedded uuencoded file into a
  temporary file.

<comment>Param:</comment>
  <info>resource</info>  <strong>$fp</strong>  A valid file pointer.

<comment>Return:</comment>
  <info>array</info>  Returns an array of associative arrays listing filename information. <return>filename</return>Path to the
         temporary file name created<return>origfilename</return>The original filename, for uuencoded parts only The
         first filename entry is the message body. The next entries are the decoded uuencoded files.


id: main
type: function
doc:
<comment>Description:</comment>
  Dummy for main
  
  There is no function named <strong>main()</strong> except in the PHP source.  In PHP 4.3.0, a new type of error
  handling in the PHP source (php_error_docref) was introduced.  One feature is to provide links to
  a manual page in PHP error messages when the PHP directives html_errors (on by default) and
  docref_root (on by default until PHP 4.3.2) are set.
  
  Sometimes error messages refer to a manual page for the function <strong>main()</strong> which is why this page
  exists.   If you discover such a reference, please file a bug report, indicating the PHP function
  caused the error that linked to <strong>main()</strong> and it will be fixed and properly documented.
  
  Known errors that point to <strong>main()</strong>Function nameNo longer points here as
  of<strong>include()</strong>5.1.0<strong>include_once()</strong>5.1.0<strong>require()</strong>5.1.0<strong>require_once()</strong>5.1.0

<comment>See Also:</comment>
   * html_errors
   * display_errors


id: max
type: function
doc:
<comment>Description:</comment>
  Find highest value
  
  Alternative signature (not supported with named arguments):
  
  If the first and only parameter is an array, <strong>max()</strong> returns the highest value in that array. If at
  least two parameters are  provided, <strong>max()</strong> returns the biggest of these values.
  
  Values of different types will be compared using the  standard comparison rules. For instance, a
  non-numeric <info>string</info> will be compared to an <info>int</info> as though it were <return>0</return>, but multiple non-numeric <info>string</info>
  values will be compared alphanumerically. The actual value returned will be of the original type
  with no conversion applied.
  
  Be careful when passing arguments of different types because <strong>max()</strong> can produce unpredictable
  results.

<comment>Param:</comment>
  <info>mixed</info>  <strong>$value      </strong>  Any comparable value.
  <info>mixed</info>  <strong>$values     </strong>  Any comparable values.
  <info>array</info>  <strong>$value_array</strong>  An array containing the values.

<comment>Return:</comment>
  <info>mixed</info>  <strong>max()</strong> returns the parameter value considered "highest" according to standard comparisons.
         If multiple values of different types evaluate as equal (e.g. <return>0</return> and <return>'abc'</return>) the first
         provided to the function will be returned.
         
         If an empty array is passed, then <info>false</info> will be returned and an <info>E_WARNING</info> error will be
         emitted.

<comment>See Also:</comment>
   * <strong>min()</strong>
   * <strong>count()</strong>


id: mb_check_encoding
type: function
doc:
<comment>Description:</comment>
  Check if strings are valid for the specified encoding
  
  Checks if the specified byte stream is valid for the specified encoding. If <strong>$value</strong> is of type
  <info>array</info>, all keys and values are validated recursively. It is useful to prevent so-called "Invalid
  Encoding Attack".

<comment>Param:</comment>
  <info>arraystringnull</info>  <strong>$value   </strong>  The byte stream or <info>array</info> to check. If it is omitted, this function
                              checks all the input from the beginning of the request.
  <info>stringnull     </info>  <strong>$encoding</strong>  The expected encoding.

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


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

<comment>Param:</comment>
  <info>int       </info>  <strong>$codepoint</strong>  
  <info>stringnull</info>  <strong>$encoding </strong>  

<comment>Return:</comment>
  <info>stringfalse</info>  Returns a specific character sau <info>false</info> în cazul eșecului.

<comment>See Also:</comment>
   * <strong>mb_ord()</strong>
   * <strong>chr()</strong>


id: mb_convert_case
type: function
doc:
<comment>Description:</comment>
  Perform case folding on a string
  
  Performs case folding on a <info>string</info>, converted in the way specified by <strong>$mode</strong>.

<comment>Param:</comment>
  <info>string    </info>  <strong>$string  </strong>  The <info>string</info> being converted.
  <info>int       </info>  <strong>$mode    </strong>  The mode of the conversion. It can be one of  <info>MB_CASE_UPPER</info>,
                         <info>MB_CASE_LOWER</info>,  <info>MB_CASE_TITLE</info>, <info>MB_CASE_FOLD</info>, <info>MB_CASE_UPPER_SIMPLE</info>,
                         <info>MB_CASE_LOWER_SIMPLE</info>, <info>MB_CASE_TITLE_SIMPLE</info>, <info>MB_CASE_FOLD_SIMPLE</info>.
  <info>stringnull</info>  <strong>$encoding</strong>  Parametrul <strong>$encoding</strong> reprezintă codificarea caracterelor.
                         Dacă el este omis, va fi utilizată valoarea internă a codificării
                         caracterelor.

<comment>Return:</comment>
  <info>string</info>  A case folded version of <strong>$string</strong> converted in the way specified by <strong>$mode</strong>.

<comment>See Also:</comment>
   * <strong>mb_strtolower()</strong>
   * <strong>mb_strtoupper()</strong>
   * <strong>strtolower()</strong>
   * <strong>strtoupper()</strong>
   * <strong>ucfirst()</strong>
   * <strong>ucwords()</strong>


id: mb_convert_encoding
type: function
doc:
<comment>Description:</comment>
  Convert character encoding
  
  Converts the character encoding of <strong>$string</strong> to <strong>$to_encoding</strong> from optionally <strong>$from_encoding</strong>. If
  <strong>$string</strong> is an <info>array</info>, all its <info>string</info> values will be converted recursively.

<comment>Param:</comment>
  <info>arraystring    </info>  <strong>$string       </strong>  The <info>string</info> or <info>array</info> being encoded.
  <info>string         </info>  <strong>$to_encoding  </strong>  The type of encoding that <strong>$string</strong> is being converted to.
  <info>arraystringnull</info>  <strong>$from_encoding</strong>  Is specified by character code names before conversion. It is
                                   either an <info>array</info>, or a comma separated enumerated list. If
                                   <strong>$from_encoding</strong> is not specified, the internal  encoding will be
                                   used.
                                   
                                   See supported encodings.

<comment>Return:</comment>
  <info>arraystringfalse</info>  The encoded <info>string</info> or <info>array</info> on success,  sau <info>false</info> în cazul eșecului.

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


id: mb_convert_kana
type: function
doc:
<comment>Description:</comment>
  Convert "kana" one from another ("zen-kaku", "han-kaku" and more)
  
  Performs a "han-kaku" - "zen-kaku" conversion for <info>string</info> <strong>$string</strong>.  This function is only useful
  for Japanese.

<comment>Param:</comment>
  <info>string    </info>  <strong>$string  </strong>  The <info>string</info> being converted.
  <info>string    </info>  <strong>$mode    </strong>  The conversion option.
                         
                         Specify with a combination of following options. Applicable Conversion
                         OptionsOptionMeaning<return>r</return> Convert "zen-kaku" alphabets to "han-kaku" <return>R</return> Convert
                         "han-kaku" alphabets to "zen-kaku" <return>n</return> Convert "zen-kaku" numbers to
                         "han-kaku" <return>N</return> Convert "han-kaku" numbers to "zen-kaku" <return>a</return> Convert "zen-kaku"
                         alphabets and numbers to "han-kaku" <return>A</return> Convert "han-kaku" alphabets and
                         numbers to "zen-kaku" (Characters included in "a", "A" options are U+0021 -
                         U+007E excluding U+0022, U+0027, U+005C, U+007E) <return>s</return> Convert "zen-kaku" space
                         to "han-kaku" (U+3000 -&gt; U+0020) <return>S</return> Convert "han-kaku" space to
                         "zen-kaku" (U+0020 -&gt; U+3000) <return>k</return> Convert "zen-kaku kata-kana" to
                         "han-kaku kata-kana" <return>K</return> Convert "han-kaku kata-kana" to "zen-kaku kata-kana"
                         <return>h</return> Convert "zen-kaku hira-gana" to "han-kaku kata-kana" <return>H</return> Convert "han-kaku
                         kata-kana" to "zen-kaku hira-gana" <return>c</return> Convert "zen-kaku kata-kana" to
                         "zen-kaku hira-gana" <return>C</return> Convert "zen-kaku hira-gana" to "zen-kaku kata-kana"
                         <return>V</return> Collapse voiced sound notation and convert them into a character. Use
                         with "K","H"
  <info>stringnull</info>  <strong>$encoding</strong>  Parametrul <strong>$encoding</strong> reprezintă codificarea caracterelor.
                         Dacă el este omis, va fi utilizată valoarea internă a codificării
                         caracterelor.

<comment>Return:</comment>
  <info>string</info>  The converted <info>string</info>.


id: mb_convert_variables
type: function
doc:
<comment>Description:</comment>
  Convert character code in variable(s)
  
  Converts  character encoding of variables <strong>$var</strong> and <strong>$vars</strong> in encoding <strong>$from_encoding</strong> to encoding
  <strong>$to_encoding</strong>.
  
  <strong>mb_convert_variables()</strong> join strings in Array or Object to detect encoding, since encoding
  detection tends to fail for short strings. Therefore, it is impossible to mix encoding in single
  array or object.

<comment>Param:</comment>
  <info>string     </info>  <strong>$to_encoding  </strong>  The encoding that the <info>string</info> is being converted to.
  <info>arraystring</info>  <strong>$from_encoding</strong>  <strong>$from_encoding</strong> is specified as an <info>array</info>  or comma separated <info>string</info>,
                               it tries to detect encoding from <strong>$from-coding</strong>. When <strong>$from_encoding</strong>
                               is omitted, <return>detect_order</return> is used.
  <info>mixed      </info>  <strong>$var          </strong>  <strong>$var</strong> is the reference to the variable being converted. String, Array
                               and Object are accepted. <strong>mb_convert_variables()</strong> assumes all
                               parameters have the same encoding.
  <info>mixed      </info>  <strong>$vars         </strong>  Additional <strong>$var</strong>s.

<comment>Return:</comment>
  <info>stringfalse</info>  The character encoding before conversion for success,  or <info>false</info> for failure.


id: mb_decode_mimeheader
type: function
doc:
<comment>Description:</comment>
  Decode string in MIME header field
  
  Decodes encoded-word <info>string</info> <strong>$string</strong> in MIME header.

<comment>Param:</comment>
  <info>string</info>  <strong>$string</strong>  The <info>string</info> being decoded.

<comment>Return:</comment>
  <info>string</info>  The decoded <info>string</info> in internal character encoding.

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


id: mb_decode_numericentity
type: function
doc:
<comment>Description:</comment>
  Decode HTML numeric string reference to character
  
  Convert numeric string reference of <info>string</info> <strong>$string</strong> in a specified block to character.

<comment>Param:</comment>
  <info>string    </info>  <strong>$string  </strong>  The <info>string</info> being decoded.
  <info>array     </info>  <strong>$map     </strong>  <strong>$map</strong> is an <info>array</info> that specifies  the code area to convert.
  <info>stringnull</info>  <strong>$encoding</strong>  Parametrul <strong>$encoding</strong> reprezintă codificarea caracterelor.
                         Dacă el este omis, va fi utilizată valoarea internă a codificării
                         caracterelor.
  <info>          </info>  <strong>$is_hex  </strong>  This parameter is not used.

<comment>Return:</comment>
  <info>string</info>  The converted <info>string</info>.

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


