Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strings section sync with EN #837

Merged
merged 2 commits into from
Mar 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions reference/strings/functions/strstr.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 71b1e926631d5f5bec9b2e2685553453349ae799 Maintainer: yannick Status: ready -->
<!-- EN-Revision: c276fff86c44bc92a9f9105aa66342a731ac78d8 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.strstr" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -30,9 +30,9 @@
</note>
<note>
<para>
Si vous voulez juste déterminer si un <parameter>needle</parameter> particulier
se trouve dans la chaîne <parameter>haystack</parameter>, utilisez la fonction
<function>strpos</function> qui est plus rapide et qui consomme moins de ressources.
Si l'objectif est uniquement de déterminer si une certaine valeur de <parameter>needle</parameter>
se trouve dans <parameter>haystack</parameter>, la fonction <function>str_contains</function> plus rapide
et moins gourmande en mémoire devrait être utilisée à la place.
</para>
</note>
</refsect1>
Expand Down