Skip to content

Conversation

@kpitn
Copy link

@kpitn kpitn commented Apr 23, 2014

You can use this syntax to reject a key/value from an associative array.

__::reject($params, function($k,$v) { return in_array($k,array("test")); });

You can use this syntax to reject a key/value from an associative array.

__::reject($params, function($k,$v) { return in_array($k,array("test")); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant