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 empty function c++?
What does pear stand for?
Describe which programming language does php parallel to?
How does cookies work in php?
Which function is used to strip whitespace?
what is session_set_save_handler in PHP?
How to create a public static method in PHP?
How to invoke a user function?
What is static in php?
Tell me which programming language does php resemble to?
What is the use of inner join in mysql?
Which function is used to read a file removing the html and php tags in it upwork?
Does jwt protect against csrf?
What is use of echo in php?
What do you mean by having php as whitespace insensitive?