⚙️
PHP Tools Hub
Tools
PHP
Quick
Contact
Home
>
Tutorials
>
PHP
>
PHP Arrays
PHP Arrays Tutorials
73 tutorials found.
📘
Array Inside Array
Multidimensional Array | Definition | PHP
📘
Assign Values to Variables
Array Destructuring | list Function | PHP
📘
Get Array Length
Array Functions | count Function | PHP
📘
Numeric Keys Start 0
Indexed Array | Definition | PHP
📘
Sort Ascending
Sorting Functions | sort | PHP
📘
String Keys
Associative Array | Definition | PHP
📘
Three Dots Unpack
Spread Operator | Array Unpacking | PHP
📘
$list a b c
Array Destructuring | list Example | PHP
📘
array Create Array
Indexed Array | array Function | PHP
📘
array key value
Associative Array | array Function | PHP
📘
array merge with spread
Spread Operator | Example | PHP
📘
Count Alias Function
Array Functions | sizeof Alias | PHP
📘
Matrix Structure
Multidimensional Array | Two Dimensional | PHP
📘
Sort Descending
Sorting Functions | rsort | PHP
📘
Add Element to End
Array Functions | array_push | PHP
📘
Brackets Assignment
Array Destructuring | Short Syntax | PHP
📘
Cube Structure
Multidimensional Array | Three Dimensional | PHP
📘
key value brackets
Associative Array | Short Syntax | PHP
📘
Sort Ascending Keep Keys
Sorting Functions | asort | PHP
📘
Square Brackets
Indexed Array | Short Syntax | PHP
📘
Works with String Keys PHP 8.1
Spread Operator | String Keys | PHP
📘
$array index index
Multidimensional Array | Access Element | PHP
📘
$colors array red blue
Indexed Array | Example | PHP
📘
$user name John
Associative Array | Example | PHP
📘
a b c equals array
Array Destructuring | Short Example | PHP
📘
Last Key Overwrites
Spread Operator | Duplicate Keys | PHP
📘
Remove Element from End
Array Functions | array_pop | PHP
📘
Sort Descending Keep Keys
Sorting Functions | arsort | PHP
📘
$array index
Indexed Array | Access Element | PHP
📘
$array key
Associative Array | Access Element | PHP
📘
Comma Without Variable
Array Destructuring | Skip Values | PHP
📘
Remove Element from Start
Array Functions | array_shift | PHP
📘
Sort by Keys Ascending
Sorting Functions | ksort | PHP
📘
Student Grades Matrix
Multidimensional Array | Example | PHP
📘
$array index new value
Indexed Array | Modify Element | PHP
📘
$array key new value
Associative Array | Modify Element | PHP
📘
Add Element to Start
Array Functions | array_unshift | PHP
📘
Nested foreach Loops
Multidimensional Array | Iteration | PHP
📘
Sort by Keys Descending
Sorting Functions | krsort | PHP
📘
Square Brackets with Keys
Array Destructuring | Associative Array | PHP
📘
$array new index value
Indexed Array | Add Element | PHP
📘
$array new key value
Associative Array | Add Element | PHP
📘
Destructure Nested Arrays
Array Destructuring | Nested | PHP
📘
Merge Multiple Arrays
Array Functions | array_merge | PHP
📘
Sort by User Function
Sorting Functions | usort | PHP
📘
Largest Index Plus One
Indexed Array | Automatic Index | PHP
📘
Merge Nested Arrays
Array Functions | array_merge_recursive | PHP
📘
Sort Values User Keep Keys
Sorting Functions | uasort | PHP
📘
Keys and Values to Array
Array Functions | array_combine | PHP
📘
Sort Keys User Function
Sorting Functions | uksort | PHP
📘
Get All Keys
Array Functions | array_keys | PHP
📘
Natural Order Sort
Sorting Functions | natsort | PHP
📘
Case Insensitive Natural Sort
Sorting Functions | natcasesort | PHP
📘
Get All Values
Array Functions | array_values | PHP
📘
Check Key Exists
Array Functions | array_key_exists | PHP
📘
Check Value Exists
Array Functions | in_array | PHP
📘
Search Value Return Key
Array Functions | array_search | PHP
📘
Reverse Array Order
Array Functions | array_reverse | PHP
📘
Extract Portion of Array
Array Functions | array_slice | PHP
📘
Remove Replace Portion
Array Functions | array_splice | PHP
📘
Remove Duplicate Values
Array Functions | array_unique | PHP
📘
Apply Function to Elements
Array Functions | array_map | PHP
📘
Filter Elements by Callback
Array Functions | array_filter | PHP
📘
Reduce to Single Value
Array Functions | array_reduce | PHP
📘
Sum of Values
Array Functions | array_sum | PHP
📘
Product of Values
Array Functions | array_product | PHP
📘
Random Key from Array
Array Functions | array_rand | PHP
📘
Randomize Array Order
Array Functions | shuffle | PHP
📘
Create Array of Range
Array Functions | range | PHP
📘
Fill Array with Values
Array Functions | array_fill | PHP
📘
Fill with Keys
Array Functions | array_fill_keys | PHP
📘
Pad Array to Size
Array Functions | array_pad | PHP
📘
Split into Chunks
Array Functions | array_chunk | PHP