mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Typos, added text to clarify ereg array.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30170 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
18cb02cea8
commit
db7f8bfa86
1 changed files with 2 additions and 2 deletions
|
@ -93,14 +93,14 @@ $string = ereg_replace ("\n", "", $string);
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<simpara>
|
||||
Searchs <parameter>string</parameter> for matches to the regular
|
||||
Searches a <parameter>string</parameter> for matches to the regular
|
||||
expression given in <parameter>pattern</parameter>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If matches are found for parenthesized substrings of
|
||||
<parameter>pattern</parameter> and the function is called with
|
||||
the third argument <parameter>regs</parameter>, the matches will
|
||||
be stored in the elements of
|
||||
be stored in the elements of the array
|
||||
<parameter>regs</parameter>. $regs[1] will contain the substring
|
||||
which starts at the first left parenthesis; $regs[2] will contain
|
||||
the substring starting at the second, and so on. $regs[0] will
|
||||
|
|
Loading…
Reference in a new issue