Warning: session_start(): open(/kunden/homepages/18/d179646520/htdocs/PHPFUIWebsite/www/../session/sess_5b3e850cb60771c234b370e13e6a87ff, O_RDWR) failed: Disk quota exceeded (122) in /homepages/18/d179646520/htdocs/PHPFUIWebsite/NoNameSpace/SessionManager.php on line 36

Warning: session_start(): Failed to read session data: files (path: /kunden/homepages/18/d179646520/htdocs/PHPFUIWebsite/www/../session) in /homepages/18/d179646520/htdocs/PHPFUIWebsite/NoNameSpace/SessionManager.php on line 36
PHPFUI/InstaDoc

Provides basic array helper methods.

Trait
Methods
private arrayFilterRemoveNull(array $arr)
 

Just like array_filter(), but preserves falsey values except null.

  • return array
private arrayMergeRecursive(array $array1, array $array2)
 

A method, similar to PHP's array_merge_recursive, with two differences.

  1. Keys in $array2 take precedence over keys in $array1.
  2. Non-array keys found in both inputs are not transformed into an array
    and appended. Rather, the value in $array2 is used.
  • return array
private isAssoc(array $arr)
 

Determine whether given array is associative.

  • return bool
private pluck( $key, array $arr, $isRequired = true)
 

Pluck a value out of an array.

  • return mixed
  • throws InvalidArgumentException
private pluckArray(array $keys, $arr)
 

Pluck a subset of an array.

  • return array
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only