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
Is time a dependent variable?
What is the php function that removes the last element of the array and returns it?
What are the encryption functions in php?
Is php case sensitive?
What is the expansion of LAMP?
What are php magic methods?
What is fetch array in php?
How arrays are passed through arguments?
What are the functions used in php?
How many keywords are there in php?
Is php still used?
What is polymorphism in oop php?
How many php functions are there?
Why use static methods php?
How do we get the current session id?