I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / yukti vig
thats should be array_slice
array_splice is used remove a portion of the array and
replace it with something else
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the use of isset() in php?
What software is required for php?
What is the importance of "action" attribute in a html form?
Does php need a closing tag?
How do you compare strings in java?
What is difference between strstr() and stristr()?
What is helper function?
where do we use htaccess?
What is get and post method in php?
How to get useful error messages in php?
What is a php trait?
What is the method to execute a php script from the command line?
What is the function file_get_contents() usefull for?
What are the benefits of composer?
What is reference variable php?