-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Reference
Sunil Kushwaha edited this page Aug 21, 2015
·
24 revisions
Below is the quick reference for all function this library has.
str.htmlspecialchars() // Convert special characters to HTML entities
arr.unique() // Get unique elements from one dimensional array
arr.has_duplicates() // Returns True/False if array has duplicate element
arr.has_duplicates_assoc('phone') // Returns True/False if associative array has duplicate element based on key provided
arr.duplicates() // Returns object containing duplicate elements with their occurrences
arr.duplicates_assoc('phone') // Returns object same as above but for associative array