Re: cvs: phpdoc /en/reference/strings/functions stristr.xml strstr.xml
| From: | Felipe Pena | Date: | Wed, 16 Apr 2008 11:12:24 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/strings/functions stristr.xml strstr.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-1510@lists.php.net to get a copy of this message | ||
Em Qua, 2008-04-16 às 11:02 +0000, Felipe Pena escreveu:
> felipe Wed Apr 16 11:02:40 2008 UTC
>
> Modified files:
> /phpdoc/en/reference/strings/functions stristr.xml strstr.xml
> Log:
>
This was a little accident. (no log)
:(
>
>
> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/stristr.xml?r1=1.19&r2=1.20&diff_format=u
> Index: phpdoc/en/reference/strings/functions/stristr.xml
> diff -u phpdoc/en/reference/strings/functions/stristr.xml:1.19
> phpdoc/en/reference/strings/functions/stristr.xml:1.20
> --- phpdoc/en/reference/strings/functions/stristr.xml:1.19 Fri Feb 1 16:50:53 2008
> +++ phpdoc/en/reference/strings/functions/stristr.xml Wed Apr 16 11:02:40 2008
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.19 $ -->
> +<!-- $Revision: 1.20 $ -->
> <refentry xmlns="http://docbook.org/ns/docbook"
> xml:id="function.stristr">
> <refnamediv>
> <refname>stristr</refname>
> @@ -107,7 +107,7 @@
> <?php
> $email = 'USER@EXAMPLE.com';
> echo stristr($email, 'e'); // outputs ER@EXAMPLE.com
> - echo stristr($email, 'e', true); // outputs US
> + echo stristr($email, 'e', true); // As of PHP 5.3.0, outputs US
> ?>
> ]]>
> </programlisting>
>
> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strstr.xml?r1=1.16&r2=1.17&diff_format=u
> Index: phpdoc/en/reference/strings/functions/strstr.xml
> diff -u phpdoc/en/reference/strings/functions/strstr.xml:1.16
> phpdoc/en/reference/strings/functions/strstr.xml:1.17
> --- phpdoc/en/reference/strings/functions/strstr.xml:1.16 Fri Feb 1 16:50:53 2008
> +++ phpdoc/en/reference/strings/functions/strstr.xml Wed Apr 16 11:02:40 2008
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.16 $ -->
> +<!-- $Revision: 1.17 $ -->
> <refentry xmlns="http://docbook.org/ns/docbook"
> xml:id="function.strstr">
> <refnamediv>
> <refname>strstr</refname>
> @@ -119,7 +119,7 @@
> $domain = strstr($email, '@');
> echo $domain; // prints @example.com
>
> -$user = strstr($email, '@', true);
> +$user = strstr($email, '@', true); // As of PHP 5.3.0
> echo $user; // prints name
> ?>
> ]]>
>
>
>
--
Regards,
Felipe Pena.