CVS update: php3/doc/functions

From: Date: Sat, 15 May 1999 23:21:45 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5657@lists.php.net to get a copy of this message
Date: Saturday May 15, 1999 @ 19:21 Author: cslawi Update of /repository/php3/doc/functions In directory php:/tmp/cvs-serv28101/functions Modified Files: regex.sgml Log Message: Clarified what ereg_replace() returns when the match fails. Index: php3/doc/functions/regex.sgml diff -u php3/doc/functions/regex.sgml:1.11 php3/doc/functions/regex.sgml:1.12 --- php3/doc/functions/regex.sgml:1.11 Wed Dec 9 21:07:41 1998 +++ php3/doc/functions/regex.sgml Sat May 15 19:21:44 1999 @@ -84,7 +84,14 @@ substring; <literal>\\0</literal> will produce the entire contents of string. Up to nine substrings may be used. Parentheses may be nested, in which case they are counted by the - opening parenthesis. For example, the following code snippet + opening parenthesis. + + <para> + If no matches are found in <parameter>string</parameter>, then + <parameter>string</parameter> will be returned unchanged. + + <para> + For example, the following code snippet prints "This was a test" three times: <example> <title>ereg_replace() example</title> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5657) next »