new tasks
This commit is contained in:
parent
2a4d27cea0
commit
80737d5a6a
1194 changed files with 15353 additions and 1 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