Voting

: one plus eight?
(Example: nine)

The Note You're Voting On

Hayley Watson
17 years ago
An alternative to RQuadling at GMail dot com's array_remove() function:

<?php
function array_remove(array $array, $value, $strict=false)
{
return
array_diff_key($array, array_flip(array_keys($array, $value, $strict)));
}
?>

<< Back to user notes page

To Top