Question:Difference between array_merge() and array_slice()?

 

Answer 
Array_merge():
The array_merge() function merges arrays together, returning a single, unified array.

Array_slice(): The array_slice() function returns a section of an array based on a starting and ending offset value. 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 799
Difference between array_merge() and array_slice()?

Copyright © 2024. Powered by Intellect Software Ltd