I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / pankaj
NO Dear vipul Both have great diff. array_slice and
array_splice first one remove from start and return
remaining while second one will have value in array not
remaining.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between print_r and echo in php?
Does php support inheritance?
What is var_dump function in php?
What is the difference between explode() and split() functions?
How can we change the maximum size of the files to be uploaded?
What is difference between readonly and constant?
What is inheritance in php?
How to convert one date format into another in php?
Is server side a session?
Where do we use get and post?
for image work which library?
What do the initials of php stand for?
What is php namespace?
How do we get the current session id?
Tell me which function gives us the number of affected entries by a query?