Override defaults with options (PHP associative arrays)

/ Published in: PHP
Save to your folder(s)

Take an associative array of options and their default settings. Remove entries of options that do not exist in the default options. Return a safely filtered and overridden array of options.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.