[DOC-CVS] [doc-en] master: Fix example code style

[email protected] (Jakub Vrana)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Jakub Vrana (vrana)
Date: 2025-04-17T18:27:15+02:00

Commit: https://github.com/php/doc-en/commit/0e6f9948fe9e5412cc5f31d0a30bcde30f9ee404
Raw diff: https://github.com/php/doc-en/commit/0e6f9948fe9e5412cc5f31d0a30bcde30f9ee404.diff

Fix example code style

Changed paths:
  M  reference/array/functions/array-replace-recursive.xml


Diff:

diff --git a/reference/array/functions/array-replace-recursive.xml b/reference/array/functions/array-replace-recursive.xml
index d0098ba5b529..3f6f60516c00 100644
--- a/reference/array/functions/array-replace-recursive.xml
+++ b/reference/array/functions/array-replace-recursive.xml
@@ -71,7 +71,7 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-$base = array('citrus' => array( "orange") , 'berries' => array("blackberry", "raspberry"), );
+$base = array('citrus' => array("orange"), 'berries' => array("blackberry", "raspberry"));
 $replacements = array('citrus' => array('pineapple'), 'berries' => array('blueberry'));
 
 $basket = array_replace_recursive($base, $replacements);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.