Blog
PHP Snippet – array_filter_keys()
While working on YourJS.com I was trying to figure out a quick way to use extract() to only convert some of the $_REQUEST values to variables in the symbol table. Then I realized I could use this: Using this will give you a new array with only the specified keys: Read more…