|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<!-- EN-Revision: edb34f53e1d711a5bd968d1fe1b9b41e58ed38cb Maintainer: yannick Status: ready --> |
| 2 | +<!-- EN-Revision: 9b09581bfdd1fa1c33daa740ad49599cf665cff4 Maintainer: yannick Status: ready --> |
3 | 3 | <!-- Reviewed: no --> |
4 | 4 | <appendix xml:id="filter.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> |
5 | 5 | &reftitle.constants; |
|
261 | 261 | <listitem> |
262 | 262 | <simpara> |
263 | 263 | Retourne &true; pour <literal>"1"</literal>, |
264 | | - <literal>"true"</literal>, |
| 264 | + <literal>1</literal>, y compris les notations binaire, octale et hexadécimale, <literal>1.0</literal>, |
| 265 | + <literal>"true"</literal>, <literal>true</literal>, |
265 | 266 | <literal>"on"</literal>, |
266 | 267 | et <literal>"yes"</literal>. |
267 | 268 | </simpara> |
268 | 269 | <simpara> |
269 | 270 | Retourne &false; pour <literal>"0"</literal>, |
270 | | - <literal>"false"</literal>, |
| 271 | + <literal>0</literal>, y compris les notations binaire, octale et hexadécimale, <literal>0.0</literal>, |
| 272 | + <literal>"false"</literal>, <literal>false</literal>, |
271 | 273 | <literal>"off"</literal>, |
272 | 274 | <literal>"no"</literal>, et |
273 | 275 | <literal>""</literal>. |
274 | 276 | </simpara> |
275 | 277 | <simpara> |
| 278 | + Les valeurs de type chaîne sont comparées sans tenir compte de la casse. |
276 | 279 | La valeur retournée pour des valeurs non booléennes dépend de |
277 | 280 | <constant>FILTER_NULL_ON_FAILURE</constant>. |
278 | 281 | Si ce dernier est défini, &null; est retourné, sinon &false; est retourné. |
|
495 | 498 | </term> |
496 | 499 | <listitem> |
497 | 500 | <simpara> |
498 | | - Valide si le nom de l'<acronym>URL</acronym> est valide selon |
| 501 | + Valide si l'<acronym>URL</acronym> est valide selon |
499 | 502 | <link xlink:href="&url.rfc;2396">RFC 2396</link>. |
500 | 503 | </simpara> |
501 | 504 | <variablelist xml:id="filter.constants.validation.url.options"> |
|
941 | 944 | <member><literal>&</literal></member> |
942 | 945 | </simplelist> |
943 | 946 | et sur les caractères ayant une valeur ASCII inférieure à 32. |
| 947 | + Contrairement au filtre <constant>FILTER_SANITIZE_FULL_SPECIAL_CHARS</constant>, |
| 948 | + le filtre <constant>FILTER_SANITIZE_SPECIAL_CHARS</constant> ignore l’indicateur |
| 949 | + <constant>FILTER_FLAG_NO_ENCODE_QUOTES</constant>. |
944 | 950 | </para> |
945 | 951 | <simpara> |
946 | 952 | En option, il peut supprimer des caractères spécifiés s'il est utilisé avec les |
|
0 commit comments