Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 03_arrays.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$colors = ['red', 'blue', 'green'];

// Using the array function to create an array of numbers
$numbers = [1, 2, 3, 4, 5];
$numbers = array(1, 2, 3, 4, 5);

// Outputting values from an array
echo $numbers[0];
Expand Down