- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Access a property on a list of objects. Short for "property pull", this function works just like @{function:mpull}, except that it accesses object properties instead of methods. This function simplifies a common type of mapping operation:
- Function
- Call a method on a list of objects. Short for "method pull", this function works just like @{function:ipull}, except that it operates on a list of objects instead of a list of arrays. This function simplifies a common type of mapping operation:
- Function
- Access a sequence of array indexes, retrieving a deeply nested value if it exists or a default if it does not.
- Function
- Access an array index, retrieving the value stored there if it exists or a default if it does not. This function allows you to concisely access an index which may or may not exist without raising a warning.
- Function
- Identity function, returns its argument unmodified.
- Function
- Array-like object with a default value that is populated when nonexistent keys are accessed. This is particularly useful to avoid constructs like this:
- Class
- Method
- Method
- Method
- Compute edit distance between two scalar sequences. This class uses Levenshtein (or Damerau-Levenshtein) to compute the edit distance between two inputs. The inputs are arrays containing any scalars (not just strings) so it can be used with, e.g., utf8 sequences.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Return a string representing the edits between the sequences. The string has these characters:
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Parser and renderer for ".cow" files used by the `cowsay` program.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Abstract base class for implementing objects that behave like arrays. This class wraps a basic array and provides trivial implementations for `Countable`, `ArrayAccess` and `Iterator`, so subclasses need only implement specializations.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- A case-insensitive associative array.
- Class
- Transform an array key.
- Method
- Method
- Method
- Method
- Method
- Method
- Construct a new array object.
- Method
- Example implementation and test case for @{class:PhutilBufferedIterator}.
- Class
- Method
- Method
- Method
- Method
- Interact with the operating system.
- Class
- Parse the output of `vm_stat`.
- Method
- Parse the output of `/proc/meminfo`.
- Method
- Get information about total and free memory on the system.
- Method
- NOTE: This class has the same purpose as `CallbackFilterIterator` in PHP 5.4.
- Class
- Method
- Method
- Compute the phase of the terran moon for a given epoch.
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Test cases for functions in utils.php.
- Class
- Method
- Method