-
-
Save bielawb/96cece31ba68b8917bfc2b889605cb7f to your computer and use it in GitHub Desktop.
Kolekcje po obu stronach znaku równości.
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
# Tyle samo elementów po obu stronach - $jeden = 1, $dwa = 2. | |
$jeden, $dwa = 1, 2 | |
# Po prawej więcej elementów. Nadmiarowe elementy dodane do ostatniej zmiennej. $skalar = 1, $kolekcja = 2, 3, 4 | |
$skalar, $kolekcja = 1, 2, 3, 4 | |
# Po lewej więcej elementów. Nadmiarowe zmienne będą $null | |
$zmienna, $innaZmienna, $tuNull, $tamNull = 1, 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment