mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
going in direction of RFC 2606
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75100 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3d87de0ea9
commit
8927719364
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.166 $ -->
|
||||
<!-- $Revision: 1.167 $ -->
|
||||
<reference id="ref.strings">
|
||||
<title>String functions</title>
|
||||
<titleabbrev>Strings</titleabbrev>
|
||||
|
@ -3205,9 +3205,9 @@ $var = strspn("42 is the answer, what is the question ...", "1234567890");
|
|||
<title><function>strstr</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
$email = 'sterling@designmultimedia.com';
|
||||
$email = 'user@example.com';
|
||||
$domain = strstr($email, '@');
|
||||
print $domain; // prints @designmultimedia.com
|
||||
print $domain; // prints @example.com
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
|
|
Loading…
Reference in a new issue