From 360347ba37a992d42f0c5b740f708441f1c609aa Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 18 Jun 2017 15:46:22 +0200 Subject: [PATCH] Created array_remove_value function --- functions/arrays.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 functions/arrays.php diff --git a/functions/arrays.php b/functions/arrays.php new file mode 100644 index 0000000..dddf129 --- /dev/null +++ b/functions/arrays.php @@ -0,0 +1,25 @@ +$item){ + if($item === $value) + unset($array[$key]); + } + + //Success + return true; +} \ No newline at end of file