Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Collections/PHP/collections.php
Normal file
10
Task/Collections/PHP/collections.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
$a = array();
|
||||
# add elements "at the end"
|
||||
array_push($a, 55, 10, 20);
|
||||
print_r($a);
|
||||
# using an explicit key
|
||||
$a['one'] = 1;
|
||||
$a['two'] = 2;
|
||||
print_r($a);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue