Function truncate_array
Truncate an array to a specified length
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
array |
$array |
The array to truncate |
integer |
$max_length = 1900 |
The upperbound on the length |
integer |
$deep = 3 |
How levels in an multidimensional array should the function take into account. |
array
|
The truncated array |