Created
July 27, 2019 00:06
-
-
Save parzibyte/41948497d859c3078b5e688d0228643b to your computer and use it in GitHub Desktop.
Combinar arreglos en PHP https://parzibyte.me/blog
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 | |
$gatos = array("Michi", "Misifú"); | |
$perros = array("Maggie", "Guayaba"); | |
$mascotas = array_merge($gatos, $perros); | |
print_r($mascotas); | |
/* | |
Array | |
( | |
[0] => Michi | |
[1] => Misifú | |
[2] => Maggie | |
[3] => Guayaba | |
) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment