Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

unset in php array key pair value

<?php
$array = array('a','b','c','d','e');
unset($array[4]);
print_r($array);
?>
Array
(
    [0] => a
    [1] => b
    [2] => c
    [3] => d
)  
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #unset #php #array #key #pair
ADD COMMENT
Topic
Name
6+1 =