Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 1631

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>mb_ereg</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Multibyte String Functions"
HREF="ref.mbstring.html"><LINK
REL="PREVIOUS"
TITLE="mb_ereg_search"
HREF="function.mb-ereg-search.html"><LINK
REL="NEXT"
TITLE="mb_eregi_replace"
HREF="function.mb-eregi-replace.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.mb-ereg-search.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.mb-eregi-replace.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.mb-ereg"
></A
>mb_ereg</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN52650"
></A
><P
>    (PHP 4 &#62;= 4.2.0)</P
>mb_ereg&nbsp;--&nbsp;Regular expression match with multibyte support</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN52653"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>mb_ereg</B
> ( string pattern, string string [, array regs])<BR
></BR
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Avertisment</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>Aceastã funcþie
este <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>EXPERIMENTALÃ</I
></SPAN
>. Comportamentul acestei funcþii,
numele funcþiei, ºi orice altceva documentat despre aceastã funcþie
ar putea fi schimbate farã un anunþ prealabil, intr-o viitoare versiune PHP.
V-am avertizat, deci folosiþi aceastã extensie pe riscul dv.</P
></TD
></TR
></TABLE
></DIV
><P
>&#13;     <B
CLASS="function"
>mb_ereg()</B
> executes the regular expression
     match with multibyte support, and returns 1 if matches are found.
     If the optional third parameter was specified, the function
     returns the byte length of matched part, and the array
     <VAR
CLASS="parameter"
>regs</VAR
> will contain the substring of matched
     string. The functions returns 1 if it matches with the empty
     string. If no matches found or error happend, <TT
CLASS="constant"
><B
>FALSE</B
></TT
> will be
     returned.
    </P
><P
>&#13;     The internal encoding or the character encoding specified in
     <A
HREF="function.mb-regex-encoding.html"
><B
CLASS="function"
>mb_regex_encoding()</B
></A
> will be used as character
     encoding.
    </P
><P
>&#13;     See also: <A
HREF="function.mb-regex-encoding.html"
><B
CLASS="function"
>mb_regex_encoding()</B
></A
>,
     <A
HREF="function.mb-eregi.html"
><B
CLASS="function"
>mb_eregi()</B
></A
>
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.mb-ereg-search.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.mb-eregi-replace.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>mb_ereg_search</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.mbstring.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>mb_eregi_replace</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>