Created
July 27, 2019 02:17
-
-
Save parzibyte/74624931a0e6e7c523d93f8eb9847659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$detallesUsuario = array( | |
"nombre" => "Luis Cabrera Benito", | |
"sitio_web" => "parzibyte.me", | |
); | |
$masDetalles = array( | |
"edad" => 22, | |
"sitio_web" => "https://parzibyte.me/blog", | |
); | |
$con_array_merge = array_merge($detallesUsuario, $masDetalles); | |
print_r($con_array_merge); | |
/* | |
Array | |
( | |
[nombre] => Luis Cabrera Benito | |
[sitio_web] => https://parzibyte.me/blog | |
[edad] => 22 | |
) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment