*** empty log message ***

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257681 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-04-16 11:02:40 +00:00
parent b2bf9eca02
commit 8049649d60
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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 @@ $email = 'name@example.com';
$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
?>
]]>