Source Code:
(back to article)
<?php $arr = [1, 2, 3]; array_splice($arr, 1, 1); var_dump($arr); // RESULT: array(0 => 1, 1 => 3) ?>
Result:
Report an issue