I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / phani
$output = array_splice($input, 0, 5));
print_r($output);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does the unset() function mean?
What is rest api in php?
What is empty php?
Which php framework is best for beginners?
What is the difference between null and empty?
Explain Constant in Class?
How does csrf attack work?
How do you end a session in php?
Can I use node js with php?
What is mysqli_fetch_array?
How do you define a constant?
What is php's mysqli extension?
What software is required for php?
What is full form of php? Who is the father or inventor of php?
What are traits?