I have 10 elements of Array, how can i remove 5 array
element, with single function.
Answer Posted / yukti vig
thats should be array_slice
array_splice is used remove a portion of the array and
replace it with something else
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is php still relevant 2019?
Is php front end or back end?
Do you know what is the differences between $a != $B and $a !== $B?
Why php language is used?
What will the ?getdate() function returns in PHP?
How to upload file in php?
What is the php function that removes the first element of the array and returns it?
Is php 7 backwards compatible?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
Is it possible to extend the execution time of a php script?
What are regular expressions in programming?
What is the use of isset() in php?
Tell me what library is used for pdf in php?
my english is not too good then what we apply for a php programer post
How can we display the output directly to the browser?