File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
reference/xdiff/functions Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: ec45af749649dc0d6a23eaedeed1b601f7460813 Maintainer: Fan2Shrek Status: ready -->
2+ <!-- EN-Revision: ce397343296708654c8cdac774e23a9ee47ab27d Maintainer: Fan2Shrek Status: ready -->
33<!-- Reviewed: yes -->
44<sect1 xml : id =" migration85.new-features" xmlns : xlink =" http://www.w3.org/1999/xlink" >
55 <title >Nouvelle fonctionnalités</title >
@@ -70,7 +70,7 @@ print $result . PHP_EOL; // Affiche "11"
7070
7171#[\NoDiscard]
7272function concat(string $a, string $b): string {
73- return a + b;
73+ return $a . $ b;
7474}
7575
7676// Attention : La valeur de retour de la fonction concat() doit être utilisée ou
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- EN-Revision: c999c7066ede7dc2df80e0bd3364bfa0ef1f9533 Maintainer: lacatoire Status: ready -->
2+ <!-- EN-Revision: 2f1812217524ac60414745bad05cbbee00262b3b Maintainer: lacatoire Status: ready -->
33<!-- Reviewed: no -->
44<sect1 xml : id =" language.operators.functional" >
55 <title >Opérateurs fonctionnels</title >
@@ -51,15 +51,15 @@ $result = "PHP Rocks"
5151 |> (fn($x) => array_map(strtoupper(...), $x))
5252 |> (fn($x) => array_filter($x, fn($v) => $v != 'O'))
5353;
54- echo $result, PHP_EOL ;
54+ print_r( $result) ;
5555
5656$temp = "PHP Rocks";
5757$temp = htmlentities($temp);
5858$temp = str_split($temp);
5959$temp = array_map(strtoupper(...), $temp);
6060$temp = array_filter($temp, fn($v) => $v != 'O');
6161$result = $temp;
62- echo $result, PHP_EOL ;
62+ print_r( $result) ;
6363?>
6464]]>
6565 </programlisting >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 198702020219835de11dc3064b7dc0590361ecab Maintainer: yannick Status: ready -->
3+ <!-- EN-Revision: 480cc8a9efdb0d2cb1a12bc5c3bab80875a099ee Maintainer: yannick Status: ready -->
44<!-- Reviewed: yes -->
55
66<refentry xml : id =" function.xdiff-string-rabdiff" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
1414 <refsect1 role =" description" >
1515 &reftitle.description;
1616 <methodsynopsis >
17- <type > string| false</type ><methodname >xdiff_string_rabdiff</methodname >
17+ <type class = " union " >< type > string</ type >< type > false</ type > </type ><methodname >xdiff_string_rabdiff</methodname >
1818 <methodparam ><type >string</type ><parameter >old_data</parameter ></methodparam >
1919 <methodparam ><type >string</type ><parameter >new_data</parameter ></methodparam >
2020 </methodsynopsis >
You can’t perform that action at this time.
0 commit comments