Showing posts with label php array_splice. Show all posts
Showing posts with label php array_splice. Show all posts

difference between array_slice() and array_splice() in php

difference between array_slice() and  array_splice() in php


array_slice returns selected parts of an array but,array_splice removes selected elements from an array and replaces it with new elements.