I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / vipul dalwala
Hi Yukti,
You can also use array_slice but array_splice is also not
the wronng one.
array_splice function can take four arguments if you omit
the fourth argument which is for replacement array this
function will serve the same purpose as array_slice.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Does csrf token change?
What is a null coalescing operator in php7?
Tell me what does pear stands for?
Does php have multiple inheritance?
Why do we use htaccess
Is laravel better than codeigniter?
What are the special characters you need to escape in double-quoted stings?
Can I write php code in html file?
Which are the best start and end tags to use?
What are the different types of PHP arrays?
Is facebook still in php?
Write a query to find the 2nd highest salary of an employee from the employee table?
What is the difference between query and question?
How we can retrieve the data in the result set of mysql using php?
Which is used to maintain the value of a variable over different pages?