mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
sync with en rev
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: ec45af749649dc0d6a23eaedeed1b601f7460813 Maintainer: leonardolara Status: ready -->
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- EN-Revision: ce397343296708654c8cdac774e23a9ee47ab27d Maintainer: leonardolara Status: ready -->
|
||||
<sect1 xml:id="migration85.new-features" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Novas Funcionalidades</title>
|
||||
|
||||
@@ -68,7 +68,7 @@ print $result . PHP_EOL; // Exibe "11"
|
||||
|
||||
#[\NoDiscard]
|
||||
function concat(string $a, string $b): string {
|
||||
return a + b;
|
||||
return $a . $b;
|
||||
}
|
||||
|
||||
// Warning: The return value of function concat() should either be used or
|
||||
|
||||
Reference in New Issue
Block a user