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
How does php serialize work?
What changes I have to do in php.ini file for file uploading?
Why should I store logs in a database rather than a file?
What is alias in php?
What is session data?
When a conditional statement is ended with an endif?
Is facebook still written in php?
Is key exist in array php?
What are the uses of php language?
What is the difference between null and empty?
Tell me what is the use of "enctype" attribute in a html form?
Tell me what is the actually used php version?
Explain me what is the use of 'print' in php?
What are the uses of explode() and implode() functions?
Tell me what are magic methods?