mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix description & examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@263224 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d2c6b0a506
commit
2ac8c1ab19
1 changed files with 6 additions and 6 deletions
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="locale.filtermatches">
|
||||
<refnamediv>
|
||||
<refname>Locale::filterMatches</refname>
|
||||
<refname>locale_filter_matches</refname>
|
||||
<refpurpose>Checks if a $langtag filter matches with $locale according to</refpurpose>
|
||||
<refpurpose>Checks if a language tag filter matches with locale</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
@ -73,9 +73,9 @@
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
echo (locale_filter_matches('de-DEVA','de-DE', false)) ? "Matches" : "Does not match";
|
||||
echo (locale_filter_matches('de-DEVA','de-DE')) ? "Matches" : "Does not match";
|
||||
echo '; ';
|
||||
echo (locale_filter_matches('de-DE_1996','de-DE', false)) ? "Matches" : "Does not match";
|
||||
echo (locale_filter_matches('de-DE_1996','de-DE')) ? "Matches" : "Does not match";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
@ -85,9 +85,9 @@ echo (locale_filter_matches('de-DE_1996','de-DE', false)) ? "Matches" : "Does no
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
echo (Locale::filter_matches('de-DEVA','de-DE', false)) ? "Matches" : "Does not match";
|
||||
echo (Locale::filter_matches('de-DEVA','de-DE')) ? "Matches" : "Does not match";
|
||||
echo '; ';
|
||||
echo (Locale::filter_matches('de-DE-1996','de-DE', false)) ? "Matches" : "Does not match";
|
||||
echo (Locale::filter_matches('de-DE-1996','de-DE')) ? "Matches" : "Does not match";
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue