Created
November 1, 2019 13:38
-
-
Save heylastway/f870a0211c670c015bec72ffcf88914a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$array = [0 => "a", 1 => "b", 2 => "c"]; | |
\unset($array[1]); | |
//↑ Key which you want to delete | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment