I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / phani
$output = array_splice($input, 0, 5));
print_r($output);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what are the different errors in php?
How does csrf token work?
What is a controller in programming?
Does php support multiple inheritances?
Explain me what is the use of header() function in php?
Where are the persistent cookies stored on your computer?
What is faster in php?
What is difference between sql and php?
What new features php7 has in store for us?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
How can we determine whether a php variable is an instantiated object of a certain class?
Tell me how is it possible to remove escape characters from a string?
Hi this is amul jani here, i complied my graduation in B.com stream.. but as career i looking for PHP language.. to get shape my career. so is that possible to enter in IT world.. for me how much scope of develop my career in this field.. amul jani
Does php support function overloading?
Is uploaded file php?