Skip to content

Commit

Permalink
strings section sync with EN (#837)
Browse files Browse the repository at this point in the history
Co-authored-by: Gina Peter Banyard <girgias@php.net>
  • Loading branch information
devnexen and Girgias authored Mar 8, 2024
1 parent 2d79d2f commit 493b1ab
Showing 1 changed file with 4 additions and 4 deletions.
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> qui est plus rapide
et moins gourmande en mémoire devrait être utilisée à la place.
</para>
</note>
</refsect1>
Expand Down

0 comments on commit 493b1ab

Please sign in to comment.