elephox/oor

Elephox Object-Oriented Revolution library.

v0.7.0 2022-05-15 20:02 UTC

README

Object-Oriented Revolution

This library provides wrappers for strings and arrays that allow you to work with them in an object-oriented way.

Array Functions

  • array_change_key_case
  • array_chunk
  • array_column
  • array_combine
  • array_count_values
  • array_diff_assoc
  • array_diff_key
  • array_diff_uassoc
  • array_diff_ukey
  • array_diff
  • array_fill_keys
  • array_fill
  • array_filter
  • array_flip
  • array_intersect_assoc
  • array_intersect_key
  • array_intersect_uassoc
  • array_intersect_ukey
  • array_intersect
  • array_is_list
  • array_key_exists
  • array_key_first
  • array_key_last
  • array_keys
  • array_map
  • array_merge_recursive
  • array_merge
  • array_multisort
  • array_pad
  • array_pop
  • array_product
  • array_push
  • array_rand
  • array_reduce
  • array_replace_recursive
  • array_replace
  • array_reverse
  • array_search
  • array_shift
  • array_slice
  • array_splice
  • array_sum
  • array_udiff_assoc
  • array_udiff_uassoc
  • array_udiff
  • array_uintersect_assoc
  • array_uintersect_uassoc
  • array_uintersect
  • array_unique
  • array_unshift
  • array_values
  • array_walk_recursive
  • array_walk
  • arsort
  • asort
  • compact
  • count
  • current
  • end
  • extract
  • in_array
  • key_exists
  • key
  • krsort
  • ksort
  • natcasesort
  • natsort
  • next
  • pos
  • prev
  • range
  • reset
  • rsort
  • shuffle
  • sizeof
  • sort
  • uasort
  • uksort
  • usort
  • implode

String functions

  • addcslashes
  • addslashes
  • bin2hex
  • chop
  • chr
  • chunk_split
  • convert_uudecode
  • convert_uuencode
  • count_chars
  • crc32
  • crypt
  • echo
  • explode
  • fprintf
  • get_html_translation_table
  • hebrev
  • hex2bin
  • html_entity_decode
  • htmlentities
  • htmlspecialchars_decode
  • htmlspecialchars
  • implode
  • join
  • lcfirst
  • levenshtein
  • localeconv
  • ltrim
  • md5_file
  • md5
  • metaphone
  • money_format
  • nl_langinfo
  • nl2br
  • number_format
  • ord
  • parse_str
  • print
  • printf
  • quoted_printable_decode
  • quoted_printable_encode
  • quotemeta
  • rtrim
  • setlocale
  • sha1_file
  • sha1
  • similar_text
  • soundex
  • sprintf
  • sscanf
  • str_contains
  • str_ends_with
  • str_getcsv
  • str_ireplace
  • str_pad
  • str_repeat
  • str_replace
  • str_rot13
  • str_shuffle
  • str_split
  • str_starts_with
  • str_word_count
  • strcasecmp
  • strchr
  • strcmp
  • strcoll
  • strcspn
  • strip_tags
  • stripcslashes
  • stripos
  • stripslashes
  • stristr
  • strlen
  • strnatcasecmp
  • strnatcmp
  • strncasecmp
  • strncmp
  • strpbrk
  • strpos
  • strrchr
  • strrev
  • strripos
  • strrpos
  • strspn
  • strstr
  • strtok
  • strtolower
  • strtoupper
  • strtr
  • substr_compare
  • substr_count
  • substr_replace
  • substr
  • trim
  • ucfirst
  • ucwords
  • vfprintf
  • vprintf
  • vsprintf
  • wordwrap

Regular Expression functions

  • preg_filter
  • preg_grep
  • preg_last_error_msg
  • preg_last_error
  • preg_match_all
  • preg_match
  • preg_quote
  • preg_replace_callback_array
  • preg_replace_callback
  • preg_replace
  • preg_split